|
|
@ -279,7 +279,7 @@ public class PropertiesFile extends ASTElement |
|
|
findAllVars(modulesFile.getVarNames(), modulesFile.getVarTypes()); |
|
|
findAllVars(modulesFile.getVarNames(), modulesFile.getVarTypes()); |
|
|
|
|
|
|
|
|
// Find all instances of property refs |
|
|
// Find all instances of property refs |
|
|
findAllProps(null, this); |
|
|
|
|
|
|
|
|
findAllPropRefs(null, this); |
|
|
// Check property references for cyclic dependencies |
|
|
// Check property references for cyclic dependencies |
|
|
findCyclesInPropertyReferences(); |
|
|
findCyclesInPropertyReferences(); |
|
|
|
|
|
|
|
|
@ -437,7 +437,7 @@ public class PropertiesFile extends ASTElement |
|
|
// and store this info in boolean matrix |
|
|
// and store this info in boolean matrix |
|
|
for (i = 0; i < n; i++) { |
|
|
for (i = 0; i < n; i++) { |
|
|
e = properties.get(i).getExpression(); |
|
|
e = properties.get(i).getExpression(); |
|
|
v = e.getAllProps(); |
|
|
|
|
|
|
|
|
v = e.getAllPropRefs(); |
|
|
for (j = 0; j < v.size(); j++) { |
|
|
for (j = 0; j < v.size(); j++) { |
|
|
k = getPropertyIndexByName(v.elementAt(j)); |
|
|
k = getPropertyIndexByName(v.elementAt(j)); |
|
|
if (k != -1) { |
|
|
if (k != -1) { |
|
|
|