Skip to content

Commit

Permalink
refactoring
Browse files Browse the repository at this point in the history
  • Loading branch information
ndemirca committed Apr 15, 2024
1 parent 226c735 commit 09d3154
Showing 1 changed file with 0 additions and 23 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,29 +76,6 @@ public Path getUserHome() {
return super.getUserHome();
}

/**
*
* @return a mocked {@link ProcessContext} for a test. The defined {@link #mockProcessContext} will be returned if it
* is not {@code null}, else see implementation {@link #AbstractIdeContext}.
*/
@Override
public ProcessContext newProcess() {

if (mockProcessContext != null) {
return mockProcessContext;
}
return super.newProcess();
}

/**
*
* @param mockProcessContext Set up a mocked ProcessContext for testing
*/
public void setMockProcessContext(ProcessContext mockProcessContext) {

this.mockProcessContext = mockProcessContext;
}

@Override
protected ProcessContext createProcessContext() {

Expand Down

0 comments on commit 09d3154

Please sign in to comment.