Index: apichanges.xml =================================================================== RCS file: /cvs/j2eeserver/apichanges.xml,v retrieving revision 1.37 diff -u -r1.37 apichanges.xml --- apichanges.xml 27 Nov 2007 15:47:20 -0000 1.37 +++ apichanges.xml 3 Dec 2007 09:53:06 -0000 @@ -104,11 +104,32 @@ J2EE Module Development API J2EE Server Common API + + J2EE Server Common API + + + + Fixing state constants to be real (final) constants. + + + + + + +

+ State constants used in the profiler API were not constants + in real - they were just public static variables. This change + makes them final. +

+
+ + +
Index: nbproject/project.properties =================================================================== RCS file: /cvs/j2eeserver/nbproject/project.properties,v retrieving revision 1.29 diff -u -r1.29 project.properties --- nbproject/project.properties 27 Nov 2007 15:47:21 -0000 1.29 +++ nbproject/project.properties 3 Dec 2007 09:53:06 -0000 @@ -39,7 +39,7 @@ is.autoload=true javac.source=1.5 -spec.version.base=1.35.0 +spec.version.base=1.36.0 javadoc.overview=${basedir}/api/doc/overview.html javadoc.arch=${basedir}/arch.xml Index: src/org/netbeans/modules/j2ee/deployment/profiler/api/ProfilerSupport.java =================================================================== RCS file: /cvs/j2eeserver/src/org/netbeans/modules/j2ee/deployment/profiler/api/ProfilerSupport.java,v retrieving revision 1.4 diff -u -r1.4 ProfilerSupport.java --- src/org/netbeans/modules/j2ee/deployment/profiler/api/ProfilerSupport.java 4 Oct 2007 07:44:54 -0000 1.4 +++ src/org/netbeans/modules/j2ee/deployment/profiler/api/ProfilerSupport.java 3 Dec 2007 09:53:07 -0000 @@ -54,30 +54,30 @@ /** * The Profiler agent isn't running. */ - public static int STATE_INACTIVE = 0; + public static final int STATE_INACTIVE = 0; /** * The Profiler agent is starting to STATE_BLOCKING or STATE_RUNNING state, * target JVM isn't running. */ - public static int STATE_STARTING = 1; + public static final int STATE_STARTING = 1; /** * The Profiler agent is running and ready for the Profiler to connect, target * JVM is blocked. */ - public static int STATE_BLOCKING = 2; + public static final int STATE_BLOCKING = 2; /** * The Profiler agent is running and ready for the Profiler to connect, target * JVM is running. */ - public static int STATE_RUNNING = 3; + public static final int STATE_RUNNING = 3; /** * The Profiler agent is running and connected to Profiler, target JVM is running. */ - public static int STATE_PROFILING = 4; + public static final int STATE_PROFILING = 4; /** * Returns the current state of a Profiler registered into Lookup.