Skip to content

Commit

Permalink
More NPE fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Su5eD committed Jul 17, 2024
1 parent a0210c1 commit 303e382
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public record Data() {}
@Nullable
@Override
public DynFixSplitMethod.Data prepare(MethodContext methodContext) {
if (methodContext.hasInjectionPointValue("INVOKE")) {
if (methodContext.hasInjectionPointValue("INVOKE") && methodContext.findCleanInjectionTarget() != null && methodContext.findDirtyInjectionTarget() != null) {
return new Data();
}
return null;
Expand Down

0 comments on commit 303e382

Please sign in to comment.