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:38 UTC

[sling-org-apache-sling-pipes] 02/05: SLING-7002 fix PipeBuilder properties value

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.2
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-pipes.git

commit 9c203807b6b66887c46d8a367e0cda920d4e63bf
Author: Nicolas Peltier <np...@apache.org>
AuthorDate: Mon Jul 10 17:39:14 2017 +0000

    SLING-7002 fix PipeBuilder properties value
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/contrib/extensions/sling-pipes@1801506 13f79535-47bb-0310-9956-ffa450edef68
---
 src/main/java/org/apache/sling/pipes/PipeBuilder.java              | 2 +-
 src/main/java/org/apache/sling/pipes/internal/PipeBuilderImpl.java | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main/java/org/apache/sling/pipes/PipeBuilder.java b/src/main/java/org/apache/sling/pipes/PipeBuilder.java
index f5aaab9..c8a1b64 100644
--- a/src/main/java/org/apache/sling/pipes/PipeBuilder.java
+++ b/src/main/java/org/apache/sling/pipes/PipeBuilder.java
@@ -121,7 +121,7 @@ public interface PipeBuilder {
      * @return updated instance of PipeBuilder
      * @throws IllegalAccessException in case it's called in a bad time
      */
-    PipeBuilder with(String param, String value) throws IllegalAccessException;
+    PipeBuilder with(String param, Object value) throws IllegalAccessException;
 
     /**
      * set an expr configuration to the current pipe in the context
diff --git a/src/main/java/org/apache/sling/pipes/internal/PipeBuilderImpl.java b/src/main/java/org/apache/sling/pipes/internal/PipeBuilderImpl.java
index 09e8321..d2ac050 100644
--- a/src/main/java/org/apache/sling/pipes/internal/PipeBuilderImpl.java
+++ b/src/main/java/org/apache/sling/pipes/internal/PipeBuilderImpl.java
@@ -138,7 +138,7 @@ public class PipeBuilderImpl implements PipeBuilder {
     }
 
     @Override
-    public PipeBuilder with(String param, String value) throws IllegalAccessException {
+    public PipeBuilder with(String param, Object value) throws IllegalAccessException {
         checkCurrentStep();
         currentStep.properties.put(param, value);
         return this;

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