Author: [email protected]
Date: Tue Apr 28 11:03:08 2009
New Revision: 5294
Modified:
trunk/dev/core/src/com/google/gwt/dev/jjs/impl/CodeSplitter.java
Log:
Fix merge problem.
Patch by: jat
Review by: spoon (desk)
Modified: trunk/dev/core/src/com/google/gwt/dev/jjs/impl/CodeSplitter.java
==============================================================================
--- trunk/dev/core/src/com/google/gwt/dev/jjs/impl/CodeSplitter.java
(original)
+++ trunk/dev/core/src/com/google/gwt/dev/jjs/impl/CodeSplitter.java Tue
Apr 28 11:03:08 2009
@@ -334,12 +334,12 @@
Map<Integer, JMethod> splitPointToLoadMethod = new HashMap<Integer,
JMethod>();
// These methods aren't indexed, so scan the whole program
- for (JReferenceType type : program.getDeclaredTypes()) {
+ for (JDeclaredType type : program.getDeclaredTypes()) {
Matcher matcher = LOADER_CLASS_PATTERN.matcher(type.getName());
if (matcher.matches()) {
int sp = Integer.parseInt(matcher.group(1));
JMethod loadMethod = null;
- for (JMethod meth : type.methods) {
+ for (JMethod meth : type.getMethods()) {
if (meth.getName().equals(
FragmentLoaderCreator.LOADER_METHOD_RUN_ASYNC)) {
loadMethod = meth;
--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---