Author: epbernard
Date: 2009-06-15 13:54:38 -0400 (Mon, 15 Jun 2009)
New Revision: 16787
Modified:
beanvalidation/trunk/validation-api/src/main/java/javax/validation/Validation.java
beanvalidation/trunk/validation-api/src/main/java/javax/validation/constraints/Pattern.java
Log:
Minor
Modified:
beanvalidation/trunk/validation-api/src/main/java/javax/validation/Validation.java
===================================================================
---
beanvalidation/trunk/validation-api/src/main/java/javax/validation/Validation.java 2009-06-15
13:34:25 UTC (rev 16786)
+++
beanvalidation/trunk/validation-api/src/main/java/javax/validation/Validation.java 2009-06-15
17:54:38 UTC (rev 16787)
@@ -167,7 +167,7 @@
private static class ProviderSpecificBootstrapImpl<T extends
Configuration<T>>
implements ProviderSpecificBootstrap<T> {
- private Class<T> configurationType;
+ private final Class<T> configurationType;
private ValidationProviderResolver resolver;
public ProviderSpecificBootstrapImpl(Class<T> configurationType) {
Modified:
beanvalidation/trunk/validation-api/src/main/java/javax/validation/constraints/Pattern.java
===================================================================
---
beanvalidation/trunk/validation-api/src/main/java/javax/validation/constraints/Pattern.java 2009-06-15
13:34:25 UTC (rev 16786)
+++
beanvalidation/trunk/validation-api/src/main/java/javax/validation/constraints/Pattern.java 2009-06-15
17:54:38 UTC (rev 16787)
@@ -108,7 +108,7 @@
CANON_EQ(java.util.regex.Pattern.CANON_EQ);
//JDK flag value
- private int value;
+ private final int value;
private Flag(int value) {
this.value = value;
Show replies by date