Browse Source

Fix typos

Closes gh-35656
Signed-off-by: HJC96 <gkswlcjs2@naver.com>
pull/35672/head
HJC96 2 months ago committed by Sébastien Deleuze
parent
commit
d7fc07e73c
  1. 2
      spring-beans/src/test/java/org/springframework/beans/AbstractPropertyAccessorTests.java
  2. 2
      spring-core/src/main/java/org/springframework/cglib/proxy/BridgeMethodResolver.java
  3. 2
      spring-core/src/main/java/org/springframework/core/codec/Hints.java

2
spring-beans/src/test/java/org/springframework/beans/AbstractPropertyAccessorTests.java

@ -472,7 +472,7 @@ abstract class AbstractPropertyAccessorTests {
assertThat(target.getAge()).as("age is OK").isEqualTo(age); assertThat(target.getAge()).as("age is OK").isEqualTo(age);
assertThat(name).as("name is OK").isEqualTo(target.getName()); assertThat(name).as("name is OK").isEqualTo(target.getName());
accessor.setPropertyValues(new MutablePropertyValues()); accessor.setPropertyValues(new MutablePropertyValues());
// Check its unchanged // Check it's unchanged
assertThat(target.getAge()).as("age is OK").isEqualTo(age); assertThat(target.getAge()).as("age is OK").isEqualTo(age);
assertThat(name).as("name is OK").isEqualTo(target.getName()); assertThat(name).as("name is OK").isEqualTo(target.getName());
} }

2
spring-core/src/main/java/org/springframework/cglib/proxy/BridgeMethodResolver.java

@ -110,7 +110,7 @@ class BridgeMethodResolver {
&& currentMethod != null) { && currentMethod != null) {
Signature target = new Signature(name, desc); Signature target = new Signature(name, desc);
// If the target signature is the same as the current, // If the target signature is the same as the current,
// we shouldn't change our bridge becaues invokespecial // we shouldn't change our bridge because invokespecial
// is the only way to make progress (otherwise we'll // is the only way to make progress (otherwise we'll
// get infinite recursion). This would typically // get infinite recursion). This would typically
// only happen when a bridge method is created to widen // only happen when a bridge method is created to widen

2
spring-core/src/main/java/org/springframework/core/codec/Hints.java

@ -50,7 +50,7 @@ public abstract class Hints {
/** /**
* Create a map wit a single hint via {@link Collections#singletonMap}. * Create a map with a single hint via {@link Collections#singletonMap}.
* @param hintName the hint name * @param hintName the hint name
* @param value the hint value * @param value the hint value
* @return the created map * @return the created map

Loading…
Cancel
Save