NIFI-3541 NIFI-3545 - check style violations

Fix for checkstyle issues introduced by:
9e68f02f1f
000414e7ea

This closes #1569.

Signed-off-by: Koji Kawamura <ijokarumawak@apache.org>
This commit is contained in:
Pierre Villard 2017-03-07 11:58:39 +01:00 committed by Koji Kawamura
parent bf112d0654
commit 70175816b3
2 changed files with 2 additions and 4 deletions

View File

@ -245,7 +245,7 @@ public class SiteToSiteRestApiClient implements Closeable {
if (localAddress != null) { if (localAddress != null) {
requestConfigBuilder.setLocalAddress(localAddress); requestConfigBuilder.setLocalAddress(localAddress);
} }
if (proxy != null) { if (proxy != null) {
requestConfigBuilder.setProxy(proxy.getHttpHost()); requestConfigBuilder.setProxy(proxy.getHttpHost());
} }
@ -1347,7 +1347,7 @@ public class SiteToSiteRestApiClient implements Closeable {
public void setCompress(final boolean compress) { public void setCompress(final boolean compress) {
this.compress = compress; this.compress = compress;
} }
public void setLocalAddress(final InetAddress localAddress) { public void setLocalAddress(final InetAddress localAddress) {
this.localAddress = localAddress; this.localAddress = localAddress;
} }

View File

@ -30,10 +30,8 @@ import java.util.List;
import java.util.Map; import java.util.Map;
import java.util.UUID; import java.util.UUID;
import java.util.function.BiConsumer; import java.util.function.BiConsumer;
import java.util.function.Consumer;
import java.util.stream.IntStream; import java.util.stream.IntStream;
import org.apache.nifi.processor.Relationship;
import org.apache.nifi.processor.exception.ProcessException; import org.apache.nifi.processor.exception.ProcessException;
import org.apache.nifi.processors.standard.TestNotify.MockCacheClient; import org.apache.nifi.processors.standard.TestNotify.MockCacheClient;
import org.apache.nifi.reporting.InitializationException; import org.apache.nifi.reporting.InitializationException;