From 6ca1a9a369b10703da9af8f8a1ced0f3b02ae5c2 Mon Sep 17 00:00:00 2001 From: Deepak Bhole Date: Mon, 6 Dec 2010 15:34:01 -0500 Subject: Fixed indentation and spacing for all .java files. Added a new .settings directory which contains Eclipse preferences for code style. --- plugin/icedteanp/java/sun/applet/RequestQueue.java | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) (limited to 'plugin/icedteanp/java/sun/applet/RequestQueue.java') 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; } } -- cgit v1.2.3