Skip to content

Commit 33d319f

Browse files
authored
Fix code formatting lint checks (#217)
1 parent acaf3f2 commit 33d319f

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

src/main/java/org/owasp/html/CssSchema.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,9 @@ Property forKey(String propertyName) {
293293
ImmutableSet<String> mozOutlineLiterals3 = ImmutableSet.of(
294294
"hidden", "inherit", "inset", "invert", "medium", "none");
295295
ImmutableMap<String, String> mozOutlineFunctions =
296-
ImmutableMap.<String, String>of("rgb(", "rgb()", "rgba(", "rgba()","hsl(","hsl()","hsla(","hsla()");
296+
ImmutableMap.<String, String>of(
297+
"rgb(", "rgb()", "rgba(", "rgba()",
298+
"hsl(", "hsl()", "hsla(", "hsla()");
297299
ImmutableSet<String> mozOutlineColorLiterals0 =
298300
ImmutableSet.of("inherit", "invert");
299301
ImmutableSet<String> mozOutlineStyleLiterals0 =
@@ -323,7 +325,8 @@ Property forKey(String propertyName) {
323325
.put("radial-gradient(", "radial-gradient()")
324326
.put("repeating-linear-gradient(", "repeating-linear-gradient()")
325327
.put("repeating-radial-gradient(", "repeating-radial-gradient()")
326-
.put("rgb(", "rgb()").put("rgba(", "rgba()").put("hsl(", "hsl()").put("hsla(","hsla()")
328+
.put("rgb(", "rgb()").put("rgba(", "rgba()")
329+
.put("hsl(", "hsl()").put("hsla(", "hsla()")
327330
.build();
328331
ImmutableSet<String> backgroundAttachmentLiterals0 =
329332
ImmutableSet.of(",", "fixed", "local", "scroll");
@@ -467,8 +470,6 @@ Property forKey(String propertyName) {
467470
ImmutableSet<String> wordWrapLiterals0 = ImmutableSet.of(
468471
"break-word", "normal");
469472
ImmutableSet<String> rgb$FunLiterals0 = ImmutableSet.of(",");
470-
471-
472473
ImmutableSet<String> linearGradient$FunLiterals0 = ImmutableSet.of(
473474
",", "to");
474475
ImmutableSet<String> radialGradient$FunLiterals0 = ImmutableSet.of(
@@ -744,7 +745,7 @@ Property forKey(String propertyName) {
744745
builder.put("zoom", new Property(1, fontStretchLiterals1, zeroFns));
745746
Property rgb$Fun = new Property(1, rgb$FunLiterals0, zeroFns);
746747
builder.put("rgb()", rgb$Fun);
747-
748+
builder.put("rgba()", rgb$Fun);
748749
builder.put("hsl()", rgb$Fun);
749750
builder.put("hsla()", rgb$Fun);
750751
@SuppressWarnings("unchecked")
@@ -840,7 +841,6 @@ Property forKey(String propertyName) {
840841
builder.put("width", margin);
841842
builder.put("word-spacing", letterSpacing);
842843
builder.put("z-index", bottom);
843-
builder.put("rgba()", rgb$Fun);
844844
builder.put("repeating-linear-gradient()", linearGradient$Fun);
845845
builder.put("repeating-radial-gradient()", radialGradient$Fun);
846846
DEFINITIONS = builder.build();

0 commit comments

Comments
 (0)