From 6dfc3e64037f10b84fe203415e79e2435acff558 Mon Sep 17 00:00:00 2001 From: Gary Gregory Date: Thu, 21 Dec 2017 08:47:30 -0700 Subject: [PATCH] Don't need internal ivar name for a boolean to carry a "Flag" postfix. --- .../apache/commons/lang3/concurrent/BasicThreadFactory.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/org/apache/commons/lang3/concurrent/BasicThreadFactory.java b/src/main/java/org/apache/commons/lang3/concurrent/BasicThreadFactory.java index 7746b7ad7..64a160670 100644 --- a/src/main/java/org/apache/commons/lang3/concurrent/BasicThreadFactory.java +++ b/src/main/java/org/apache/commons/lang3/concurrent/BasicThreadFactory.java @@ -105,7 +105,7 @@ public class BasicThreadFactory implements ThreadFactory { private final Integer priority; /** Stores the daemon status flag. */ - private final Boolean daemonFlag; + private final Boolean daemon; /** * Creates a new instance of {@code ThreadFactoryImpl} and configures it @@ -122,7 +122,7 @@ public class BasicThreadFactory implements ThreadFactory { namingPattern = builder.namingPattern; priority = builder.priority; - daemonFlag = builder.daemon; + daemon = builder.daemon; uncaughtExceptionHandler = builder.exceptionHandler; threadCounter = new AtomicLong(); @@ -159,7 +159,7 @@ public class BasicThreadFactory implements ThreadFactory { * @return the daemon flag */ public final Boolean getDaemonFlag() { - return daemonFlag; + return daemon; } /**