nifi-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pvill...@apache.org
Subject nifi git commit: NIFI-2906 removed unused memebr variables
Date Mon, 17 Oct 2016 20:32:39 GMT
Repository: nifi
Updated Branches:
  refs/heads/master 596b98865 -> c883f98cb


NIFI-2906 removed unused memebr variables

This closes #1144.


Project: http://git-wip-us.apache.org/repos/asf/nifi/repo
Commit: http://git-wip-us.apache.org/repos/asf/nifi/commit/c883f98c
Tree: http://git-wip-us.apache.org/repos/asf/nifi/tree/c883f98c
Diff: http://git-wip-us.apache.org/repos/asf/nifi/diff/c883f98c

Branch: refs/heads/master
Commit: c883f98cbf803e5d8982a2a811c3ca46c5c249ca
Parents: 596b988
Author: Oleg Zhurakousky <oleg@suitcase.io>
Authored: Mon Oct 17 11:54:58 2016 -0400
Committer: Pierre Villard <pierre.villard.fr@gmail.com>
Committed: Mon Oct 17 22:32:23 2016 +0200

----------------------------------------------------------------------
 .../main/java/org/apache/nifi/processors/standard/ReplaceText.java | 2 --
 1 file changed, 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/nifi/blob/c883f98c/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/ReplaceText.java
----------------------------------------------------------------------
diff --git a/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/ReplaceText.java
b/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/ReplaceText.java
index 9b20ec6..59721f0 100644
--- a/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/ReplaceText.java
+++ b/nifi-nar-bundles/nifi-standard-bundle/nifi-standard-processors/src/main/java/org/apache/nifi/processors/standard/ReplaceText.java
@@ -210,8 +210,6 @@ public class ReplaceText extends AbstractProcessor {
 
         final ComponentLog logger = getLogger();
 
-        final String unsubstitutedRegex = context.getProperty(SEARCH_VALUE).getValue();
-        String unsubstitutedReplacement = context.getProperty(REPLACEMENT_VALUE).getValue();
         final String replacementStrategy = context.getProperty(REPLACEMENT_STRATEGY).getValue();
 
         final Charset charset = Charset.forName(context.getProperty(CHARACTER_SET).getValue());


Mime
View raw message