Skip to content

Commit

Permalink
Fix for issue #80
Browse files Browse the repository at this point in the history
  • Loading branch information
tsantalis committed Sep 26, 2020
1 parent bec0ea1 commit 0a0b5ce
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion META-INF/MANIFEST.MF
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: JDeodorant Plug-in
Bundle-SymbolicName: gr.uom.java.jdeodorant; singleton:=true
Bundle-Version: 5.0.79
Bundle-Version: 5.0.80
Bundle-Activator: gr.uom.java.jdeodorant.refactoring.Activator
Bundle-Localization: plugin
Require-Bundle: org.eclipse.ui,
Expand Down
2 changes: 1 addition & 1 deletion src/gr/uom/java/distance/MyAbstractExpression.java
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ else if((fieldInstruction = system.containsCollectionAdder(methodInvocation)) !=

private MethodInvocationObject recurseDelegations(MethodInvocationObject methodInvocation, SystemObject system) {
MethodInvocationObject delegation;
if((delegation = system.containsDelegate(methodInvocation)) != null && system.getClassObject(delegation.getOriginClassName()) != null)
if((delegation = system.containsDelegate(methodInvocation)) != null && system.getClassObject(delegation.getOriginClassName()) != null && !methodInvocation.equals(delegation))
return recurseDelegations(delegation, system);
else
return methodInvocation;
Expand Down

0 comments on commit 0a0b5ce

Please sign in to comment.