Skip to content

Commit

Permalink
Fix code formatting lint checks
Browse files Browse the repository at this point in the history
  • Loading branch information
mikesamuel committed Dec 9, 2020
1 parent acaf3f2 commit 061eb01
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/main/java/org/owasp/html/CssSchema.java
Expand Up @@ -293,7 +293,9 @@ Property forKey(String propertyName) {
ImmutableSet<String> mozOutlineLiterals3 = ImmutableSet.of(
"hidden", "inherit", "inset", "invert", "medium", "none");
ImmutableMap<String, String> mozOutlineFunctions =
ImmutableMap.<String, String>of("rgb(", "rgb()", "rgba(", "rgba()","hsl(","hsl()","hsla(","hsla()");
ImmutableMap.<String, String>of(
"rgb(", "rgb()", "rgba(", "rgba()",
"hsl(", "hsl()", "hsla(", "hsla()");
ImmutableSet<String> mozOutlineColorLiterals0 =
ImmutableSet.of("inherit", "invert");
ImmutableSet<String> mozOutlineStyleLiterals0 =
Expand Down Expand Up @@ -323,7 +325,8 @@ Property forKey(String propertyName) {
.put("radial-gradient(", "radial-gradient()")
.put("repeating-linear-gradient(", "repeating-linear-gradient()")
.put("repeating-radial-gradient(", "repeating-radial-gradient()")
.put("rgb(", "rgb()").put("rgba(", "rgba()").put("hsl(", "hsl()").put("hsla(","hsla()")
.put("rgb(", "rgb()").put("rgba(", "rgba()")
.put("hsl(", "hsl()").put("hsla(", "hsla()")
.build();
ImmutableSet<String> backgroundAttachmentLiterals0 =
ImmutableSet.of(",", "fixed", "local", "scroll");
Expand Down Expand Up @@ -467,8 +470,6 @@ Property forKey(String propertyName) {
ImmutableSet<String> wordWrapLiterals0 = ImmutableSet.of(
"break-word", "normal");
ImmutableSet<String> rgb$FunLiterals0 = ImmutableSet.of(",");


ImmutableSet<String> linearGradient$FunLiterals0 = ImmutableSet.of(
",", "to");
ImmutableSet<String> radialGradient$FunLiterals0 = ImmutableSet.of(
Expand Down Expand Up @@ -744,7 +745,7 @@ Property forKey(String propertyName) {
builder.put("zoom", new Property(1, fontStretchLiterals1, zeroFns));
Property rgb$Fun = new Property(1, rgb$FunLiterals0, zeroFns);
builder.put("rgb()", rgb$Fun);

builder.put("rgba()", rgb$Fun);
builder.put("hsl()", rgb$Fun);
builder.put("hsla()", rgb$Fun);
@SuppressWarnings("unchecked")
Expand Down Expand Up @@ -840,7 +841,6 @@ Property forKey(String propertyName) {
builder.put("width", margin);
builder.put("word-spacing", letterSpacing);
builder.put("z-index", bottom);
builder.put("rgba()", rgb$Fun);
builder.put("repeating-linear-gradient()", linearGradient$Fun);
builder.put("repeating-radial-gradient()", radialGradient$Fun);
DEFINITIONS = builder.build();
Expand Down

0 comments on commit 061eb01

Please sign in to comment.