aboutsummaryrefslogtreecommitdiffstats
path: root/plugin/icedteanp/java/sun/applet/RequestQueue.java
diff options
context:
space:
mode:
authorDeepak Bhole <[email protected]>2010-12-06 15:34:01 -0500
committerDeepak Bhole <[email protected]>2010-12-06 15:34:01 -0500
commit6ca1a9a369b10703da9af8f8a1ced0f3b02ae5c2 (patch)
tree568f8e454db94fa8abc896b46ce8cac7a9f3b74d /plugin/icedteanp/java/sun/applet/RequestQueue.java
parent0d66adf24179c33bbdccaacc10d4c8a5f5e2cd54 (diff)
Fixed indentation and spacing for all .java files.
Added a new .settings directory which contains Eclipse preferences for code style.
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;
}
}