Skip to content

Commit

Permalink
refactor: rename internal method to fit renamed class
Browse files Browse the repository at this point in the history
  • Loading branch information
ingomohr committed Jan 30, 2023
1 parent 876568c commit 1cd092f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,8 @@ public List<Issue> getIssues(JiraAccessConfig config, String jqlQuery) throws IO
Objects.requireNonNull(config);
Objects.requireNonNull(jqlQuery);

JiraJsonResultForJqlProvider executor = createJiraJqlExecutor();
String response = executor.getJsonResult(config, jqlQuery);
JiraJsonResultForJqlProvider provider = createJsonResultForJqlProvider();
String response = provider.getJsonResult(config, jqlQuery);

JqlResultReader reader = createJqlResultReader();
JqlResult result = reader.readJqlResult(response);
Expand All @@ -48,7 +48,7 @@ public List<Issue> getIssues(JiraAccessConfig config, String jqlQuery) throws IO
return issues;
}

protected JiraJsonResultForJqlProvider createJiraJqlExecutor() {
protected JiraJsonResultForJqlProvider createJsonResultForJqlProvider() {
return new JiraJsonResultForJqlProvider();
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ void prep() {
objUT = new JiraIssuesForJqlProvider() {

@Override
protected JiraJsonResultForJqlProvider createJiraJqlExecutor() {
protected JiraJsonResultForJqlProvider createJsonResultForJqlProvider() {
return jsonResultProvider;
}

Expand Down

0 comments on commit 1cd092f

Please sign in to comment.