removing unnecessary constructors
authortupshin <tupshin@tupshin.com>
Thu, 5 Feb 2004 01:45:17 +0000 (01:45 +0000)
committertupshin <tupshin@tupshin.com>
Thu, 5 Feb 2004 01:45:17 +0000 (01:45 +0000)
darcs-hash:20040205014517-a9258-a226885455259b095f7f34bd9bfdde1579fe0288.gz

src/org/ibex/HTTP.java
src/org/ibex/Stream.java
src/org/ibex/js/Interpreter.java
src/org/ibex/js/JS.java
src/org/ibex/plat/POSIX.java
src/org/ibex/plat/X11.java
src/org/ibex/util/CAB.java
src/org/ibex/util/DirtyList.java
src/org/ibex/util/Grammar.java
src/org/ibex/util/Hash.java
src/org/ibex/util/Semaphore.java

index 5cf4e3a..3dbc4cd 100644 (file)
@@ -648,8 +648,6 @@ public class HTTP {
     /** encapsulates most of the proxy logic; some is shared in HTTP.java */
     public static class Proxy {
         
-        public Proxy() { }
-        
         public String httpProxyHost = null;                  ///< the HTTP Proxy host to use
         public int httpProxyPort = -1;                       ///< the HTTP Proxy port to use
         public String httpsProxyHost = null;                 ///< seperate proxy for HTTPS
index 526663a..c12583a 100644 (file)
@@ -94,7 +94,6 @@ public abstract class Stream extends JS.Cloneable {
 
     /** the Builtin resource */
     public static class Builtin extends Stream {
-        public Builtin() { };
         public String getCacheKey() throws NotCacheableException { throw new NotCacheableException(); }
         public InputStream getInputStream() throws IOException { return Platform.getBuiltinInputStream(); }
     }
index 1b679ca..07712aa 100644 (file)
@@ -555,7 +555,7 @@ class Interpreter implements ByteCodes, Tokens {
         public CallMarker(Interpreter cx) { pc = cx.pc + 1; scope = cx.scope; f = cx.f; }
     }
     
-    public static class CatchMarker { public CatchMarker() { } }
+    public static class CatchMarker { }
     private static CatchMarker catchMarker = new CatchMarker();
     
     public static class LoopMarker {
index d73b37b..3158851 100644 (file)
@@ -23,7 +23,6 @@ public class JS extends org.ibex.util.BalancedTree {
 
     JS _unclone() { return this; }
     public static class Cloneable extends JS {
-        public Cloneable() { }
         public Object jsclone() throws JSExn {
             return new Clone(this);
         }
index 38f4a47..7b721a7 100644 (file)
@@ -35,7 +35,6 @@ public class POSIX extends GCJ {
         spawnChildProcess(cmd);
     }
 
-    public POSIX() { }
 }
 
 
index e821ad5..14c4ca0 100644 (file)
@@ -43,7 +43,6 @@ public class X11 extends POSIX {
     protected native void eventThread();
     private native void natInit();
 
-    public X11() { }
     public void postInit() {
         natInit();
         (new Thread() { public void run() { eventThread(); } }).start();
index 98aa340..a8d7e0b 100644 (file)
@@ -106,8 +106,6 @@ public class CAB {
         int readCFFOLDERs = 0;                    // the number of folders read in so far
         int readCFFILEs = 0;                      // the number of folders read in so far
 
-        public CFHEADER() { }
-
         public void print(PrintStream ps) {
             ps.println("CAB CFFILE CFHEADER v" + ((int)versionMajor) + "." + ((int)versionMinor));
             ps.println("    total file size               = " + fileSize);
index 932a99f..0a77a94 100644 (file)
@@ -18,8 +18,6 @@ package org.ibex.util;
  */
 public class DirtyList {
 
-    public DirtyList() { }
-    
     /** The dirty regions (each one is an int[4]). */
     private int[][] dirties = new int[10][];
 
index a690e62..565de4d 100644 (file)
@@ -5,7 +5,6 @@ import org.ibex.js.*;
 public abstract class Grammar extends JS {
 
     public JS action = null;
-    public Grammar() { }
 
     // means we call()ed a Grammar that hasn't been bound to a scope yet
     public Object call(Object a0, Object a1, Object a2, Object[] rest, int nargs) throws JSExn {
index 40cf117..4b38870 100644 (file)
@@ -154,8 +154,6 @@ public class Hash {
         private int iterator = 0;
         private int found = 0;
         
-        public HashEnum () { }
-        
         public boolean hasMoreElements() {
             return found < usedslots;
         }
index 79dc268..ad8376f 100644 (file)
@@ -12,8 +12,6 @@ public class Semaphore {
     
     private int val = 0;
 
-    public Semaphore() { };
-
     /** Decrement the counter, blocking if zero. */
     public synchronized void block() {
         while(val == 0) {