You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ra...@apache.org on 2019/01/25 12:04:16 UTC

[sling-org-apache-sling-xss] branch issue/SLING-8235 updated: SLING-8235 - Stop copying the AntiSamy configuration to the repository

This is an automated email from the ASF dual-hosted git repository.

radu pushed a commit to branch issue/SLING-8235
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-xss.git


The following commit(s) were added to refs/heads/issue/SLING-8235 by this push:
     new 2ece136  SLING-8235 - Stop copying the AntiSamy configuration to the repository
2ece136 is described below

commit 2ece13650f5edbde738ab8fe9ebbaf47b0435101
Author: Radu Cotescu <ra...@apache.org>
AuthorDate: Fri Jan 25 13:03:57 2019 +0100

    SLING-8235 - Stop copying the AntiSamy configuration to the repository
    
    * removed unused imports
---
 src/test/java/org/apache/sling/xss/impl/XSSFilterImplTest.java | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/test/java/org/apache/sling/xss/impl/XSSFilterImplTest.java b/src/test/java/org/apache/sling/xss/impl/XSSFilterImplTest.java
index acf2e23..f1f26e9 100644
--- a/src/test/java/org/apache/sling/xss/impl/XSSFilterImplTest.java
+++ b/src/test/java/org/apache/sling/xss/impl/XSSFilterImplTest.java
@@ -18,17 +18,16 @@
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~*/
 package org.apache.sling.xss.impl;
 
-import org.apache.sling.api.resource.PersistenceException;
-import org.apache.sling.api.resource.Resource;
 import org.apache.sling.serviceusermapping.ServiceUserMapped;
 import org.apache.sling.testing.mock.sling.junit.SlingContext;
 import org.apache.sling.xss.XSSFilter;
 import org.junit.After;
-import org.junit.Before;
 import org.junit.Rule;
 import org.junit.Test;
 
-import static org.junit.Assert.*;
+import static org.junit.Assert.assertEquals;
+import static org.junit.Assert.assertFalse;
+import static org.junit.Assert.assertTrue;
 import static org.mockito.Mockito.mock;
 
 public class XSSFilterImplTest {