From 046531fc7574c5516e3af9d3b900cff22c04ffb5 Mon Sep 17 00:00:00 2001 From: Johnny Lim Date: Wed, 27 Feb 2019 21:35:43 +0900 Subject: [PATCH] Polish Closes gh-22482 --- .../org/springframework/context/index/processor/TypeHelper.java | 2 +- .../context/index/sample/cdi/SampleTransactional.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/spring-context-indexer/src/main/java/org/springframework/context/index/processor/TypeHelper.java b/spring-context-indexer/src/main/java/org/springframework/context/index/processor/TypeHelper.java index 78ef1bc6aeb..de1b4254e4b 100644 --- a/spring-context-indexer/src/main/java/org/springframework/context/index/processor/TypeHelper.java +++ b/spring-context-indexer/src/main/java/org/springframework/context/index/processor/TypeHelper.java @@ -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(); } } diff --git a/spring-context-indexer/src/test/java/org/springframework/context/index/sample/cdi/SampleTransactional.java b/spring-context-indexer/src/test/java/org/springframework/context/index/sample/cdi/SampleTransactional.java index e318cd9a753..51d9e74d1b9 100644 --- a/spring-context-indexer/src/test/java/org/springframework/context/index/sample/cdi/SampleTransactional.java +++ b/spring-context-indexer/src/test/java/org/springframework/context/index/sample/cdi/SampleTransactional.java @@ -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