ICU-2103 tried to handle synthetic ctors, but seems broken in 1.4.1
X-SVN-Rev: 10438
This commit is contained in:
parent
03600c82ca
commit
e60468fe3e
@ -254,7 +254,13 @@ public class CheckTags {
|
||||
}
|
||||
|
||||
void doDoc(ProgramElementDoc doc) {
|
||||
if (doc != null && (doc.isPublic() || doc.isProtected())) {
|
||||
if (doc != null && (doc.isPublic() || doc.isProtected())
|
||||
&& !(doc instanceof ConstructorDoc && ((ConstructorDoc)doc).isSynthetic())) {
|
||||
|
||||
// unfortunately, in JDK 1.4.1 MemberDoc.isSynthetic is not properly implemented for
|
||||
// synthetic constructors. So you'll have to live with spurious errors or 'implement'
|
||||
// the synthetic constructors...
|
||||
|
||||
boolean isClass = doc.isClass();
|
||||
String header = "--- " + (isClass ? doc.qualifiedName() : doc.name());
|
||||
if (doc instanceof ExecutableMemberDoc) {
|
||||
|
Loading…
Reference in New Issue
Block a user