commit | a5c16f09aafdd1c76c9c116fd92550373ab85acf | [log] [tgz] |
---|---|---|
author | scottb@google.com <scottb@google.com@8db76d5a-ed1c-0410-87a9-c151d255dfc7> | Thu Mar 27 01:22:11 2008 +0000 |
committer | scottb@google.com <scottb@google.com@8db76d5a-ed1c-0410-87a9-c151d255dfc7> | Thu Mar 27 01:22:11 2008 +0000 |
tree | 1c77853f8c54e2542e4f0a94fc9a12f7f1cfacf2 | |
parent | 9c0b44c93b3eb120dc8b5050914978c042409fb2 [diff] |
SourceGenerationVisitor was double-printing field initializations. git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@2232 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/dev/core/src/com/google/gwt/dev/jjs/impl/SourceGenerationVisitor.java b/dev/core/src/com/google/gwt/dev/jjs/impl/SourceGenerationVisitor.java index c457fe9..ec7103a 100644 --- a/dev/core/src/com/google/gwt/dev/jjs/impl/SourceGenerationVisitor.java +++ b/dev/core/src/com/google/gwt/dev/jjs/impl/SourceGenerationVisitor.java
@@ -86,18 +86,6 @@ } @Override - public boolean visit(JField x, Context ctx) { - super.visit(x, ctx); - - if (x.getConstInitializer() != null) { - print(" = "); - accept(x.getConstInitializer()); - } - semi(); - return false; - } - - @Override public boolean visit(JInterfaceType x, Context ctx) { super.visit(x, ctx);