eclipse plugin: Remove 2 obsolete methods
This commit is contained in:
parent
7c1f4c46b9
commit
6b28ea2377
1 changed files with 0 additions and 28 deletions
|
@ -414,34 +414,6 @@ public class ResourceUtils
|
|||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated Use the {@link WMLSaxHandler#IsCampaign}
|
||||
* @param fileName
|
||||
* @return
|
||||
*/
|
||||
@Deprecated
|
||||
public static boolean isCampaignFile(String fileName)
|
||||
{
|
||||
if (!fileName.endsWith(".cfg")) //$NON-NLS-1$
|
||||
return false;
|
||||
String fileContentString = ResourceUtils.getFileContents(new File(fileName));
|
||||
return (fileContentString.contains("[campaign]") && fileContentString.contains("[/campaign]")); //$NON-NLS-1$ //$NON-NLS-2$
|
||||
}
|
||||
|
||||
/**
|
||||
* @deprecated Use the {@link WMLSaxHandler#IsScenario}
|
||||
* @param fileName
|
||||
* @return
|
||||
*/
|
||||
@Deprecated
|
||||
public static boolean isScenarioFile(String fileName)
|
||||
{
|
||||
if (!fileName.endsWith(".cfg")) //$NON-NLS-1$
|
||||
return false;
|
||||
String fileContentString = ResourceUtils.getFileContents(new File(fileName));
|
||||
return (fileContentString.contains("[scenario]") && fileContentString.contains("[/scenario]")); //$NON-NLS-1$ //$NON-NLS-2$
|
||||
}
|
||||
|
||||
/**
|
||||
* Deletes all markers of type specified from the resource
|
||||
* @param resource
|
||||
|
|
Loading…
Add table
Reference in a new issue