(no commit message)
[utils] / crawler / basic / src / org / wamblee / crawler / impl / App.java
index 15e740a628df1b1a2d8d363755cc170235b493de..65c7f80250b8d1321e0711761cb063622b51362c 100644 (file)
@@ -35,15 +35,23 @@ import org.wamblee.crawler.PageException;
 /**
  * Entry point for the crawler.
  */
-public class App {
+public final class App {
+    
+    /**
+     * Disabled constructor.
+     *
+     */
+    private App() { 
+        // Empty
+    }
 
     private static final Log LOG = LogFactory.getLog(App.class);
 
     private static final String LOG_FILE = "crawler.log";
 
-    public static void main(String[] args) throws Exception {
-        String configFileName = args[0];
-        String starturl = args[1];
+    public static void main(String[] aArgs) throws Exception {
+        String configFileName = aArgs[0];
+        String starturl = aArgs[1];
 
         FileOutputStream fos = new FileOutputStream(new File(LOG_FILE));
         PrintStream os = new PrintStream(fos);