diff --git a/pom.xml b/pom.xml
index 0e83572..1049bf1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -38,6 +38,12 @@
pom
import
+
+
+ com.google.guava
+ guava
+ 32.1.2-jre
+
@@ -57,11 +63,6 @@
owasp-java-html-sanitizer
20211018.2
-
- com.google.guava
- guava
- 32.1.2-jre
-
org.slf4j
slf4j-api
diff --git a/src/main/java/no/digipost/sanitizing/internal/ApiHtmlValidatorPolicy.java b/src/main/java/no/digipost/sanitizing/internal/ApiHtmlValidatorPolicy.java
index 4dcc5ba..a6c0422 100644
--- a/src/main/java/no/digipost/sanitizing/internal/ApiHtmlValidatorPolicy.java
+++ b/src/main/java/no/digipost/sanitizing/internal/ApiHtmlValidatorPolicy.java
@@ -15,7 +15,6 @@
*/
package no.digipost.sanitizing.internal;
-import com.google.common.collect.Lists;
import org.owasp.html.AttributePolicy;
import org.owasp.html.CssSchema;
import org.owasp.html.ElementPolicy;
@@ -72,16 +71,14 @@ final class ApiHtmlValidatorPolicy {
static {
HashSet defaultProperties = new HashSet<>(CssSchema.DEFAULT.allowedProperties());
- defaultProperties.addAll(Lists.newArrayList(
- "top"
- , "bottom"
- , "left"
- , "right"
- , "background"
- , "page-break-before"
- , "page-break-after"
- , "page-break-inside"
- ));
+ defaultProperties.add("top");
+ defaultProperties.add("bottom");
+ defaultProperties.add("left");
+ defaultProperties.add("right");
+ defaultProperties.add("background");
+ defaultProperties.add("page-break-before");
+ defaultProperties.add("page-break-after");
+ defaultProperties.add("page-break-inside");
CSS_WHITELIST = Collections.unmodifiableSet(defaultProperties);
final Predicate allowAllValuesPredicate = (value) -> true;