From: <ms...@us...> - 2011-03-02 14:02:23
|
Revision: 12007 http://wonder.svn.sourceforge.net/wonder/?rev=12007&view=rev Author: mschrag Date: 2011-03-02 14:02:17 +0000 (Wed, 02 Mar 2011) Log Message: ----------- H V MS: er.chronic.repeaters.RepeaterSeasonName.AUTUMN_PATTERN isn't final but should be At RepeaterSeasonName.java:[line 14] H V MS: er.chronic.repeaters.RepeaterSeasonName.SPRING_PATTERN isn't final but should be At RepeaterSeasonName.java:[line 12] H V MS: er.chronic.repeaters.RepeaterSeasonName.SUMMER_PATTERN isn't final but should be At RepeaterSeasonName.java:[line 13] H V MS: er.chronic.repeaters.RepeaterSeasonName.WINTER_PATTERN isn't final but should be At RepeaterSeasonName.java:[line 15] H V MS: er.chronic.tags.Ordinal.ORDINAL_PATTERN isn't final but should be At Ordinal.java:[line 11] H V MS: er.chronic.tags.Scalar.TIMES isn't final but should be At Scalar.java:[line 15] Modified Paths: -------------- branches/Wonder_2_0_0_Branch/Wonder/Frameworks/Misc/ERChronic/Sources/er/chronic/repeaters/RepeaterSeasonName.java branches/Wonder_2_0_0_Branch/Wonder/Frameworks/Misc/ERChronic/Sources/er/chronic/tags/Ordinal.java branches/Wonder_2_0_0_Branch/Wonder/Frameworks/Misc/ERChronic/Sources/er/chronic/tags/Scalar.java Modified: branches/Wonder_2_0_0_Branch/Wonder/Frameworks/Misc/ERChronic/Sources/er/chronic/repeaters/RepeaterSeasonName.java =================================================================== --- branches/Wonder_2_0_0_Branch/Wonder/Frameworks/Misc/ERChronic/Sources/er/chronic/repeaters/RepeaterSeasonName.java 2011-03-01 05:15:52 UTC (rev 12006) +++ branches/Wonder_2_0_0_Branch/Wonder/Frameworks/Misc/ERChronic/Sources/er/chronic/repeaters/RepeaterSeasonName.java 2011-03-02 14:02:17 UTC (rev 12007) @@ -9,10 +9,10 @@ import er.chronic.utils.Token; public class RepeaterSeasonName extends Repeater<Object> { - public static Pattern SPRING_PATTERN = Pattern.compile("^springs?$"); - public static Pattern SUMMER_PATTERN = Pattern.compile("^summers?$"); - public static Pattern AUTUMN_PATTERN = Pattern.compile("^(autumn|fall)s?$"); - public static Pattern WINTER_PATTERN = Pattern.compile("^winters?$"); + public static final Pattern SPRING_PATTERN = Pattern.compile("^springs?$"); + public static final Pattern SUMMER_PATTERN = Pattern.compile("^summers?$"); + public static final Pattern AUTUMN_PATTERN = Pattern.compile("^(autumn|fall)s?$"); + public static final Pattern WINTER_PATTERN = Pattern.compile("^winters?$"); public static enum SeasonName { SPRING, SUMMER, AUTUMN, WINTER Modified: branches/Wonder_2_0_0_Branch/Wonder/Frameworks/Misc/ERChronic/Sources/er/chronic/tags/Ordinal.java =================================================================== --- branches/Wonder_2_0_0_Branch/Wonder/Frameworks/Misc/ERChronic/Sources/er/chronic/tags/Ordinal.java 2011-03-01 05:15:52 UTC (rev 12006) +++ branches/Wonder_2_0_0_Branch/Wonder/Frameworks/Misc/ERChronic/Sources/er/chronic/tags/Ordinal.java 2011-03-02 14:02:17 UTC (rev 12007) @@ -8,7 +8,7 @@ import er.chronic.utils.Token; public class Ordinal extends Tag<Integer> { - public static Pattern ORDINAL_PATTERN = Pattern.compile("^(\\d*)(st|nd|rd|th)$"); + public static final Pattern ORDINAL_PATTERN = Pattern.compile("^(\\d*)(st|nd|rd|th)$"); public Ordinal(Integer type) { super(type); Modified: branches/Wonder_2_0_0_Branch/Wonder/Frameworks/Misc/ERChronic/Sources/er/chronic/tags/Scalar.java =================================================================== --- branches/Wonder_2_0_0_Branch/Wonder/Frameworks/Misc/ERChronic/Sources/er/chronic/tags/Scalar.java 2011-03-01 05:15:52 UTC (rev 12006) +++ branches/Wonder_2_0_0_Branch/Wonder/Frameworks/Misc/ERChronic/Sources/er/chronic/tags/Scalar.java 2011-03-02 14:02:17 UTC (rev 12007) @@ -12,7 +12,7 @@ public class Scalar extends Tag<Number> { public static final Pattern SCALAR_PATTERN = Pattern.compile("^\\d*$"); public static final Pattern FRACTIONAL_SCALAR_PATTERN = Pattern.compile("^\\d\\.\\d*$"); - public static Set<String> TIMES = new HashSet<String>(); + public static final Set<String> TIMES = new HashSet<String>(); static { Scalar.TIMES.add("am"); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |