[Swift-commit] r5837 - trunk/src/org/griphyn/vdl/engine
hategan at ci.uchicago.edu
hategan at ci.uchicago.edu
Mon Jul 16 18:08:53 CDT 2012
Author: hategan
Date: 2012-07-16 18:08:53 -0500 (Mon, 16 Jul 2012)
New Revision: 5837
Modified:
trunk/src/org/griphyn/vdl/engine/VariableScope.java
Log:
make it clear that this is a warning
Modified: trunk/src/org/griphyn/vdl/engine/VariableScope.java
===================================================================
--- trunk/src/org/griphyn/vdl/engine/VariableScope.java 2012-07-16 23:08:30 UTC (rev 5836)
+++ trunk/src/org/griphyn/vdl/engine/VariableScope.java 2012-07-16 23:08:53 UTC (rev 5837)
@@ -207,7 +207,7 @@
public boolean isVariableWriteable(String name, boolean partialWriter) {
if(isVariableLocallyDefined(name)) return true;
if(parentScope != null && parentScope.isVariableWriteable(name, true) && enclosureType == ENCLOSURE_CONDITION) {
- logger.warn("Variable " + name + " might have multiple writers");
+ logger.warn("Warning: variable " + name + " might have multiple writers");
return true;
}
if(parentScope != null && parentScope.isVariableWriteable(name, partialWriter) && enclosureType == ENCLOSURE_ALL) return true;
More information about the Swift-commit
mailing list