Fix typos

See gh-2019
This commit is contained in:
Hanope
2018-11-19 12:43:58 +09:00
committed by Stephane Nicoll
parent 729ce4108d
commit bfb49c7249
76 changed files with 137 additions and 137 deletions

View File

@@ -59,7 +59,7 @@ public class AtAspectJAnnotationBindingTests {
}
@Test
public void testPointcutEvaulatedAgainstArray() {
public void testPointcutEvaluatedAgainstArray() {
ctx.getBean("arrayFactoryBean");
}

View File

@@ -365,7 +365,7 @@ public abstract class AbstractAopProxyTests {
assertEquals("Only one invocation via AOP as use of this wasn't proxied", 1, di.getCount());
// 1 invocation
assertEquals("Increment happened", 1, proxied.getCount());
proxied.incrementViaProxy(); // 2 invoocations
proxied.incrementViaProxy(); // 2 invocations
assertEquals("Increment happened", 2, target.getCount());
assertEquals("3 more invocations via AOP as the first call was reentrant through the proxy", 4, di.getCount());
}
@@ -511,7 +511,7 @@ public abstract class AbstractAopProxyTests {
}
@Test
public void testUndeclaredUnheckedException() throws Throwable {
public void testUndeclaredUncheckedException() throws Throwable {
final RuntimeException unexpectedException = new RuntimeException();
// Test return value
MethodInterceptor mi = new MethodInterceptor() {
@@ -786,7 +786,7 @@ public abstract class AbstractAopProxyTests {
/**
* Note that an introduction can't throw an unexpected checked exception,
* as it's constained by the interface.
* as it's constrained by the interface.
*/
@Test
public void testIntroductionThrowsUncheckedException() throws Throwable {

View File

@@ -161,7 +161,7 @@ public class CommonsPool2TargetSourceTests {
// desired
}
// lets now release an object and try to accquire a new one
// lets now release an object and try to acquire a new one
targetSource.releaseTarget(pooledInstances[9]);
pooledInstances[9] = targetSource.getTarget();
@@ -194,7 +194,7 @@ public class CommonsPool2TargetSourceTests {
// desired
}
// lets now release an object and try to accquire a new one
// lets now release an object and try to acquire a new one
targetSource.releaseTarget(pooledInstances[9]);
pooledInstances[9] = targetSource.getTarget();

View File

@@ -41,7 +41,7 @@ public class LifecycleContextBean extends LifecycleBean implements ApplicationCo
public void afterPropertiesSet() {
super.afterPropertiesSet();
if (this.owningContext == null)
throw new RuntimeException("Factory didn't call setAppliationContext before afterPropertiesSet on lifecycle bean");
throw new RuntimeException("Factory didn't call setApplicationContext before afterPropertiesSet on lifecycle bean");
}
@Override

View File

@@ -33,7 +33,7 @@ public class ComponentScanAnnotationTests {
@Test
public void noop() {
// no-op; the @ComponentScan-annotated MyConfig class below simply excercises
// no-op; the @ComponentScan-annotated MyConfig class below simply exercises
// available attributes of the annotation.
}
}

View File

@@ -64,7 +64,7 @@ public class LiveBeansViewTests {
}
@Test
public void registerUnregisterServeralContexts() throws MalformedObjectNameException {
public void registerUnregisterSeveralContexts() throws MalformedObjectNameException {
this.environment.setProperty(LiveBeansView.MBEAN_DOMAIN_PROPERTY_NAME, this.name.getMethodName());
ConfigurableApplicationContext context = createApplicationContext("app");
ConfigurableApplicationContext childContext = createApplicationContext("child");
@@ -80,7 +80,7 @@ public class LiveBeansViewTests {
}
@Test
public void registerUnregisterServeralContextsDifferentOrder() throws MalformedObjectNameException {
public void registerUnregisterSeveralContextsDifferentOrder() throws MalformedObjectNameException {
this.environment.setProperty(LiveBeansView.MBEAN_DOMAIN_PROPERTY_NAME, this.name.getMethodName());
ConfigurableApplicationContext context = createApplicationContext("app");
ConfigurableApplicationContext childContext = createApplicationContext("child");

View File

@@ -127,7 +127,7 @@ public class InterfaceBasedMBeanInfoAssemblerMappedTests extends AbstractJmxAsse
private void assertNickName(MBeanAttributeInfo attr) {
assertNotNull("Nick Name should not be null", attr);
assertTrue("Nick Name should be writable", attr.isWritable());
assertTrue("Nick Name should be readab;e", attr.isReadable());
assertTrue("Nick Name should be readable", attr.isReadable());
}
}