ICU-2103 handle @serial tag

X-SVN-Rev: 10436
This commit is contained in:
Doug Felt 2002-12-03 18:46:33 +00:00
parent b91b2724ec
commit 0438cf28e8

View File

@ -180,7 +180,7 @@ public class CheckTags {
static final String[] tagKinds = { static final String[] tagKinds = {
"@internal", "@draft", "@stable", "@since", "@deprecated", "@author", "@see", "@version", "@internal", "@draft", "@stable", "@since", "@deprecated", "@author", "@see", "@version",
"@param", "@return", "@throws", "@obsolete", "@exception" "@param", "@return", "@throws", "@obsolete", "@exception", "@serial"
}; };
static final int UNKNOWN = -1; static final int UNKNOWN = -1;
@ -197,6 +197,7 @@ public class CheckTags {
static final int THROWS = 10; static final int THROWS = 10;
static final int OBSOLETE = 11; static final int OBSOLETE = 11;
static final int EXCEPTION = 12; static final int EXCEPTION = 12;
static final int SERIAL = 13;
static int tagKindIndex(String kind) { static int tagKindIndex(String kind) {
for (int i = 0; i < tagKinds.length; ++i) { for (int i = 0; i < tagKinds.length; ++i) {
@ -324,6 +325,7 @@ public class CheckTags {
case PARAM: case PARAM:
case RETURN: case RETURN:
case THROWS: case THROWS:
case SERIAL:
break; break;
case VERSION: case VERSION: