buildframework/helium/sf/java/antdata/src/com/nokia/helium/ant/data/AntComment.java
branchhelium-9.0
changeset 618 df88fead2976
parent 587 85df38eb4012
equal deleted inserted replaced
587:85df38eb4012 618:df88fead2976
    94             // See if there are any tags to parse
    94             // See if there are any tags to parse
    95             if (tokenizer.countTokens() > 0) {
    95             if (tokenizer.countTokens() > 0) {
    96                 while (tokenizer.hasMoreElements()) {
    96                 while (tokenizer.hasMoreElements()) {
    97                     String tagText = (String) tokenizer.nextElement();
    97                     String tagText = (String) tokenizer.nextElement();
    98                     String[] tagParts = tagText.split("\\s", 2);
    98                     String[] tagParts = tagText.split("\\s", 2);
    99                     tags.put(tagParts[0], tagParts[1].trim());
    99                     if (tagParts.length > 1) {
       
   100                         tags.put(tagParts[0], tagParts[1].trim());
       
   101                     }
   100                 }
   102                 }
   101             }
   103             }
   102         }
   104         }
   103     }
   105     }
   104 
   106