Skip to content

Commit 1be4f57

Browse files
committed
fix bug
1 parent ead0e8b commit 1be4f57

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

runtime/src/main/java/com/tns/DexFactory.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -270,18 +270,18 @@ private String generateDex(String proxyName, String className, String[] methodOv
270270
{
271271
String methodOverride = methodOverrides[i];
272272

273-
if (implementedInterfaces.length > 0) {
274-
for(int j = 0; j < implementedInterfaces.length; j++) {
275-
if(!implementedInterfaces[j].isEmpty()) {
276-
implementedInterfacesSet.add(new ClassInfo(Class.forName(implementedInterfaces[j])));
277-
}
278-
}
279-
}
280-
281273
methodOverridesSet.add(methodOverride);
282274
}
283275
}
284276

277+
if (implementedInterfaces.length > 0) {
278+
for(int j = 0; j < implementedInterfaces.length; j++) {
279+
if(!implementedInterfaces[j].isEmpty()) {
280+
implementedInterfacesSet.add(new ClassInfo(Class.forName(implementedInterfaces[j])));
281+
}
282+
}
283+
}
284+
285285
return proxyGenerator.generateProxy(proxyName, new ClassInfo(classToProxy) , methodOverridesSet, implementedInterfacesSet, isInterface);
286286
}
287287

0 commit comments

Comments
 (0)