Don't need internal ivar name for a boolean to carry a "Flag" postfix.
This commit is contained in:
parent
49a876cb1c
commit
6dfc3e6403
|
@ -105,7 +105,7 @@ public class BasicThreadFactory implements ThreadFactory {
|
||||||
private final Integer priority;
|
private final Integer priority;
|
||||||
|
|
||||||
/** Stores the daemon status flag. */
|
/** Stores the daemon status flag. */
|
||||||
private final Boolean daemonFlag;
|
private final Boolean daemon;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates a new instance of {@code ThreadFactoryImpl} and configures it
|
* Creates a new instance of {@code ThreadFactoryImpl} and configures it
|
||||||
|
@ -122,7 +122,7 @@ private BasicThreadFactory(final Builder builder) {
|
||||||
|
|
||||||
namingPattern = builder.namingPattern;
|
namingPattern = builder.namingPattern;
|
||||||
priority = builder.priority;
|
priority = builder.priority;
|
||||||
daemonFlag = builder.daemon;
|
daemon = builder.daemon;
|
||||||
uncaughtExceptionHandler = builder.exceptionHandler;
|
uncaughtExceptionHandler = builder.exceptionHandler;
|
||||||
|
|
||||||
threadCounter = new AtomicLong();
|
threadCounter = new AtomicLong();
|
||||||
|
@ -159,7 +159,7 @@ public final String getNamingPattern() {
|
||||||
* @return the daemon flag
|
* @return the daemon flag
|
||||||
*/
|
*/
|
||||||
public final Boolean getDaemonFlag() {
|
public final Boolean getDaemonFlag() {
|
||||||
return daemonFlag;
|
return daemon;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue