Skip to content

Commit

Permalink
Eliminates a useless condition (taken in charge already)
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexisDrogoul committed Mar 11, 2022
1 parent 974822c commit b760e0a
Showing 1 changed file with 0 additions and 1 deletion.
Expand Up @@ -76,7 +76,6 @@ public ExecutorBasedSimulationRuntime() {
*/
@Override
public void setNumberOfThreads(final int n) {
if (n == executor.getMaximumPoolSize()) return;
executor.setMaximumPoolSize(n);
}

Expand Down

0 comments on commit b760e0a

Please sign in to comment.