Closes gh-22482
This commit is contained in:
Johnny Lim 2019-02-27 21:35:43 +09:00 committed by Stephane Nicoll
parent 79f91b4867
commit 046531fc75
2 changed files with 2 additions and 2 deletions

View File

@ -115,7 +115,7 @@ class TypeHelper {
return this.env.getElementUtils().getAllAnnotationMirrors(e); return this.env.getElementUtils().getAllAnnotationMirrors(e);
} }
catch (Exception ex) { catch (Exception ex) {
// This may fail if one of the annotation is not available // This may fail if one of the annotations is not available.
return Collections.emptyList(); return Collections.emptyList();
} }
} }

View File

@ -20,7 +20,7 @@ import javax.transaction.Transactional;
/** /**
* Test candidate for {@link Transactional}. This verifies that the annotation processor * Test candidate for {@link Transactional}. This verifies that the annotation processor
* can process an annotation that declares itself an annotation that is not on the * can process an annotation that declares itself with an annotation that is not on the
* classpath. * classpath.
* *
* @author Vedran Pavic * @author Vedran Pavic