<NME> LogTemplateProviderTest.java
<BEF> ADDFILE
<MSG> don't use regular expressions for String replacement

* prefer StringUtils.replace over String.replaceAll
* have new test to verify this change
* remove cgBase instance from LogTemplates
<DFF> @@ -0,0 +1,13 @@
+package cgeo.geocaching;
+
+import junit.framework.TestCase;
+
+public class LogTemplateProviderTest extends TestCase {
+
+    public static void testApplyTemplates() {
+        final String noTemplates = " no templates ";
+        assertEquals(noTemplates, LogTemplateProvider.applyTemplates(noTemplates, true));
+        assertTrue(LogTemplateProvider.applyTemplates("[DATE]", true).contains("."));
+    }
+
+}

don't use regular expressions for String replacement