Simple code cleanups.
authorwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Wed, 27 Aug 2003 21:39:36 +0000 (21:39 +0000)
committerwassa <wassa@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Wed, 27 Aug 2003 21:39:36 +0000 (21:39 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@747 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/edu/internet2/middleware/shibboleth/utils/ResolverTest.java

index 9725667..ba13620 100644 (file)
@@ -77,10 +77,8 @@ import edu.internet2.middleware.shibboleth.common.AuthNPrincipal;
  * 
  * @author Walter Hoehn
  */
-
 public class ResolverTest {
 
-       private static Logger log = Logger.getLogger(ResolverTest.class.getName());
        private static boolean debug = false;
        private static String file = null;
        private static String requester = null;
@@ -168,6 +166,10 @@ public class ResolverTest {
                }
        }
 
+       /**
+        * Ensures that all required parameters were specified and successfully parsed.
+        *
+        */
        private static void checkRequired() {
                if (file == null || user == null) {
                        System.err.println("Missing required parameter(s).");
@@ -181,10 +183,10 @@ public class ResolverTest {
                }
        }
 
-       private static void configureLogging(boolean debugOn) {
+       private static void configureLogging(boolean debugEnabled) {
 
                BasicConfigurator.configure();
-               if (debug) {
+               if (debugEnabled) {
                        Logger.getRootLogger().setLevel(Level.DEBUG);
                } else {
                        Logger.getRootLogger().setLevel(Level.INFO);