Revision: 2466
Author: joewhaley
Date: 2006-06-07 16:12:58 -0700 (Wed, 07 Jun 2006)
ViewCVS: http://svn.sourceforge.net/joeq/?rev=2466&view=rev
Log Message:
-----------
Simple modifications to reduce Eclipse warnings, mostly about unused variables.
Modified Paths:
--------------
trunk/joeq_native/joeq/Allocator/SimpleAllocator.java
trunk/joeq_native/joeq/Main/Bootstrapper.java
trunk/joeq_native/joeq/Scheduler/jq_Thread.java
Modified: trunk/joeq_native/joeq/Allocator/SimpleAllocator.java
===================================================================
--- trunk/joeq_native/joeq/Allocator/SimpleAllocator.java 2006-06-07 23:03:17 UTC (rev 2465)
+++ trunk/joeq_native/joeq/Allocator/SimpleAllocator.java 2006-06-07 23:12:58 UTC (rev 2466)
@@ -774,7 +774,6 @@
boolean lastWasFree = false;
// Walk over current block.
- outer:
while (currBlockEnd.difference(p) > 0) {
if (TRACE_FREELIST) Debug.write("ptr=", p);
Modified: trunk/joeq_native/joeq/Main/Bootstrapper.java
===================================================================
--- trunk/joeq_native/joeq/Main/Bootstrapper.java 2006-06-07 23:03:17 UTC (rev 2465)
+++ trunk/joeq_native/joeq/Main/Bootstrapper.java 2006-06-07 23:12:58 UTC (rev 2466)
@@ -361,7 +361,7 @@
public int compare(Object o1, Object o2) {
return ((jq_Type)o1).getDesc().toString().compareTo(((jq_Type)o2).getDesc().toString());
}
- public boolean equals(Object o1, Object o2) { return o1 == o2; }
+ public boolean equals(Object o) { return this == o; }
});
System.out.println("Types:");
Set packages = new LinearSet();
@@ -538,13 +538,10 @@
it = classset.iterator();
while (it.hasNext()) {
jq_Type t = (jq_Type) it.next();
- if (t.isReferenceType()) {
- jq_Reference r = (jq_Reference) t;
- if (t.isClassType()) {
- jq_Class k = (jq_Class) t;
- objmap.initStaticData(k);
- objmap.addStaticFieldRelocs(k);
- }
+ if (t.isClassType()) {
+ jq_Class k = (jq_Class) t;
+ objmap.initStaticData(k);
+ objmap.addStaticFieldRelocs(k);
}
}
Modified: trunk/joeq_native/joeq/Scheduler/jq_Thread.java
===================================================================
--- trunk/joeq_native/joeq/Scheduler/jq_Thread.java 2006-06-07 23:03:17 UTC (rev 2465)
+++ trunk/joeq_native/joeq/Scheduler/jq_Thread.java 2006-06-07 23:12:58 UTC (rev 2466)
@@ -37,7 +37,6 @@
private volatile int thread_switch_enabled;
// C code relies on this field being third.
private jq_NativeThread native_thread;
- private Throwable exception_object;
private final Thread thread_object;
jq_Thread next;
private jq_CompiledCode entry_point;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|