Skip to content

Commit 04e2361

Browse files
committed
Clean-up
1 parent 17a7f50 commit 04e2361

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

Lines changed: 1 addition & 10 deletions
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 0 deletions
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 1 addition & 1 deletion
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

Lines changed: 4 additions & 4 deletions
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

Lines changed: 14 additions & 14 deletions
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

Lines changed: 2 additions & 2 deletions
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

Lines changed: 3 additions & 3 deletions
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

Lines changed: 3 additions & 3 deletions
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
}

0 commit comments

Comments
 (0)