This commit is contained in:
heowc 2021-09-25 16:25:05 +09:00 committed by Marcus Hert Da Coregio
parent 658aff501c
commit 84d173c310
6 changed files with 14 additions and 14 deletions

View File

@ -1,5 +1,5 @@
/*
* Copyright 2002-2020 the original author or authors.
* Copyright 2002-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -86,7 +86,7 @@ public class UserDetailsRepositoryReactiveAuthenticationManagerTests {
}
@Test
public void authentiateWhenCustomSchedulerThenUsed() {
public void authenticateWhenCustomSchedulerThenUsed() {
given(this.scheduler.schedule(any())).willAnswer((a) -> {
Runnable r = a.getArgument(0);
return Schedulers.immediate().schedule(r);

View File

@ -1,5 +1,5 @@
/*
* Copyright 2011-2016 the original author or authors.
* Copyright 2011-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -50,7 +50,7 @@ public class BouncyCastleAesBytesEncryptorEquivalencyTests {
}
@Test
public void bouncyCastleAesCbcWithPredictableIvEquvalent() throws Exception {
public void bouncyCastleAesCbcWithPredictableIvEquivalent() throws Exception {
CryptoAssumptions.assumeCBCJCE();
BytesEncryptor bcEncryptor = new BouncyCastleAesCbcBytesEncryptor(this.password, this.salt,
new PredictableRandomBytesKeyGenerator(16));
@ -69,7 +69,7 @@ public class BouncyCastleAesBytesEncryptorEquivalencyTests {
}
@Test
public void bouncyCastleAesGcmWithPredictableIvEquvalent() throws Exception {
public void bouncyCastleAesGcmWithPredictableIvEquivalent() throws Exception {
CryptoAssumptions.assumeGCMJCE();
BytesEncryptor bcEncryptor = new BouncyCastleAesGcmBytesEncryptor(this.password, this.salt,
new PredictableRandomBytesKeyGenerator(16));

View File

@ -1,5 +1,5 @@
/*
* Copyright 2002-2017 the original author or authors.
* Copyright 2002-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -32,7 +32,7 @@ public class PasswordEncoderUtilsTests {
}
@Test
public void equalsWhenNullAndNotEmtpyThenFalse() {
public void equalsWhenNullAndNotEmptyThenFalse() {
assertThat(PasswordEncoderUtils.equals(null, "a")).isFalse();
assertThat(PasswordEncoderUtils.equals("a", null)).isFalse();
}
@ -55,7 +55,7 @@ public class PasswordEncoderUtilsTests {
}
@Test
public void equalsWhenEmtpyAndEmptyThenTrue() {
public void equalsWhenEmptyAndEmptyThenTrue() {
assertThat(PasswordEncoderUtils.equals("", "")).isTrue();
}

View File

@ -120,7 +120,7 @@ public class DefaultSpringSecurityContextSourceTests {
}
@Test
public void instantiationSuceedsWithProperServerList() {
public void instantiationSucceedsWithProperServerList() {
List<String> serverUrls = new ArrayList<>();
serverUrls.add("ldap://foo:789");
serverUrls.add("ldap://bar:389");
@ -134,7 +134,7 @@ public class DefaultSpringSecurityContextSourceTests {
// SEC-2308
@Test
public void instantiationSuceedsWithEmtpyBaseDn() {
public void instantiationSucceedsWithEmptyBaseDn() {
String baseDn = "";
List<String> serverUrls = new ArrayList<>();
serverUrls.add("ldap://foo:789");

View File

@ -1,5 +1,5 @@
/*
* Copyright 2010-2016 the original author or authors.
* Copyright 2010-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -76,7 +76,7 @@ public class JaasApiIntegrationFilter extends GenericFilterBean {
Subject subject = obtainSubject(request);
if (subject == null && this.createEmptySubject) {
this.logger.debug("Subject returned was null and createEmtpySubject is true; "
this.logger.debug("Subject returned was null and createEmptySubject is true; "
+ "creating new empty subject to run as.");
subject = new Subject();
}

View File

@ -1,5 +1,5 @@
/*
* Copyright 2002-2019 the original author or authors.
* Copyright 2002-2021 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@ -81,7 +81,7 @@ public class MediaTypeRequestMatcherTests {
}
@Test
public void constructorEmtpyMediaTypes() {
public void constructorEmptyMediaTypes() {
assertThatIllegalArgumentException().isThrownBy(
() -> new MediaTypeRequestMatcher(this.negotiationStrategy, Collections.<MediaType>emptyList()));
}