summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremie Bresson2012-09-13 21:53:51 (EDT)
committer David Green2012-09-13 21:53:51 (EDT)
commitfdd7113c7b8b6d221249b2044c66fb4c8a592e21 (patch)
tree18507cacc22f8ebfb1c0d23a4f310905ac171dee
parent937cf1d09da4d34cb1c1fc5b7d91afcfe11495fb (diff)
downloadorg.eclipse.mylyn.docs-fdd7113c7b8b6d221249b2044c66fb4c8a592e21.zip
org.eclipse.mylyn.docs-fdd7113c7b8b6d221249b2044c66fb4c8a592e21.tar.gz
org.eclipse.mylyn.docs-fdd7113c7b8b6d221249b2044c66fb4c8a592e21.tar.bz2
389143: Rename DateTimeTemlate in DateTimeTemplate.
Task-Url: https://bugs.eclipse.org/bugs/show_bug.cgi?id=389143 Change-Id: I8b505231538560daad45a921ca288d6c4ed3becb
-rw-r--r--org.eclipse.mylyn.wikitext.mediawiki.core/src/org/eclipse/mylyn/internal/wikitext/mediawiki/core/BuiltInTemplateResolver.java26
-rw-r--r--org.eclipse.mylyn.wikitext.mediawiki.core/src/org/eclipse/mylyn/internal/wikitext/mediawiki/core/DateTimeTemplate.java (renamed from org.eclipse.mylyn.wikitext.mediawiki.core/src/org/eclipse/mylyn/internal/wikitext/mediawiki/core/DateTimeTemlate.java)6
2 files changed, 16 insertions, 16 deletions
diff --git a/org.eclipse.mylyn.wikitext.mediawiki.core/src/org/eclipse/mylyn/internal/wikitext/mediawiki/core/BuiltInTemplateResolver.java b/org.eclipse.mylyn.wikitext.mediawiki.core/src/org/eclipse/mylyn/internal/wikitext/mediawiki/core/BuiltInTemplateResolver.java
index 363f1cc..bf9c39c 100644
--- a/org.eclipse.mylyn.wikitext.mediawiki.core/src/org/eclipse/mylyn/internal/wikitext/mediawiki/core/BuiltInTemplateResolver.java
+++ b/org.eclipse.mylyn.wikitext.mediawiki.core/src/org/eclipse/mylyn/internal/wikitext/mediawiki/core/BuiltInTemplateResolver.java
@@ -26,19 +26,19 @@ public class BuiltInTemplateResolver extends TemplateResolver {
registerTemplate(new Template("ndash", " – ")); //$NON-NLS-1$//$NON-NLS-2$
registerTemplate(new Template("emdash", " — ")); //$NON-NLS-1$//$NON-NLS-2$
registerTemplate(new Template("endash", " – ")); //$NON-NLS-1$//$NON-NLS-2$
- registerTemplate(new DateTimeTemlate("CURRENTYEAR", "yyyy")); //$NON-NLS-1$//$NON-NLS-2$
- registerTemplate(new DateTimeTemlate("CURRENTMONTH", "MM")); //$NON-NLS-1$//$NON-NLS-2$
- registerTemplate(new DateTimeTemlate("CURRENTMONTHNAME", "MMMMMMMM")); //$NON-NLS-1$//$NON-NLS-2$
- registerTemplate(new DateTimeTemlate("CURRENTMONTHNAMEGEN", "MMMMMMMM")); //$NON-NLS-1$//$NON-NLS-2$
- registerTemplate(new DateTimeTemlate("CURRENTMONTHABBREV", "MMM")); //$NON-NLS-1$//$NON-NLS-2$
- registerTemplate(new DateTimeTemlate("CURRENTDAY", "dd")); //$NON-NLS-1$//$NON-NLS-2$
- registerTemplate(new DateTimeTemlate("CURRENTDAY2", "dd")); //$NON-NLS-1$//$NON-NLS-2$
- registerTemplate(new DateTimeTemlate("CURRENTDOW", "F")); //$NON-NLS-1$//$NON-NLS-2$
- registerTemplate(new DateTimeTemlate("CURRENTDAYNAME", "EEEEEEEE")); //$NON-NLS-1$//$NON-NLS-2$
- registerTemplate(new DateTimeTemlate("CURRENTTIME", "HH:mm")); //$NON-NLS-1$//$NON-NLS-2$
- registerTemplate(new DateTimeTemlate("CURRENTHOUR", "HH")); //$NON-NLS-1$//$NON-NLS-2$
- registerTemplate(new DateTimeTemlate("CURRENTWEEK", "ww")); //$NON-NLS-1$//$NON-NLS-2$
- registerTemplate(new DateTimeTemlate("CURRENTTIMESTAMP", "yyyyMMddHHmmss")); //$NON-NLS-1$//$NON-NLS-2$
+ registerTemplate(new DateTimeTemplate("CURRENTYEAR", "yyyy")); //$NON-NLS-1$//$NON-NLS-2$
+ registerTemplate(new DateTimeTemplate("CURRENTMONTH", "MM")); //$NON-NLS-1$//$NON-NLS-2$
+ registerTemplate(new DateTimeTemplate("CURRENTMONTHNAME", "MMMMMMMM")); //$NON-NLS-1$//$NON-NLS-2$
+ registerTemplate(new DateTimeTemplate("CURRENTMONTHNAMEGEN", "MMMMMMMM")); //$NON-NLS-1$//$NON-NLS-2$
+ registerTemplate(new DateTimeTemplate("CURRENTMONTHABBREV", "MMM")); //$NON-NLS-1$//$NON-NLS-2$
+ registerTemplate(new DateTimeTemplate("CURRENTDAY", "dd")); //$NON-NLS-1$//$NON-NLS-2$
+ registerTemplate(new DateTimeTemplate("CURRENTDAY2", "dd")); //$NON-NLS-1$//$NON-NLS-2$
+ registerTemplate(new DateTimeTemplate("CURRENTDOW", "F")); //$NON-NLS-1$//$NON-NLS-2$
+ registerTemplate(new DateTimeTemplate("CURRENTDAYNAME", "EEEEEEEE")); //$NON-NLS-1$//$NON-NLS-2$
+ registerTemplate(new DateTimeTemplate("CURRENTTIME", "HH:mm")); //$NON-NLS-1$//$NON-NLS-2$
+ registerTemplate(new DateTimeTemplate("CURRENTHOUR", "HH")); //$NON-NLS-1$//$NON-NLS-2$
+ registerTemplate(new DateTimeTemplate("CURRENTWEEK", "ww")); //$NON-NLS-1$//$NON-NLS-2$
+ registerTemplate(new DateTimeTemplate("CURRENTTIMESTAMP", "yyyyMMddHHmmss")); //$NON-NLS-1$//$NON-NLS-2$
}
@Override
diff --git a/org.eclipse.mylyn.wikitext.mediawiki.core/src/org/eclipse/mylyn/internal/wikitext/mediawiki/core/DateTimeTemlate.java b/org.eclipse.mylyn.wikitext.mediawiki.core/src/org/eclipse/mylyn/internal/wikitext/mediawiki/core/DateTimeTemplate.java
index 3075019..9ba9925 100644
--- a/org.eclipse.mylyn.wikitext.mediawiki.core/src/org/eclipse/mylyn/internal/wikitext/mediawiki/core/DateTimeTemlate.java
+++ b/org.eclipse.mylyn.wikitext.mediawiki.core/src/org/eclipse/mylyn/internal/wikitext/mediawiki/core/DateTimeTemplate.java
@@ -21,9 +21,9 @@ import org.eclipse.mylyn.wikitext.mediawiki.core.Template;
*
* @author David Green
*/
-public class DateTimeTemlate extends Template {
+public class DateTimeTemplate extends Template {
- public DateTimeTemlate() {
+ public DateTimeTemplate() {
}
/**
@@ -31,7 +31,7 @@ public class DateTimeTemlate extends Template {
* @param templateMarkup
* the format to use with {@link SimpleDateFormat}.
*/
- public DateTimeTemlate(String name, String templateMarkup) {
+ public DateTimeTemplate(String name, String templateMarkup) {
super(name, templateMarkup);
}