no message
This commit is contained in:
parent
393a30e083
commit
d165ce1c28
1 changed files with 3 additions and 2 deletions
|
@ -29,7 +29,7 @@ public class DocTag {
|
||||||
StringTokenizer tok = new StringTokenizer(rawTag);
|
StringTokenizer tok = new StringTokenizer(rawTag);
|
||||||
String kindstr = tok.nextToken().toLowerCase();
|
String kindstr = tok.nextToken().toLowerCase();
|
||||||
for ( int i=0; i<kindNames.length; i++ ) {
|
for ( int i=0; i<kindNames.length; i++ ) {
|
||||||
if ( kindstr.equals(kindNames[i]) ) {
|
if ( kindstr.startsWith(kindNames[i]) ) {
|
||||||
kind = i;
|
kind = i;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -50,9 +50,10 @@ public class DocTag {
|
||||||
public String getText() { return (text!=null && !text.equals("null"))?text:""; }
|
public String getText() { return (text!=null && !text.equals("null"))?text:""; }
|
||||||
|
|
||||||
public String toString() {
|
public String toString() {
|
||||||
return ( (name!=null)?name+" ":"" ) + text;
|
return "[" + ((name!=null)?name+" ":"" ) + text + "]";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue