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