Author: abelevich
Date: 2009-08-10 08:28:57 -0400 (Mon, 10 Aug 2009)
New Revision: 15147
Modified:
root/framework/trunk/impl/src/main/java/org/ajax4jsf/config/FrameworkConfiguration.java
Log:
fix regexp pattern
Modified:
root/framework/trunk/impl/src/main/java/org/ajax4jsf/config/FrameworkConfiguration.java
===================================================================
---
root/framework/trunk/impl/src/main/java/org/ajax4jsf/config/FrameworkConfiguration.java 2009-08-10
12:26:11 UTC (rev 15146)
+++
root/framework/trunk/impl/src/main/java/org/ajax4jsf/config/FrameworkConfiguration.java 2009-08-10
12:28:57 UTC (rev 15147)
@@ -27,7 +27,7 @@
private Map<InitParam, String> initParams = new EnumMap<InitParam,
String>(InitParam.class);
- private static final Pattern ALLOWABLE_BOOLEANS =
Pattern.compile("true|false",Pattern.CASE_INSENSITIVE);
+ private static final Pattern ALLOWABLE_BOOLEANS =
Pattern.compile("^true|false$",Pattern.CASE_INSENSITIVE);
private static final Pattern ALLOWABLE_NUMBER = Pattern.compile("^\\d+$");
Show replies by date