PMD: Useless parentheses

git-svn-id: https://svn.apache.org/repos/asf/commons/proper/lang/trunk@1671674 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Benedikt Ritter 2015-04-06 19:45:11 +00:00
parent 11491d355d
commit 2bc2ffde1f
1 changed files with 2 additions and 2 deletions

View File

@ -190,9 +190,9 @@ public class HashCodeBuilder implements Builder<Integer> {
AccessibleObject.setAccessible(fields, true);
for (final Field field : fields) {
if (!ArrayUtils.contains(excludeFields, field.getName())
&& (!field.getName().contains("$"))
&& !field.getName().contains("$")
&& (useTransients || !Modifier.isTransient(field.getModifiers()))
&& (!Modifier.isStatic(field.getModifiers()))) {
&& !Modifier.isStatic(field.getModifiers())) {
try {
final Object fieldValue = field.get(object);
builder.append(fieldValue);