a little tolerance for sloppy models
This commit is contained in:
parent
bc0309b5ba
commit
ef89dc5345
|
@ -79,9 +79,11 @@ public class ReferenceCleanser {
|
||||||
ShrikeClass c = (ShrikeClass) klass;
|
ShrikeClass c = (ShrikeClass) klass;
|
||||||
c.clearSoftCaches();
|
c.clearSoftCaches();
|
||||||
} else {
|
} else {
|
||||||
for (IMethod m : klass.getDeclaredMethods()) {
|
if (klass.getDeclaredMethods() != null) {
|
||||||
if (m instanceof ShrikeCTMethod) {
|
for (IMethod m : klass.getDeclaredMethods()) {
|
||||||
((ShrikeCTMethod)m).clearCaches();
|
if (m instanceof ShrikeCTMethod) {
|
||||||
|
((ShrikeCTMethod)m).clearCaches();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue