mirror of https://github.com/apache/nifi.git
NIFI-175 extremely trivial removal of extraneous pom entries and quieted needless logging
This commit is contained in:
parent
575cc42c72
commit
9c2c399198
|
@ -135,7 +135,6 @@
|
|||
<groupId>net.sf.saxon</groupId>
|
||||
<artifactId>Saxon-HE</artifactId>
|
||||
</dependency>
|
||||
|
||||
<dependency>
|
||||
<groupId>org.apache.nifi</groupId>
|
||||
<artifactId>nifi-mock</artifactId>
|
||||
|
@ -152,6 +151,7 @@
|
|||
<dependency>
|
||||
<groupId>org.apache.nifi</groupId>
|
||||
<artifactId>distributed-cache-client-service</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>joda-time</groupId>
|
||||
|
|
|
@ -248,13 +248,16 @@ public class DistributedMapCacheClientService extends AbstractControllerService
|
|||
} catch (final IOException e) {
|
||||
}
|
||||
}
|
||||
logger.info("Closed {}", new Object[] { getIdentifier() });
|
||||
if (logger.isDebugEnabled() && getIdentifier() != null) {
|
||||
logger.debug("Closed {}", new Object[]{getIdentifier()});
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void finalize() throws Throwable {
|
||||
if (!closed)
|
||||
if (!closed) {
|
||||
close();
|
||||
}
|
||||
logger.debug("Finalize called");
|
||||
}
|
||||
|
||||
|
@ -295,6 +298,7 @@ public class DistributedMapCacheClientService extends AbstractControllerService
|
|||
}
|
||||
|
||||
private static interface CommsAction<T> {
|
||||
|
||||
T execute(CommsSession commsSession) throws IOException;
|
||||
}
|
||||
|
||||
|
|
|
@ -161,13 +161,16 @@ public class DistributedSetCacheClientService extends AbstractControllerService
|
|||
} catch (final IOException e) {
|
||||
}
|
||||
}
|
||||
logger.info("Closed {}", new Object[] { getIdentifier() });
|
||||
if (logger.isDebugEnabled() && getIdentifier() != null) {
|
||||
logger.debug("Closed {}", new Object[]{getIdentifier()});
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
protected void finalize() throws Throwable {
|
||||
if (!closed)
|
||||
if (!closed) {
|
||||
close();
|
||||
}
|
||||
logger.debug("Finalize called");
|
||||
}
|
||||
|
||||
|
|
|
@ -73,6 +73,7 @@
|
|||
<dependency>
|
||||
<groupId>org.apache.nifi</groupId>
|
||||
<artifactId>ssl-context-service</artifactId>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
</dependencies>
|
||||
</project>
|
Loading…
Reference in New Issue