projects
/
org.ibex.core.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
385312e
)
removing unnecessary constructors
author
tupshin
<tupshin@tupshin.com>
Thu, 5 Feb 2004 01:45:17 +0000
(
01:45
+0000)
committer
tupshin
<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
patch
|
blob
|
history
src/org/ibex/Stream.java
patch
|
blob
|
history
src/org/ibex/js/Interpreter.java
patch
|
blob
|
history
src/org/ibex/js/JS.java
patch
|
blob
|
history
src/org/ibex/plat/POSIX.java
patch
|
blob
|
history
src/org/ibex/plat/X11.java
patch
|
blob
|
history
src/org/ibex/util/CAB.java
patch
|
blob
|
history
src/org/ibex/util/DirtyList.java
patch
|
blob
|
history
src/org/ibex/util/Grammar.java
patch
|
blob
|
history
src/org/ibex/util/Hash.java
patch
|
blob
|
history
src/org/ibex/util/Semaphore.java
patch
|
blob
|
history
diff --git
a/src/org/ibex/HTTP.java
b/src/org/ibex/HTTP.java
index
5cf4e3a
..
3dbc4cd
100644
(file)
--- a/
src/org/ibex/HTTP.java
+++ b/
src/org/ibex/HTTP.java
@@
-648,8
+648,6
@@
public class HTTP {
/** encapsulates most of the proxy logic; some is shared in HTTP.java */
public static class Proxy {
/** 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
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
diff --git
a/src/org/ibex/Stream.java
b/src/org/ibex/Stream.java
index
526663a
..
c12583a
100644
(file)
--- a/
src/org/ibex/Stream.java
+++ b/
src/org/ibex/Stream.java
@@
-94,7
+94,6
@@
public abstract class Stream extends JS.Cloneable {
/** the Builtin resource */
public static class Builtin extends Stream {
/** 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(); }
}
public String getCacheKey() throws NotCacheableException { throw new NotCacheableException(); }
public InputStream getInputStream() throws IOException { return Platform.getBuiltinInputStream(); }
}
diff --git
a/src/org/ibex/js/Interpreter.java
b/src/org/ibex/js/Interpreter.java
index
1b679ca
..
07712aa
100644
(file)
--- a/
src/org/ibex/js/Interpreter.java
+++ b/
src/org/ibex/js/Interpreter.java
@@
-555,7
+555,7
@@
class Interpreter implements ByteCodes, Tokens {
public CallMarker(Interpreter cx) { pc = cx.pc + 1; scope = cx.scope; f = cx.f; }
}
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 {
private static CatchMarker catchMarker = new CatchMarker();
public static class LoopMarker {
diff --git
a/src/org/ibex/js/JS.java
b/src/org/ibex/js/JS.java
index
d73b37b
..
3158851
100644
(file)
--- a/
src/org/ibex/js/JS.java
+++ b/
src/org/ibex/js/JS.java
@@
-23,7
+23,6
@@
public class JS extends org.ibex.util.BalancedTree {
JS _unclone() { return this; }
public static class Cloneable extends JS {
JS _unclone() { return this; }
public static class Cloneable extends JS {
- public Cloneable() { }
public Object jsclone() throws JSExn {
return new Clone(this);
}
public Object jsclone() throws JSExn {
return new Clone(this);
}
diff --git
a/src/org/ibex/plat/POSIX.java
b/src/org/ibex/plat/POSIX.java
index
38f4a47
..
7b721a7
100644
(file)
--- a/
src/org/ibex/plat/POSIX.java
+++ b/
src/org/ibex/plat/POSIX.java
@@
-35,7
+35,6
@@
public class POSIX extends GCJ {
spawnChildProcess(cmd);
}
spawnChildProcess(cmd);
}
- public POSIX() { }
}
}
diff --git
a/src/org/ibex/plat/X11.java
b/src/org/ibex/plat/X11.java
index
e821ad5
..
14c4ca0
100644
(file)
--- a/
src/org/ibex/plat/X11.java
+++ b/
src/org/ibex/plat/X11.java
@@
-43,7
+43,6
@@
public class X11 extends POSIX {
protected native void eventThread();
private native void natInit();
protected native void eventThread();
private native void natInit();
- public X11() { }
public void postInit() {
natInit();
(new Thread() { public void run() { eventThread(); } }).start();
public void postInit() {
natInit();
(new Thread() { public void run() { eventThread(); } }).start();
diff --git
a/src/org/ibex/util/CAB.java
b/src/org/ibex/util/CAB.java
index
98aa340
..
a8d7e0b
100644
(file)
--- a/
src/org/ibex/util/CAB.java
+++ b/
src/org/ibex/util/CAB.java
@@
-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
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);
public void print(PrintStream ps) {
ps.println("CAB CFFILE CFHEADER v" + ((int)versionMajor) + "." + ((int)versionMinor));
ps.println(" total file size = " + fileSize);
diff --git
a/src/org/ibex/util/DirtyList.java
b/src/org/ibex/util/DirtyList.java
index
932a99f
..
0a77a94
100644
(file)
--- a/
src/org/ibex/util/DirtyList.java
+++ b/
src/org/ibex/util/DirtyList.java
@@
-18,8
+18,6
@@
package org.ibex.util;
*/
public class DirtyList {
*/
public class DirtyList {
- public DirtyList() { }
-
/** The dirty regions (each one is an int[4]). */
private int[][] dirties = new int[10][];
/** The dirty regions (each one is an int[4]). */
private int[][] dirties = new int[10][];
diff --git
a/src/org/ibex/util/Grammar.java
b/src/org/ibex/util/Grammar.java
index
a690e62
..
565de4d
100644
(file)
--- a/
src/org/ibex/util/Grammar.java
+++ b/
src/org/ibex/util/Grammar.java
@@
-5,7
+5,6
@@
import org.ibex.js.*;
public abstract class Grammar extends JS {
public JS action = null;
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 {
// 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 {
diff --git
a/src/org/ibex/util/Hash.java
b/src/org/ibex/util/Hash.java
index
40cf117
..
4b38870
100644
(file)
--- a/
src/org/ibex/util/Hash.java
+++ b/
src/org/ibex/util/Hash.java
@@
-154,8
+154,6
@@
public class Hash {
private int iterator = 0;
private int found = 0;
private int iterator = 0;
private int found = 0;
- public HashEnum () { }
-
public boolean hasMoreElements() {
return found < usedslots;
}
public boolean hasMoreElements() {
return found < usedslots;
}
diff --git
a/src/org/ibex/util/Semaphore.java
b/src/org/ibex/util/Semaphore.java
index
79dc268
..
ad8376f
100644
(file)
--- a/
src/org/ibex/util/Semaphore.java
+++ b/
src/org/ibex/util/Semaphore.java
@@
-12,8
+12,6
@@
public class Semaphore {
private int val = 0;
private int val = 0;
- public Semaphore() { };
-
/** Decrement the counter, blocking if zero. */
public synchronized void block() {
while(val == 0) {
/** Decrement the counter, blocking if zero. */
public synchronized void block() {
while(val == 0) {