handle empty jobid in constructor
authorAleš Křenek <ljocha@ics.muni.cz>
Tue, 2 Jun 2009 09:40:04 +0000 (09:40 +0000)
committerAleš Křenek <ljocha@ics.muni.cz>
Tue, 2 Jun 2009 09:40:04 +0000 (09:40 +0000)
org.glite.jobid.api-java/src/org/glite/jobid/CheckedString.java

index df4755c..da513c5 100644 (file)
@@ -19,7 +19,7 @@ public class CheckedString {
      */
     public CheckedString(String checkedString) {
         if (checkedString == null) {
-            throw new IllegalArgumentException("checkedString is null");
+           this.checkedString = "";
         }
         
         setCheckedString(checkedString);