Skip to content

Commit 70cba26

Browse files
committed
Fix typo
1 parent 5750eb7 commit 70cba26

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/main/java/org/apache/ibatis/reflection/Reflector.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ public class Reflector {
4848

4949
private final Class<?> type;
5050
private final String[] readablePropertyNames;
51-
private final String[] writeablePropertyNames;
51+
private final String[] writablePropertyNames;
5252
private final Map<String, Invoker> setMethods = new HashMap<>();
5353
private final Map<String, Invoker> getMethods = new HashMap<>();
5454
private final Map<String, Class<?>> setTypes = new HashMap<>();
@@ -64,11 +64,11 @@ public Reflector(Class<?> clazz) {
6464
addSetMethods(clazz);
6565
addFields(clazz);
6666
readablePropertyNames = getMethods.keySet().toArray(new String[getMethods.keySet().size()]);
67-
writeablePropertyNames = setMethods.keySet().toArray(new String[setMethods.keySet().size()]);
67+
writablePropertyNames = setMethods.keySet().toArray(new String[setMethods.keySet().size()]);
6868
for (String propName : readablePropertyNames) {
6969
caseInsensitivePropertyMap.put(propName.toUpperCase(Locale.ENGLISH), propName);
7070
}
71-
for (String propName : writeablePropertyNames) {
71+
for (String propName : writablePropertyNames) {
7272
caseInsensitivePropertyMap.put(propName.toUpperCase(Locale.ENGLISH), propName);
7373
}
7474
}
@@ -440,7 +440,7 @@ public String[] getGetablePropertyNames() {
440440
* @return The array
441441
*/
442442
public String[] getSetablePropertyNames() {
443-
return writeablePropertyNames;
443+
return writablePropertyNames;
444444
}
445445

446446
/**

0 commit comments

Comments
 (0)