Author: timotei
Date: Wed Jul 13 22:47:42 2011
New Revision: 50293

URL: http://svn.gna.org/viewcvs/wesnoth?rev=50293&view=rev
Log:
eclipse plugin: Fix a typo

Modified:
    
trunk/utils/umc_dev/org.wesnoth/src/org/wesnoth/templates/TemplateProvider.java

Modified: 
trunk/utils/umc_dev/org.wesnoth/src/org/wesnoth/templates/TemplateProvider.java
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/utils/umc_dev/org.wesnoth/src/org/wesnoth/templates/TemplateProvider.java?rev=50293&r1=50292&r2=50293&view=diff
==============================================================================
--- 
trunk/utils/umc_dev/org.wesnoth/src/org/wesnoth/templates/TemplateProvider.java 
(original)
+++ 
trunk/utils/umc_dev/org.wesnoth/src/org/wesnoth/templates/TemplateProvider.java 
Wed Jul 13 22:47:42 2011
@@ -46,15 +46,21 @@
            loadCACs();
        }
 
-       /**
+    public static TemplateProvider getInstance()
+       {
+               return TemplateProviderInstance.instance_;
+       }
+
+    /**
      * Loads the Content Assist Config files from the file system
      */
     public void loadCACs()
     {
         cacs_.clear( );
+
         try{
             File varsFile = new File( Constants.PLUGIN_FULL_PATH + 
"/templates/cac/variables.txt" );
-            cacs_.put( "variable", Arrays.asList( StringUtils.getLines(
+            cacs_.put( "variables", Arrays.asList( StringUtils.getLines(
                     ResourceUtils.getFileContents( varsFile, true, true ) ) ) 
);
 
             File eventsFile = new File( Constants.PLUGIN_FULL_PATH + 
"/templates/cac/events.txt" );
@@ -63,13 +69,7 @@
         } catch (Exception e) {
             Logger.getInstance( ).logException( e );
         }
-
     }
-
-    public static  TemplateProvider getInstance()
-       {
-               return TemplateProviderInstance.instance_;
-       }
 
        /**
         * Loads the templates from the file system


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to