Revision: 7638
Author: [email protected]
Date: Mon Mar 1 10:43:49 2010
Log: Removes unnecessary constructor param from JsniMethodBody.
http://gwt-code-reviews.appspot.com/153811/show
Review by: cromwellian
http://code.google.com/p/google-web-toolkit/source/detail?r=7638
Modified:
/trunk/dev/core/src/com/google/gwt/dev/jjs/ast/JProgram.java
/trunk/dev/core/src/com/google/gwt/dev/jjs/ast/js/JsniMethodBody.java
=======================================
--- /trunk/dev/core/src/com/google/gwt/dev/jjs/ast/JProgram.java Mon Mar 1
09:03:44 2010
+++ /trunk/dev/core/src/com/google/gwt/dev/jjs/ast/JProgram.java Mon Mar 1
10:43:49 2010
@@ -534,7 +534,7 @@
JMethod x = new JMethod(info, sname, enclosingType, returnType,
isAbstract,
isStatic, isFinal, isPrivate);
if (isNative) {
- x.setBody(new JsniMethodBody(this, info));
+ x.setBody(new JsniMethodBody(info));
} else if (!isAbstract) {
x.setBody(new JMethodBody(info));
}
=======================================
--- /trunk/dev/core/src/com/google/gwt/dev/jjs/ast/js/JsniMethodBody.java
Thu Apr 9 08:41:34 2009
+++ /trunk/dev/core/src/com/google/gwt/dev/jjs/ast/js/JsniMethodBody.java
Mon Mar 1 10:43:49 2010
@@ -18,7 +18,6 @@
import com.google.gwt.dev.jjs.SourceInfo;
import com.google.gwt.dev.jjs.ast.Context;
import com.google.gwt.dev.jjs.ast.JAbstractMethodBody;
-import com.google.gwt.dev.jjs.ast.JProgram;
import com.google.gwt.dev.jjs.ast.JVisitor;
import com.google.gwt.dev.js.ast.JsContext;
import com.google.gwt.dev.js.ast.JsExpression;
@@ -44,7 +43,7 @@
private Set<String> stringLiterals = Collections.emptySet();
- public JsniMethodBody(JProgram program, SourceInfo info) {
+ public JsniMethodBody(SourceInfo info) {
super(info);
}
--
http://groups.google.com/group/Google-Web-Toolkit-Contributors