You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@brooklyn.apache.org by he...@apache.org on 2014/11/19 14:52:38 UTC

[6/7] incubator-brooklyn git commit: add comment for code review

add comment for code review


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

Branch: refs/heads/master
Commit: 7c149066ff291639b9177d42b3b66d1d15c04e49
Parents: 2331fbc
Author: Alex Heneveld <al...@cloudsoftcorp.com>
Authored: Wed Nov 19 13:51:59 2014 +0000
Committer: Alex Heneveld <al...@cloudsoftcorp.com>
Committed: Wed Nov 19 13:51:59 2014 +0000

----------------------------------------------------------------------
 software/base/src/main/java/brooklyn/entity/java/UsesJmx.java | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-brooklyn/blob/7c149066/software/base/src/main/java/brooklyn/entity/java/UsesJmx.java
----------------------------------------------------------------------
diff --git a/software/base/src/main/java/brooklyn/entity/java/UsesJmx.java b/software/base/src/main/java/brooklyn/entity/java/UsesJmx.java
index 778fe1a..fd47eb3 100644
--- a/software/base/src/main/java/brooklyn/entity/java/UsesJmx.java
+++ b/software/base/src/main/java/brooklyn/entity/java/UsesJmx.java
@@ -45,7 +45,7 @@ public interface UsesJmx extends UsesJava {
     PortAttributeSensorAndConfigKey JMX_PORT = new PortAttributeSensorAndConfigKey(
         "jmx.direct.port", "JMX direct/private port (e.g. JMX RMI server port, or JMXMP port, but not RMI registry port)", PortRanges.fromString("31001+"));
     
-    /** @deprecated since 0.7.0, kept for rebinding, use {@link #JMX_PORT} */ @Deprecated
+    /** @deprecated since 0.7.0, kept for rebinding with the anonymous class; code should only ever use {@link #JMX_PORT} */ @Deprecated
     PortAttributeSensorAndConfigKey JMX_PORT_LEGACY = new PortAttributeSensorAndConfigKey(
             "jmx.direct.port.legacy.NOT_USED", "Legacy definition JMX direct/private port (e.g. JMX RMI server port, or JMXMP port, but not RMI registry port)", PortRanges.fromString("31001+")) {
         private static final long serialVersionUID = 3846846080809179437L;
@@ -185,4 +185,4 @@ public interface UsesJmx extends UsesJava {
      *
      * -XX:+DisableAttachMechanism
      */
-}
\ No newline at end of file
+}