Skip to content

Commit

Permalink
[#60feature/#60-restlib] sonar issue fixed
Browse files Browse the repository at this point in the history
Signed-off-by: huluvu424242 <huluvu424242@gmail.com>
  • Loading branch information
Huluvu424242 committed Jan 29, 2023
1 parent aa81077 commit 978cb5b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ protected BuildInfo sendGetRequest()
final URL statusAbfrageUrl = jobAbfragedaten.getStatusAbfrageUrl();
final String abfrageURL = statusAbfrageUrl.getPath();

final Pattern pattern = Pattern.compile("^([a-zA-Z]+)://([^/]+)/job/(.+)/job/(.+)$");
final Pattern pattern = Pattern.compile("^([^:]+)://([^/]+)/job/(.+)/job/(.+)$");
final Matcher matcher = pattern.matcher(statusAbfrageUrl.toExternalForm());
final String hostName;
final String folderName;
Expand Down

0 comments on commit 978cb5b

Please sign in to comment.