Forgotten patch - portability with java 1.4.
authorFrantišek Dvořák <valtri@civ.zcu.cz>
Mon, 30 Jun 2008 13:14:20 +0000 (13:14 +0000)
committerFrantišek Dvořák <valtri@civ.zcu.cz>
Mon, 30 Jun 2008 13:14:20 +0000 (13:14 +0000)
org.glite.jobid.api-java/src/org/glite/jobid/CheckedString.java
org.glite.jobid.api-java/src/org/glite/jobid/Jobid.java

index e2fa489..df4755c 100644 (file)
@@ -52,7 +52,6 @@ public class CheckedString {
      * 
      * @return converted string
      */
-    @Override
     public String toString() {
         return checkedString;
     }
index fb9a8dd..9343068 100644 (file)
@@ -137,7 +137,7 @@ public class Jobid {
         String uniqueS = jobidString.substring(dashAfterPort+1, jobidString.length());
         
         this.bkserver = bkserverS;
-        this.port = portS;
+        this.port = portS.intValue();
         this.unique = (new CheckedString(uniqueS)).toString();
     }
 
@@ -219,7 +219,6 @@ public class Jobid {
      * 
      * @return Jobid string representation in format bkserver:port/unique
      */
-    @Override
     public String toString() {
         return bkserver + ":" + port + "/" + unique;
     }