You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by dk...@apache.org on 2021/07/04 00:42:23 UTC

[sling-whiteboard] branch master updated: Removing unneeded constant and adding the thumbnails library to the sonar checks

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

dklco pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-whiteboard.git


The following commit(s) were added to refs/heads/master by this push:
     new d808ea2  Removing unneeded constant and adding the thumbnails library to the sonar checks
d808ea2 is described below

commit d808ea2d52820edc901c169e5d002d269a7b272f
Author: Dan Klco <kl...@adobe.com>
AuthorDate: Sat Jul 3 20:42:12 2021 -0400

    Removing unneeded constant and adding the thumbnails library to the sonar checks
---
 .../commons/thumbnails/internal/transformers/TransparencyHandler.java    | 1 -
 pom.xml                                                                  | 1 +
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/org.apache.sling.commons.thumbnail/src/main/java/org/apache/sling/commons/thumbnails/internal/transformers/TransparencyHandler.java b/org.apache.sling.commons.thumbnail/src/main/java/org/apache/sling/commons/thumbnails/internal/transformers/TransparencyHandler.java
index 8058bd1..ee85c42 100644
--- a/org.apache.sling.commons.thumbnail/src/main/java/org/apache/sling/commons/thumbnails/internal/transformers/TransparencyHandler.java
+++ b/org.apache.sling.commons.thumbnail/src/main/java/org/apache/sling/commons/thumbnails/internal/transformers/TransparencyHandler.java
@@ -37,7 +37,6 @@ import net.coobird.thumbnailator.filters.Transparency;
 public class TransparencyHandler implements TransformationHandler {
 
     public static final String RESOURCE_TYPE = "sling/commons/thumbnails/transformers/transparency";
-    public static final String PN_BOTH = "both";
 
     @Override
     public String getResourceType() {
diff --git a/pom.xml b/pom.xml
index f3ed940..57b820c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -50,6 +50,7 @@
           <module>hc-resource</module>
           <module>instance-stopper</module>
           <module>org.apache.sling.ddr</module>
+          <module>org.apache.sling.commons.thumbnail</module>
   </modules>
 
 </project>