streams-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mfrank...@apache.org
Subject [2/6] git commit: Fixed incorrect key used to access map
Date Tue, 27 May 2014 00:00:28 GMT
Fixed incorrect key used to access map


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

Branch: refs/heads/master
Commit: 06814204c986af240718e5386b8a9bdaea14d5fa
Parents: a48d1a2
Author: mfranklin <mfranklin@apache.org>
Authored: Mon May 26 11:13:41 2014 -0400
Committer: mfranklin <mfranklin@apache.org>
Committed: Mon May 26 20:00:13 2014 -0400

----------------------------------------------------------------------
 .../java/org/apache/streams/sysomos/provider/SysomosProvider.java  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-streams/blob/06814204/streams-contrib/streams-provider-sysomos/src/main/java/org/apache/streams/sysomos/provider/SysomosProvider.java
----------------------------------------------------------------------
diff --git a/streams-contrib/streams-provider-sysomos/src/main/java/org/apache/streams/sysomos/provider/SysomosProvider.java
b/streams-contrib/streams-provider-sysomos/src/main/java/org/apache/streams/sysomos/provider/SysomosProvider.java
index 683432c..0073ac2 100644
--- a/streams-contrib/streams-provider-sysomos/src/main/java/org/apache/streams/sysomos/provider/SysomosProvider.java
+++ b/streams-contrib/streams-provider-sysomos/src/main/java/org/apache/streams/sysomos/provider/SysomosProvider.java
@@ -236,7 +236,7 @@ public class SysomosProvider implements StreamsProvider {
             this.mode = (Mode)configMode;
         }
         if(configMap.containsKey(STARTING_DOCS_KEY)) {
-            Object configIds = configMap.get(MODE_KEY);
+            Object configIds = configMap.get(STARTING_DOCS_KEY);
             if(!(configIds instanceof Map)) {
                 throw new IllegalStateException("Invalid configuration.  StartingDocs must
be an instance of Map<String,String> but was " + configIds);
             }


Mime
View raw message