*
*/
public class PredefinedVariables {
- public static final String root = "root";
- public static final String project = "project";
- public static final String model = "model";
- public static final String template = "template";
- public static final String current = ".";
+ public static final String root = "root"; //$NON-NLS-1$
+ public static final String project = "project"; //$NON-NLS-1$
+ public static final String model = "model"; //$NON-NLS-1$
+ public static final String template = "template"; //$NON-NLS-1$
+ public static final String current = "."; //$NON-NLS-1$
private static PredefinedVariables factory = new PredefinedVariables();
if (colonInx != -1 && firstFlashInx != -1 && colonInx+1 == firstFlashInx && path.length() > firstFlashInx+1){
String scheme = path.substring(0, colonInx);
String absPath = path.substring(firstFlashInx+1);
- if (scheme.equals("pre")){
+ if (scheme.equals("pre")){ //$NON-NLS-1$
int endOfPredefined1 = absPath.indexOf('/');
int endOfPredefined2 = absPath.indexOf('#');
if (endOfPredefined1 == -1 && endOfPredefined2 == -1)
Variable property = null;
if (relativePath != null){
- if (relativePath.startsWith("/."))
+ if (relativePath.startsWith("/.")) //$NON-NLS-1$
relativePath = relativePath.substring(1);
property = v.browsePossible(graph, relativePath);
}