From 95e635aba0c40b716b57b9f6ccf751fca904a56b Mon Sep 17 00:00:00 2001 From: Manuel Bentele Date: Fri, 26 Mar 2021 08:36:18 +0100 Subject: Fix Java warnings --- src/main/java/com/btr/proxy/test/ProxyTester.java | 4 ++-- src/test/java/com/btr/proxy/util/ProxyUtilTest.java | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/com/btr/proxy/test/ProxyTester.java b/src/main/java/com/btr/proxy/test/ProxyTester.java index c01c7bb..a497f86 100644 --- a/src/main/java/com/btr/proxy/test/ProxyTester.java +++ b/src/main/java/com/btr/proxy/test/ProxyTester.java @@ -35,7 +35,7 @@ public class ProxyTester extends JFrame { private static final long serialVersionUID = 1L; - private JComboBox modes; + private JComboBox modes; private JButton testButton; private JTextField urlField; @@ -62,7 +62,7 @@ public class ProxyTester extends JFrame { p.add(new JLabel("Mode:")); - this.modes = new JComboBox(ProxySearch.Strategy.values()); + this.modes = new JComboBox(ProxySearch.Strategy.values()); p.add(this.modes); p.add(new JLabel("URL:")); diff --git a/src/test/java/com/btr/proxy/util/ProxyUtilTest.java b/src/test/java/com/btr/proxy/util/ProxyUtilTest.java index ffcf03e..a95490a 100644 --- a/src/test/java/com/btr/proxy/util/ProxyUtilTest.java +++ b/src/test/java/com/btr/proxy/util/ProxyUtilTest.java @@ -1,6 +1,6 @@ package com.btr.proxy.util; -import static junit.framework.Assert.assertEquals; +import static org.junit.Assert.assertEquals; import java.net.Proxy; import java.net.ProxySelector; -- cgit v1.2.3-55-g7522