storm-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bo...@apache.org
Subject [10/10] storm git commit: Fixed config annotations
Date Wed, 11 Nov 2015 21:24:15 GMT
Fixed config annotations


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

Branch: refs/heads/master
Commit: 74b0a4f681660d8349e8093900127e07b080da15
Parents: 2c93498
Author: Robert (Bobby) Evans <evans@yahoo-inc.com>
Authored: Wed Nov 11 15:15:03 2015 -0600
Committer: Robert (Bobby) Evans <evans@yahoo-inc.com>
Committed: Wed Nov 11 15:15:03 2015 -0600

----------------------------------------------------------------------
 storm-core/src/jvm/backtype/storm/Config.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/storm/blob/74b0a4f6/storm-core/src/jvm/backtype/storm/Config.java
----------------------------------------------------------------------
diff --git a/storm-core/src/jvm/backtype/storm/Config.java b/storm-core/src/jvm/backtype/storm/Config.java
index 4a4d08d..4cde8ad 100644
--- a/storm-core/src/jvm/backtype/storm/Config.java
+++ b/storm-core/src/jvm/backtype/storm/Config.java
@@ -338,15 +338,15 @@ public class Config extends HashMap<String, Object> {
     /**
      * The directory where storm's health scripts go.
      */
+    @isString
     public static final String STORM_HEALTH_CHECK_DIR = "storm.health.check.dir";
-    public static final Object STORM_HEALTH_CHECK_DIR_SCHEMA = String.class;
 
     /**
      * The time to allow any given healthcheck script to run before it
      * is marked failed due to timeout
      */
+    @isNumber
     public static final String STORM_HEALTH_CHECK_TIMEOUT_MS = "storm.health.check.timeout.ms";
-    public static final Object STORM_HEALTH_CHECK_TIMEOUT_MS_SCHEMA = Number.class;
 
     /**
      * The number of times to retry a Nimbus operation.


Mime
View raw message