private TestingThreadPoolIfc threadPool;
private String someParam;
- public TestingParallelAPSPImpl(TestingThreadPoolIfc threadPool,
- String someParam) {
+ public TestingParallelAPSPImpl(final TestingThreadPoolIfc threadPool,
+ final String someParam) {
checkArgument(
threadPool.getMaxNumberOfThreads() >= MINIMAL_NUMBER_OF_THREADS,
"Parameter 'threadPool' has not enough threads");
return threadPool;
}
- void setSomeParam(String s) {
+ void setSomeParam(final String s) {
checkArgument(Strings.isNullOrEmpty(someParam) == false,
"Parameter 'someParam' is blank");
this.someParam = s;