< prev index next >

src/com/sun/javatest/agent/AgentApplet.java

Print this page
rev 152 : 7902253: Remove unnecessary array creation for varargs parameters
7902245: Correct Agent.productVersion
Reviewed-by: jjg

@@ -249,13 +249,13 @@
     /**
      * Returns a string containing information about
      * the author, version and copyright of the applet.
      */
     public String getAppletInfo() {
-        return (Agent.productName + " " +
-                Agent.productVersion + " " +
-                Agent.productCopyright);
+        return (Agent.PRODUCT_NAME + " " +
+                Agent.PRODUCT_VERSION + " " +
+                Agent.PRODUCT_COPYRIGHT);
     }
 
     /**
      * Returns an array of strings describing the
      * parameters that are understood by this
< prev index next >