This is an automated email from the ASF dual-hosted git repository.
fpapon pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/shiro.git
The following commit(s) were added to refs/heads/main by this push:
new d6ebb1d20 misc: fix typos in Java code (#2914)
d6ebb1d20 is described below
commit d6ebb1d206fa84f4ac01407b269f73068a3aa825
Author: John Bampton <[email protected]>
AuthorDate: Fri Oct 16 22:28:16 2026 +1000
misc: fix typos in Java code (#2914)
Minor spelling clean up
---
.../test/java/org/apache/shiro/cdi/AnnotatedTypeWrapperTest.java | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git
a/support/cdi/src/test/java/org/apache/shiro/cdi/AnnotatedTypeWrapperTest.java
b/support/cdi/src/test/java/org/apache/shiro/cdi/AnnotatedTypeWrapperTest.java
index d7e827b9d..a5df4210f 100644
---
a/support/cdi/src/test/java/org/apache/shiro/cdi/AnnotatedTypeWrapperTest.java
+++
b/support/cdi/src/test/java/org/apache/shiro/cdi/AnnotatedTypeWrapperTest.java
@@ -97,9 +97,9 @@ class AnnotatedTypeWrapperTest {
@Test
void removeAnnotations() {
initializeStubs();
- Set<Annotation> sessionScopeAnnoationsSet =
Set.of(getAnnotation(SessionScopedAnnotated.class, SessionScoped.class));
- Set<Annotation> requiresGuestAnnoationsSet =
Set.of(getAnnotation(Annotated.class, RequiresGuest.class));
- var wrapper = new AnnotatedTypeWrapper<>(annotatedType, true,
sessionScopeAnnoationsSet, requiresGuestAnnoationsSet);
+ Set<Annotation> sessionScopeAnnotationsSet =
Set.of(getAnnotation(SessionScopedAnnotated.class, SessionScoped.class));
+ Set<Annotation> requiresGuestAnnotationsSet =
Set.of(getAnnotation(Annotated.class, RequiresGuest.class));
+ var wrapper = new AnnotatedTypeWrapper<>(annotatedType, true,
sessionScopeAnnotationsSet, requiresGuestAnnotationsSet);
assertThat(wrapper.getAnnotations()).hasSize(3);
assertThat(wrapper.isAnnotationPresent(RequiresGuest.class)).isFalse();
assertThat(wrapper.isAnnotationPresent(SessionScoped.class)).isTrue();