Skip to content

Commit

Permalink
Fix NPE in full inject target matcher
Browse files Browse the repository at this point in the history
  • Loading branch information
Su5eD committed Jun 9, 2024
1 parent bab09b3 commit a0dbe02
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
* @since 0.1.0
*/
public class InjectTarget {
public static final Pattern FULL_REF_PATTERN = Pattern.compile("([\\w_$/]+)\\.(.*)(\\(.*?\\).+)|L([\\w_$/]+);(.*)(\\(.*?\\).+)");
public static final Pattern FULL_REF_PATTERN = Pattern.compile("L?([\\w_$/]+)[.;](.*)(\\(.*?\\).+)");

private final String ownerName;
private final String targetName;
Expand Down

0 comments on commit a0dbe02

Please sign in to comment.