no message

This commit is contained in:
stefanp 2002-03-07 13:54:06 +00:00
parent 393a30e083
commit d165ce1c28

View file

@ -29,7 +29,7 @@ public class DocTag {
StringTokenizer tok = new StringTokenizer(rawTag);
String kindstr = tok.nextToken().toLowerCase();
for ( int i=0; i<kindNames.length; i++ ) {
if ( kindstr.equals(kindNames[i]) ) {
if ( kindstr.startsWith(kindNames[i]) ) {
kind = i;
break;
}
@ -50,9 +50,10 @@ public class DocTag {
public String getText() { return (text!=null && !text.equals("null"))?text:""; }
public String toString() {
return ( (name!=null)?name+" ":"" ) + text;
return "[" + ((name!=null)?name+" ":"" ) + text + "]";
}
}