Skip to content

Commit

Permalink
Fixed checkstyle issues
Browse files Browse the repository at this point in the history
  • Loading branch information
dancollins34 committed Feb 3, 2018
1 parent 1d15f2d commit 78d73ce
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions heron/api/src/java/com/twitter/heron/streamlet/Config.java
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ private static class Defaults {
static final long RAM = 100 * MB;
static final DeliverySemantics SEMANTICS = DeliverySemantics.ATMOST_ONCE;
static final Serializer SERIALIZER = Serializer.KRYO;
static final boolean shouldSimulate = false;
static final boolean SHOULDSIMULATE = false;
}

private Config(Builder builder) {
Expand Down Expand Up @@ -187,7 +187,7 @@ private Builder() {
ram = Defaults.RAM;
deliverySemantics = Defaults.SEMANTICS;
serializer = Defaults.SERIALIZER;
shouldSimulate = Defaults.shouldSimulate;
shouldSimulate = Defaults.SHOULDSIMULATE;
}

/**
Expand Down Expand Up @@ -266,10 +266,10 @@ public Builder setUserConfig(String key, Object value) {

/**
* Sets whether this topology should be run in the simulator or not
* @param shouldSimulate whether this should be run in the simulator
* @param value whether this should be run in the simulator
*/
public Builder setShouldSimulate(boolean shouldSimulate) {
this.shouldSimulate = shouldSimulate;
public Builder setShouldSimulate(boolean value) {
this.shouldSimulate = value;
return this;
}

Expand Down

0 comments on commit 78d73ce

Please sign in to comment.