eclipse plugin: Fix a typo
This commit is contained in:
parent
aee91eef23
commit
62a75d7a08
1 changed files with 8 additions and 8 deletions
|
@ -46,15 +46,21 @@ public class TemplateProvider
|
|||
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,14 +69,8 @@ public class TemplateProvider
|
|||
} catch (Exception e) {
|
||||
Logger.getInstance( ).logException( e );
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
public static TemplateProvider getInstance()
|
||||
{
|
||||
return TemplateProviderInstance.instance_;
|
||||
}
|
||||
|
||||
/**
|
||||
* Loads the templates from the file system
|
||||
*/
|
||||
|
|
Loading…
Add table
Reference in a new issue