Commit 249f856 1 parent 47ad2a6 commit 249f856 Copy full SHA for 249f856
File tree 2 files changed +14
-7
lines changed
src/main/java/soot/jimple
2 files changed +14
-7
lines changed Original file line number Diff line number Diff line change @@ -1123,8 +1123,9 @@ public void addCallTarget(Edge e) {
1123
1123
ln = ln .getReplacement ();
1124
1124
1125
1125
RefType rt = de .getTargetType ();
1126
- if (rt == null )
1126
+ if (rt == null ) {
1127
1127
rt = (RefType ) ie .getMethodRef ().getReturnType ();
1128
+ }
1128
1129
1129
1130
// Fake an allocation node
1130
1131
AllocNode alloc
Original file line number Diff line number Diff line change @@ -596,12 +596,15 @@ public int hashCode() {
596
596
597
597
@ Override
598
598
public boolean equals (Object obj ) {
599
- if (this == obj )
599
+ if (this == obj ) {
600
600
return true ;
601
- if (obj == null )
601
+ }
602
+ if (obj == null ) {
602
603
return false ;
603
- if (getClass () != obj .getClass ())
604
+ }
605
+ if (getClass () != obj .getClass ()) {
604
606
return false ;
607
+ }
605
608
VirtualEdgeTarget other = (VirtualEdgeTarget ) obj ;
606
609
return Objects .equals (targetType , other .targetType );
607
610
}
@@ -712,12 +715,15 @@ public int hashCode() {
712
715
713
716
@ Override
714
717
public boolean equals (Object obj ) {
715
- if (this == obj )
718
+ if (this == obj ) {
716
719
return true ;
717
- if (!super .equals (obj ))
720
+ }
721
+ if (!super .equals (obj )) {
718
722
return false ;
719
- if (getClass () != obj .getClass ())
723
+ }
724
+ if (getClass () != obj .getClass ()) {
720
725
return false ;
726
+ }
721
727
InvocationVirtualEdgeTarget other = (InvocationVirtualEdgeTarget ) obj ;
722
728
return argIndex == other .argIndex && Objects .equals (targetMethod , other .targetMethod );
723
729
}
You can’t perform that action at this time.
0 commit comments