Merge pull request #22482 from izeye

* pr/22482:
  Polish
This commit is contained in:
Stephane Nicoll 2019-02-27 13:57:24 +01:00
commit 46a39dbf99
2 changed files with 2 additions and 2 deletions

View File

@ -115,7 +115,7 @@ class TypeHelper {
return this.env.getElementUtils().getAllAnnotationMirrors(e);
}
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();
}
}

View File

@ -20,7 +20,7 @@ import javax.transaction.Transactional;
/**
* 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.
*
* @author Vedran Pavic