diff options
author | David A. Madore <david+git@madore.org> | 2011-08-26 16:43:40 +0200 |
---|---|---|
committer | David A. Madore <david+git@madore.org> | 2011-08-26 16:43:40 +0200 |
commit | ffe182b338e90ecd3f702c7142c4e43996e37d3c (patch) | |
tree | 8efae0d5e96ed00e0adec6f8ad505ab537f84923 /org/madore/damlengine/TodoWrefAttr.java | |
parent | e3ac578e74c3197d7e4bb03e10cd5756b9405e76 (diff) | |
download | damlengine-ffe182b338e90ecd3f702c7142c4e43996e37d3c.tar.gz damlengine-ffe182b338e90ecd3f702c7142c4e43996e37d3c.tar.bz2 damlengine-ffe182b338e90ecd3f702c7142c4e43996e37d3c.zip |
Implement comments (talkback) link.
Diffstat (limited to 'org/madore/damlengine/TodoWrefAttr.java')
-rw-r--r-- | org/madore/damlengine/TodoWrefAttr.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/org/madore/damlengine/TodoWrefAttr.java b/org/madore/damlengine/TodoWrefAttr.java index 5737577..5a15045 100644 --- a/org/madore/damlengine/TodoWrefAttr.java +++ b/org/madore/damlengine/TodoWrefAttr.java @@ -26,7 +26,7 @@ public class TodoWrefAttr extends TodoAttr { String wrefStr = attr.getValue(); Matcher wrefMatcher = Pattern.compile("^\\#d\\.(\\d{4})-(\\d{2})-(\\d{2})\\.(\\d{4})(|\\..*)$").matcher(wrefStr); if ( ! wrefMatcher.matches() ) - throw new IllegalArgumentException("wref attribute ("+wrefStr+") must be of the form #d.YYYY-MM-DD.NNNN[.xxx]"); + throw new IllegalArgumentException("wref attribute must be of the form #d.YYYY-MM-DD.NNNN[.xxx]"); String wrefYearStr = wrefMatcher.group(1); String wrefMonthStr = wrefMatcher.group(2); String wrefDayStr = wrefMatcher.group(3); |