Skip to content

Commit 7cab424

Browse files
committed
Clean-up
1 parent 3084572 commit 7cab424

File tree

120 files changed

+756
-763
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

120 files changed

+756
-763
lines changed

cssom-api/src/main/java/org/w3c/css/om/CSSRule.java

+1-10
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,3 @@
1-
/*
2-
* Interfaces defined by CSS Typed Object Model draft
3-
* (https://www.w3.org/TR/css-typed-om-1/).
4-
* Copyright © 2018-2023 W3C® (MIT, ERCIM, Keio, Beihang).
5-
* https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document
6-
*/
7-
/*
8-
* SPDX-License-Identifier: W3C-20150513
9-
*/
10-
package org.w3c.css.om;
111
/*
122
* This software extends interfaces defined by CSS Object Model draft
133
* (https://www.w3.org/TR/cssom-1/).
@@ -17,6 +7,7 @@
177
/*
188
* SPDX-License-Identifier: W3C-20150513
199
*/
10+
package org.w3c.css.om;
2011

2112
/**
2213
* A CSS rule.

cssom-api/src/main/java/org/w3c/css/om/typed/CSSNumericValue.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ enum CSSNumericBaseType {
2929
flex,
3030
/** <percentage> */
3131
percent
32-
};
32+
}
3333

3434
/**
3535
* A "map" from types to powers.

cssom-api/src/main/java/org/w3c/css/om/typed/CSSStyleValue.java

+1
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ public interface CSSStyleValue {
1919
*
2020
* @return a parsable representation of this value.
2121
*/
22+
@Override
2223
String toString();
2324

2425
}

svgom-api/src/main/java/org/w3c/dom/svg/GetSVGDocument.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,5 @@
1515
import org.w3c.dom.DOMException;
1616

1717
public interface GetSVGDocument {
18-
public SVGDocument getSVGDocument() throws DOMException;
18+
SVGDocument getSVGDocument() throws DOMException;
1919
}

svgom-api/src/main/java/org/w3c/dom/svg/SVGAElement.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@
1616

1717
public interface SVGAElement extends SVGElement, SVGURIReference, SVGTests, SVGLangSpace, SVGExternalResourcesRequired,
1818
SVGStylable, SVGTransformable, EventTarget {
19-
public SVGAnimatedString getTarget();
19+
SVGAnimatedString getTarget();
2020
}

svgom-api/src/main/java/org/w3c/dom/svg/SVGAltGlyphElement.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,11 @@
1515
import org.w3c.dom.DOMException;
1616

1717
public interface SVGAltGlyphElement extends SVGTextPositioningElement, SVGURIReference {
18-
public String getGlyphRef();
18+
String getGlyphRef();
1919

20-
public void setGlyphRef(String glyphRef) throws DOMException;
20+
void setGlyphRef(String glyphRef) throws DOMException;
2121

22-
public String getFormat();
22+
String getFormat();
2323

24-
public void setFormat(String format) throws DOMException;
24+
void setFormat(String format) throws DOMException;
2525
}

svgom-api/src/main/java/org/w3c/dom/svg/SVGAngle.java

+14-14
Original file line numberDiff line numberDiff line change
@@ -16,27 +16,27 @@
1616

1717
public interface SVGAngle {
1818
// Angle Unit Types
19-
public static final short SVG_ANGLETYPE_UNKNOWN = 0;
20-
public static final short SVG_ANGLETYPE_UNSPECIFIED = 1;
21-
public static final short SVG_ANGLETYPE_DEG = 2;
22-
public static final short SVG_ANGLETYPE_RAD = 3;
23-
public static final short SVG_ANGLETYPE_GRAD = 4;
19+
short SVG_ANGLETYPE_UNKNOWN = 0;
20+
short SVG_ANGLETYPE_UNSPECIFIED = 1;
21+
short SVG_ANGLETYPE_DEG = 2;
22+
short SVG_ANGLETYPE_RAD = 3;
23+
short SVG_ANGLETYPE_GRAD = 4;
2424

25-
public short getUnitType();
25+
short getUnitType();
2626

27-
public float getValue();
27+
float getValue();
2828

29-
public void setValue(float value) throws DOMException;
29+
void setValue(float value) throws DOMException;
3030

31-
public float getValueInSpecifiedUnits();
31+
float getValueInSpecifiedUnits();
3232

33-
public void setValueInSpecifiedUnits(float valueInSpecifiedUnits) throws DOMException;
33+
void setValueInSpecifiedUnits(float valueInSpecifiedUnits) throws DOMException;
3434

35-
public String getValueAsString();
35+
String getValueAsString();
3636

37-
public void setValueAsString(String valueAsString) throws DOMException;
37+
void setValueAsString(String valueAsString) throws DOMException;
3838

39-
public void newValueSpecifiedUnits(short unitType, float valueInSpecifiedUnits);
39+
void newValueSpecifiedUnits(short unitType, float valueInSpecifiedUnits);
4040

41-
public void convertToSpecifiedUnits(short unitType);
41+
void convertToSpecifiedUnits(short unitType);
4242
}

svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedAngle.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
package org.w3c.dom.svg;
1414

1515
public interface SVGAnimatedAngle {
16-
public SVGAngle getBaseVal();
16+
SVGAngle getBaseVal();
1717

18-
public SVGAngle getAnimVal();
18+
SVGAngle getAnimVal();
1919
}

svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedBoolean.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
import org.w3c.dom.DOMException;
1616

1717
public interface SVGAnimatedBoolean {
18-
public boolean getBaseVal();
18+
boolean getBaseVal();
1919

20-
public void setBaseVal(boolean baseVal) throws DOMException;
20+
void setBaseVal(boolean baseVal) throws DOMException;
2121

22-
public boolean getAnimVal();
22+
boolean getAnimVal();
2323
}

svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedEnumeration.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
import org.w3c.dom.DOMException;
1616

1717
public interface SVGAnimatedEnumeration {
18-
public short getBaseVal();
18+
short getBaseVal();
1919

20-
public void setBaseVal(short baseVal) throws DOMException;
20+
void setBaseVal(short baseVal) throws DOMException;
2121

22-
public short getAnimVal();
22+
short getAnimVal();
2323
}

svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedInteger.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
import org.w3c.dom.DOMException;
1616

1717
public interface SVGAnimatedInteger {
18-
public int getBaseVal();
18+
int getBaseVal();
1919

20-
public void setBaseVal(int baseVal) throws DOMException;
20+
void setBaseVal(int baseVal) throws DOMException;
2121

22-
public int getAnimVal();
22+
int getAnimVal();
2323
}

svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedLength.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
package org.w3c.dom.svg;
1414

1515
public interface SVGAnimatedLength {
16-
public SVGLength getBaseVal();
16+
SVGLength getBaseVal();
1717

18-
public SVGLength getAnimVal();
18+
SVGLength getAnimVal();
1919
}

svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedLengthList.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
package org.w3c.dom.svg;
1414

1515
public interface SVGAnimatedLengthList {
16-
public SVGLengthList getBaseVal();
16+
SVGLengthList getBaseVal();
1717

18-
public SVGLengthList getAnimVal();
18+
SVGLengthList getAnimVal();
1919
}

svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedNumber.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
import org.w3c.dom.DOMException;
1616

1717
public interface SVGAnimatedNumber {
18-
public float getBaseVal();
18+
float getBaseVal();
1919

20-
public void setBaseVal(float baseVal) throws DOMException;
20+
void setBaseVal(float baseVal) throws DOMException;
2121

22-
public float getAnimVal();
22+
float getAnimVal();
2323
}

svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedNumberList.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
package org.w3c.dom.svg;
1414

1515
public interface SVGAnimatedNumberList {
16-
public SVGNumberList getBaseVal();
16+
SVGNumberList getBaseVal();
1717

18-
public SVGNumberList getAnimVal();
18+
SVGNumberList getAnimVal();
1919
}

svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedPathData.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ public interface SVGAnimatedPathData {
3131
*
3232
* @return the base contents of the {@code d} attribute.
3333
*/
34-
public SVGPathSegList getPathSegList();
34+
SVGPathSegList getPathSegList();
3535

3636
/**
3737
* Gets the normalized contents of the {@code d} attribute.
@@ -62,7 +62,7 @@ public interface SVGAnimatedPathData {
6262
*
6363
* @return the normalized contents of the {@code d} attribute.
6464
*/
65-
public SVGPathSegList getNormalizedPathSegList();
65+
SVGPathSegList getNormalizedPathSegList();
6666

6767
/**
6868
* Gets the current animated contents of the {@code d} attribute.
@@ -77,7 +77,7 @@ public interface SVGAnimatedPathData {
7777
*
7878
* @return the current animated contents of the {@code d} attribute.
7979
*/
80-
public SVGPathSegList getAnimatedPathSegList();
80+
SVGPathSegList getAnimatedPathSegList();
8181

8282
/**
8383
* Gets the normalized current animated contents of the {@code d} attribute.
@@ -100,6 +100,6 @@ public interface SVGAnimatedPathData {
100100
*
101101
* @return the normalized current animated contents of the {@code d} attribute.
102102
*/
103-
public SVGPathSegList getAnimatedNormalizedPathSegList();
103+
SVGPathSegList getAnimatedNormalizedPathSegList();
104104

105105
}

svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedPoints.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
package org.w3c.dom.svg;
1414

1515
public interface SVGAnimatedPoints {
16-
public SVGPointList getPoints();
16+
SVGPointList getPoints();
1717

18-
public SVGPointList getAnimatedPoints();
18+
SVGPointList getAnimatedPoints();
1919
}

svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedPreserveAspectRatio.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
package org.w3c.dom.svg;
1414

