You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by si...@apache.org on 2011/09/07 21:49:55 UTC
svn commit: r1166348 -
/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/IsWithinRange.java
Author: simonetripodi
Date: Wed Sep 7 19:49:55 2011
New Revision: 1166348
URL: http://svn.apache.org/viewvc?rev=1166348&view=rev
Log:
fixed checkstyle violations: Name 'nameHashCode' must match pattern '^[A-Z][A-Z0-9]*(_[A-Z0-9]+)*$'.
Modified:
commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/IsWithinRange.java
Modified: commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/IsWithinRange.java
URL: http://svn.apache.org/viewvc/commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/IsWithinRange.java?rev=1166348&r1=1166347&r2=1166348&view=diff
==============================================================================
--- commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/IsWithinRange.java (original)
+++ commons/sandbox/functor/trunk/src/main/java/org/apache/commons/functor/core/comparator/IsWithinRange.java Wed Sep 7 19:49:55 2011
@@ -35,7 +35,7 @@ public class IsWithinRange<A extends Com
private static final long serialVersionUID = -7584005207181667878L;
/** Hashcode of the name of this Predicate. */
- private static final int nameHashCode = "IsWithinRange".hashCode();
+ private static final int NAME_HASH_CODE = "IsWithinRange".hashCode();
/***************************************************
* Instance variables
@@ -97,7 +97,7 @@ public class IsWithinRange<A extends Com
* {@inheritDoc}
*/
public int hashCode() {
- return 29 * min.hashCode() + max.hashCode() + nameHashCode;
+ return 29 * min.hashCode() + max.hashCode() + NAME_HASH_CODE;
}
/**