Revision: 7347 Author: [email protected] Date: Tue Dec 22 11:53:08 2009 Log: Add a more inlinable path for String.equals(String)
Review by: jat http://code.google.com/p/google-web-toolkit/source/detail?r=7347 Modified: /trunk/user/super/com/google/gwt/emul/java/lang/String.java ======================================= --- /trunk/user/super/com/google/gwt/emul/java/lang/String.java Tue May 19 10:23:58 2009 +++ /trunk/user/super/com/google/gwt/emul/java/lang/String.java Tue Dec 22 11:53:08 2009 @@ -23,6 +23,7 @@ package java.lang; import com.google.gwt.core.client.JavaScriptObject; +import com.google.gwt.user.client.Window; import java.io.Serializable; import java.util.Comparator; @@ -467,6 +468,10 @@ } return __equals(this, other); } + + public boolean equals(String other) { + return __equals(this, other); + } public native boolean equalsIgnoreCase(String other) /*-{ if (other == null) -- http://groups.google.com/group/Google-Web-Toolkit-Contributors