1515
public interface SVGAnimatedPreserveAspectRatio {
16-
public SVGPreserveAspectRatio getBaseVal();
16+
SVGPreserveAspectRatio getBaseVal();
1717

18-
public SVGPreserveAspectRatio getAnimVal();
18+
SVGPreserveAspectRatio getAnimVal();
1919
}

svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedRect.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
package org.w3c.dom.svg;
1414

1515
public interface SVGAnimatedRect {
16-
public SVGRect getBaseVal();
16+
SVGRect getBaseVal();
1717

18-
public SVGRect getAnimVal();
18+
SVGRect getAnimVal();
1919
}

svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedString.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
import org.w3c.dom.DOMException;
1616

1717
public interface SVGAnimatedString {
18-
public String getBaseVal();
18+
String getBaseVal();
1919

20-
public void setBaseVal(String baseVal) throws DOMException;
20+
void setBaseVal(String baseVal) throws DOMException;
2121

22-
public String getAnimVal();
22+
String getAnimVal();
2323
}

svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimatedTransformList.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
package org.w3c.dom.svg;
1414

1515
public interface SVGAnimatedTransformList {
16-
public SVGTransformList getBaseVal();
16+
SVGTransformList getBaseVal();
1717

18-
public SVGTransformList getAnimVal();
18+
SVGTransformList getAnimVal();
1919
}

svgom-api/src/main/java/org/w3c/dom/svg/SVGAnimationElement.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -17,11 +17,11 @@
1717

1818
public interface SVGAnimationElement
1919
extends SVGElement, SVGTests, SVGExternalResourcesRequired, ElementTimeControl, EventTarget {
20-
public SVGElement getTargetElement();
20+
SVGElement getTargetElement();
2121

22-
public float getStartTime();
22+
float getStartTime();
2323

24-
public float getCurrentTime();
24+
float getCurrentTime();
2525

26-
public float getSimpleDuration() throws DOMException;
26+
float getSimpleDuration() throws DOMException;
2727
}

svgom-api/src/main/java/org/w3c/dom/svg/SVGCSSRule.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,5 +16,5 @@
1616

1717
public interface SVGCSSRule extends CSSRule {
1818
// Additional CSS RuleType to support ICC color specifications
19-
public static final short COLOR_PROFILE_RULE = 7;
19+
short COLOR_PROFILE_RULE = 7;
2020
}

svgom-api/src/main/java/org/w3c/dom/svg/SVGCircleElement.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616

1717
public interface SVGCircleElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired, SVGStylable,
1818
SVGTransformable, EventTarget {
19-
public SVGAnimatedLength getCx();
19+
SVGAnimatedLength getCx();
2020

21-
public SVGAnimatedLength getCy();
21+
SVGAnimatedLength getCy();
2222

23-
public SVGAnimatedLength getR();
23+
SVGAnimatedLength getR();
2424
}

svgom-api/src/main/java/org/w3c/dom/svg/SVGClipPathElement.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,5 +14,5 @@
1414

1515
public interface SVGClipPathElement extends SVGElement, SVGTests, SVGLangSpace, SVGExternalResourcesRequired,
1616
SVGStylable, SVGTransformable, SVGUnitTypes {
17-
public SVGAnimatedEnumeration getClipPathUnits();
17+
SVGAnimatedEnumeration getClipPathUnits();
1818
}

svgom-api/src/main/java/org/w3c/dom/svg/SVGColorProfileElement.java

+6-6
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@
1515
import org.w3c.dom.DOMException;
1616

1717
public interface SVGColorProfileElement extends SVGElement, SVGURIReference, SVGRenderingIntent {
18-
public String getLocal();
18+
String getLocal();
1919

20-
public void setLocal(String local) throws DOMException;
20+
void setLocal(String local) throws DOMException;
2121

22-
public String getName();
22+
String getName();
2323

24-
public void setName(String name) throws DOMException;
24+
void setName(String name) throws DOMException;
2525

26-
public short getRenderingIntent();
26+
short getRenderingIntent();
2727

28-
public void setRenderingIntent(short renderingIntent) throws DOMException;
28+
void setRenderingIntent(short renderingIntent) throws DOMException;
2929
}

svgom-api/src/main/java/org/w3c/dom/svg/SVGColorProfileRule.java

+6-6
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,15 @@
1515
import org.w3c.dom.DOMException;
1616

1717
public interface SVGColorProfileRule extends SVGCSSRule, SVGRenderingIntent {
18-
public String getSrc();
18+
String getSrc();
1919

20-
public void setSrc(String src) throws DOMException;
20+
void setSrc(String src) throws DOMException;
2121

22-
public String getName();
22+
String getName();
2323

24-
public void setName(String name) throws DOMException;
24+
void setName(String name) throws DOMException;
2525

26-
public short getRenderingIntent();
26+
short getRenderingIntent();
2727

28-
public void setRenderingIntent(short renderingIntent) throws DOMException;
28+
void setRenderingIntent(short renderingIntent) throws DOMException;
2929
}

0 commit comments

Comments
 (0)