aboutsummaryrefslogtreecommitdiffstats
path: root/plugin/icedteanp/java/sun/applet/RequestQueue.java
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/icedteanp/java/sun/applet/RequestQueue.java')
-rw-r--r--plugin/icedteanp/java/sun/applet/RequestQueue.java12
1 files changed, 5 insertions, 7 deletions
diff --git a/plugin/icedteanp/java/sun/applet/RequestQueue.java b/plugin/icedteanp/java/sun/applet/RequestQueue.java
index 87dc54f..17df673 100644
--- a/plugin/icedteanp/java/sun/applet/RequestQueue.java
+++ b/plugin/icedteanp/java/sun/applet/RequestQueue.java
@@ -35,17 +35,15 @@ this exception to your version of the library, but you are not
obligated to do so. If you do not wish to do so, delete this
exception statement from your version. */
-
package sun.applet;
-
public class RequestQueue {
PluginCallRequest head = null;
PluginCallRequest tail = null;
private int size = 0;
public void post(PluginCallRequest request) {
- PluginDebug.debug("Securitymanager=" + System.getSecurityManager());
+ PluginDebug.debug("Securitymanager=" + System.getSecurityManager());
if (head == null) {
head = tail = request;
tail.setNext(null);
@@ -54,7 +52,7 @@ public class RequestQueue {
tail = request;
tail.setNext(null);
}
-
+
size++;
}
@@ -67,11 +65,11 @@ public class RequestQueue {
ret.setNext(null);
size--;
-
+
return ret;
}
-
+
public int size() {
- return size;
+ return size;
}
}