You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/11/07 09:57:30 UTC

[sling-org-apache-sling-pipes] 14/19: SLING-6997 remove useless resourceExpression

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

rombert pushed a commit to annotated tag org.apache.sling.pipes-1.0.0
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-pipes.git

commit 366ae3997639125a474c70fdad33e6a617f42bae
Author: Nicolas Peltier <np...@apache.org>
AuthorDate: Tue Jul 4 15:21:03 2017 +0000

    SLING-6997 remove useless resourceExpression
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/sling-pipes@1800800 13f79535-47bb-0310-9956-ffa450edef68
---
 src/main/java/org/apache/sling/pipes/internal/WritePipe.java | 2 --
 1 file changed, 2 deletions(-)

diff --git a/src/main/java/org/apache/sling/pipes/internal/WritePipe.java b/src/main/java/org/apache/sling/pipes/internal/WritePipe.java
index cee482d..eb8b964 100644
--- a/src/main/java/org/apache/sling/pipes/internal/WritePipe.java
+++ b/src/main/java/org/apache/sling/pipes/internal/WritePipe.java
@@ -45,7 +45,6 @@ public class WritePipe extends BasePipe {
     private static final Logger logger = LoggerFactory.getLogger(WritePipe.class);
     public static final String RESOURCE_TYPE = "slingPipes/write";
     Node confTree;
-    String resourceExpression;
     private List<Resource> propertiesToRemove;
     Pattern addPatch = Pattern.compile("\\+\\[(.*)\\]");
     Pattern multi = Pattern.compile("\\[(.*)\\]");
@@ -62,7 +61,6 @@ public class WritePipe extends BasePipe {
             throw new Exception("write pipe is misconfigured: it should have a configuration node");
         }
         confTree = getConfiguration().adaptTo(Node.class);
-        resourceExpression = getPath();
     }
 
 

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.