Skip to content

Commit 444f8aa

Browse files
committed
Correcting findbug report
1 parent 61a375e commit 444f8aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/main/java/org/simplejavamail/mailer/internal/mailsender/MailSender.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ the proxy bridge server (or connection pool in async mode) while a non-async ema
163163
executor = Executors.newFixedThreadPool(threadPoolSize);
164164
}
165165
executor.execute(new Runnable() {
166-
private final String name = "sendMail process";
166+
private static final String NAME = "sendMail process";
167167

168168
@Override
169169
public void run() {
@@ -176,7 +176,7 @@ public void run() {
176176

177177
@Override
178178
public String toString() {
179-
return name;
179+
return NAME;
180180
}
181181
});
182182
} else {

0 commit comments

Comments
 (0)