Skip to content
Snippets Groups Projects
Commit 0179af6a authored by Sören Henning's avatar Sören Henning
Browse files

Minor code clean up

parent dafa040d
No related branches found
No related tags found
No related merge requests found
...@@ -32,7 +32,7 @@ cleanup.qualify_static_member_accesses_with_declaring_class=true ...@@ -32,7 +32,7 @@ cleanup.qualify_static_member_accesses_with_declaring_class=true
cleanup.qualify_static_method_accesses_with_declaring_class=false cleanup.qualify_static_method_accesses_with_declaring_class=false
cleanup.remove_private_constructors=true cleanup.remove_private_constructors=true
cleanup.remove_redundant_modifiers=false cleanup.remove_redundant_modifiers=false
cleanup.remove_redundant_semicolons=false cleanup.remove_redundant_semicolons=true
cleanup.remove_redundant_type_arguments=true cleanup.remove_redundant_type_arguments=true
cleanup.remove_trailing_whitespaces=true cleanup.remove_trailing_whitespaces=true
cleanup.remove_trailing_whitespaces_all=true cleanup.remove_trailing_whitespaces_all=true
......
...@@ -87,7 +87,7 @@ public abstract class AbstractWorkloadGenerator<T> ...@@ -87,7 +87,7 @@ public abstract class AbstractWorkloadGenerator<T>
final int periodMs = (int) period.toMillis(); final int periodMs = (int) period.toMillis();
LOGGER.info("Period: " + periodMs); // NOPMD no computational intensive logger call LOGGER.info("Period: {}", periodMs);
final BiConsumer<WorkloadDefinition, Integer> workerAction = (declaration, workerId) -> { final BiConsumer<WorkloadDefinition, Integer> workerAction = (declaration, workerId) -> {
...@@ -118,8 +118,11 @@ public abstract class AbstractWorkloadGenerator<T> ...@@ -118,8 +118,11 @@ public abstract class AbstractWorkloadGenerator<T>
} }
}; };
this.workloadDistributor = this.workloadDistributor = new WorkloadDistributor(
new WorkloadDistributor(this.instances, this.zooKeeper, this.keySpace, this.beforeAction, this.instances,
this.zooKeeper,
this.keySpace,
this.beforeAction,
workerAction); workerAction);
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment