Skip to content

Commit 0a57579

Browse files
authored
Merge pull request #3356 from hazendaz/pom-cleanup
Remove unnecessary ()
2 parents 260b30f + e8037eb commit 0a57579

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ private void addFields(Class<?> clazz) {
243243
// modification of final fields through reflection (JSR-133). (JGB)
244244
// pr #16 - final static can only be set by the classloader
245245
int modifiers = field.getModifiers();
246-
if ((!Modifier.isFinal(modifiers) || !Modifier.isStatic(modifiers))) {
246+
if (!Modifier.isFinal(modifiers) || !Modifier.isStatic(modifiers)) {
247247
addSetField(field);
248248
}
249249
}
@@ -273,7 +273,7 @@ private void addGetField(Field field) {
273273
}
274274

275275
private boolean isValidPropertyName(String name) {
276-
return (!name.startsWith("$") && !"serialVersionUID".equals(name) && !"class".equals(name));
276+
return !name.startsWith("$") && !"serialVersionUID".equals(name) && !"class".equals(name);
277277
}
278278

279279
/**

0 commit comments

Comments
 (0)