File tree Expand file tree Collapse file tree
main/java/org/apache/commons/net/examples/telnet
test/java/org/apache/commons/net Expand file tree Collapse file tree Original file line number Diff line number Diff line change 4141 * see the result. Type OPT to see a report of the state of the first 25 options.
4242 */
4343public class TelnetClientExample implements Runnable , TelnetNotificationHandler {
44- private static TelnetClient tc ;
44+ private static TelnetClient tc ; //NOPMD example code
4545
4646 /**
4747 * Main for the TelnetClientExample.
Original file line number Diff line number Diff line change 4040
4141class DaytimeTCPClientTest {
4242
43- private static MockDaytimeTCPServer mockDaytimeTCPServer ;
43+ private static MockDaytimeTCPServer mockDaytimeTCPServer ; //NOPMD
4444
4545 @ AfterAll
4646 public static void afterAll () throws IOException {
Original file line number Diff line number Diff line change 5757 */
5858public abstract class AbstractFtpsTest {
5959
60- private static int SocketPort ;
61- private static FtpServer EmbeddedFtpServer ;
60+ private static int SocketPort ; //NOPMD test code
61+ private static FtpServer EmbeddedFtpServer ; //NOPMD test code
6262 protected static final boolean IMPLICIT = false ;
6363 protected static final long TEST_TIMEOUT = 10000 ; // individual test timeout
6464 private static final boolean TRACE_CALLS = Boolean .parseBoolean (System .getenv ("TRACE_CALLS" ));
Original file line number Diff line number Diff line change 3636 */
3737class TestNtpClient {
3838
39- private static SimpleNTPServer server ;
39+ private static SimpleNTPServer server ; //NOPMD test code
4040
4141 @ BeforeAll
4242 public static void oneTimeSetUp () throws IOException {
Original file line number Diff line number Diff line change 4141 */
4242class TFTPTest {
4343 private static final int SERVER_PORT = 6902 ;
44- private static TFTPServer tftpS ;
44+ private static TFTPServer tftpS ; //NOPMD test code
4545 private static final File SERVER_DIR = FileUtils .getTempDirectory ();
4646 private static final String FILE_PREFIX = "tftp-" ;
4747 private static final File [] FILES = new File [8 ];
You can’t perform that action at this time.
0 commit comments