[Swift-commit] r7946 - trunk/src/org/griphyn/vdl/engine
hategan at ci.uchicago.edu
hategan at ci.uchicago.edu
Fri Jul 4 01:22:05 CDT 2014
Author: hategan
Date: 2014-07-04 01:22:05 -0500 (Fri, 04 Jul 2014)
New Revision: 7946
Modified:
trunk/src/org/griphyn/vdl/engine/Warnings.java
Log:
added a site warning type
Modified: trunk/src/org/griphyn/vdl/engine/Warnings.java
===================================================================
--- trunk/src/org/griphyn/vdl/engine/Warnings.java 2014-07-04 06:20:56 UTC (rev 7945)
+++ trunk/src/org/griphyn/vdl/engine/Warnings.java 2014-07-04 06:22:05 UTC (rev 7946)
@@ -22,7 +22,8 @@
public static enum Type {
DEPRECATION,
SHADOWING,
- DATAFLOW
+ DATAFLOW,
+ SITE
}
private static Set<String> warnings = new HashSet<String>();
@@ -31,6 +32,7 @@
static {
enabledWarnings.add(Type.DEPRECATION);
enabledWarnings.add(Type.DATAFLOW);
+ enabledWarnings.add(Type.SITE);
}
public static void warn(Type type, XmlObject obj, String msg) {
More information about the Swift-commit
mailing list