This is an automated email from the ASF dual-hosted git repository. ggregory pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/commons-net.git
The following commit(s) were added to refs/heads/master by this push: new 2304802 Use final. 2304802 is described below commit 2304802b2f2a2d124c242317d3ed903a6ac8fa31 Author: Gary Gregory <garydgreg...@gmail.com> AuthorDate: Fri Nov 20 22:13:11 2020 -0500 Use final. --- src/test/java/org/apache/commons/net/pop3/POP3ClientCommandsTest.java | 2 +- src/test/java/org/apache/commons/net/telnet/TelnetClientTest.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/test/java/org/apache/commons/net/pop3/POP3ClientCommandsTest.java b/src/test/java/org/apache/commons/net/pop3/POP3ClientCommandsTest.java index eb27f77..9aeb041 100644 --- a/src/test/java/org/apache/commons/net/pop3/POP3ClientCommandsTest.java +++ b/src/test/java/org/apache/commons/net/pop3/POP3ClientCommandsTest.java @@ -388,7 +388,7 @@ public class POP3ClientCommandsTest extends TestCase int actualSize = 0; final POP3MessageInfo msg = pop3Client.listMessage(1); - int reportedSize = msg.size; + final int reportedSize = msg.size; //Now try to retrieve more lines than exist in the message final Reader r = pop3Client.retrieveMessageTop(1, 100000); diff --git a/src/test/java/org/apache/commons/net/telnet/TelnetClientTest.java b/src/test/java/org/apache/commons/net/telnet/TelnetClientTest.java index 2d05bd3..8e30a38 100644 --- a/src/test/java/org/apache/commons/net/telnet/TelnetClientTest.java +++ b/src/test/java/org/apache/commons/net/telnet/TelnetClientTest.java @@ -805,7 +805,7 @@ extends TestCase implements TelnetNotificationHandler final InputStream instr = NOREAD.client.getInputStream(); final byte[] buff = new byte[4]; - int ret_read = instr.read(buff); + final int ret_read = instr.read(buff); if(ret_read == 1 && buff[0] == 'A') { read_ok = true;