-1 because this will modify the public API defined by the specification classes which will cause the signature tests to fail. These constants must be moved elsewhere.

I can't confirm this because openejb no longer builds with rebuild-all (as it depends on the older rc4 version).
--
Jeremy

[EMAIL PROTECTED] wrote:
Modified: 
geronimo/trunk/specs/j2ee-management/src/java/javax/management/j2ee/statistics/Statistic.java
URL: 
http://svn.apache.org/viewcvs/geronimo/trunk/specs/j2ee-management/src/java/javax/management/j2ee/statistics/Statistic.java?rev=278562&r1=278561&r2=278562&view=diff
==============================================================================
--- 
geronimo/trunk/specs/j2ee-management/src/java/javax/management/j2ee/statistics/Statistic.java
 (original)
+++ 
geronimo/trunk/specs/j2ee-management/src/java/javax/management/j2ee/statistics/Statistic.java
 Sat Sep  3 23:23:14 2005
@@ -30,6 +30,14 @@
  * @version $Rev$
  */
 public interface Statistic {
+    // Defined in JSR77.6.4.1.2
+    public final static String UNIT_TIME_HOUR = "HOUR";
+    public final static String UNIT_TIME_MINUTE = "MINUTE";
+    public final static String UNIT_TIME_SECOND = "SECOND";
+    public final static String UNIT_TIME_MILLISECOND = "MILLISECOND";
+    public final static String UNIT_TIME_MICROSECOND = "MICROSECOND";
+    public final static String UNIT_TIME_NANOSECOND = "NANOSECOND";
+
     public String getName();
public String getUnit();



Reply via email to