From 6ca1a9a369b10703da9af8f8a1ced0f3b02ae5c2 Mon Sep 17 00:00:00 2001
From: Deepak Bhole <dbhole@redhat.com>
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.
---
 .../java/netscape/javascript/JSRunnable.java       | 46 +++++++++++-----------
 1 file changed, 23 insertions(+), 23 deletions(-)

(limited to 'plugin/icedteanp/java/netscape/javascript/JSRunnable.java')

diff --git a/plugin/icedteanp/java/netscape/javascript/JSRunnable.java b/plugin/icedteanp/java/netscape/javascript/JSRunnable.java
index 8f1cf72..df245a7 100644
--- a/plugin/icedteanp/java/netscape/javascript/JSRunnable.java
+++ b/plugin/icedteanp/java/netscape/javascript/JSRunnable.java
@@ -45,28 +45,28 @@ import sun.applet.PluginDebug;
  * Runs a JavaScript object with a run() method in a separate thread.
  */
 public class JSRunnable implements Runnable {
-	private JSObject runnable;
+    private JSObject runnable;
 
-	public JSRunnable(JSObject runnable) {
-		this.runnable = runnable;
-		synchronized(this) {
-			new Thread(this).start();
-			try {
-				this.wait();
-			} catch (InterruptedException ie) {
-			}
-		}
-	}
-	
-	public void run() {
-		try {
-			runnable.call("run", null);
-			synchronized(this) {
-				notifyAll();
-			}
-		} catch (Throwable t) {
-			PluginDebug.debug(t.toString());
-			t.printStackTrace(System.err);
-		}
-	}
+    public JSRunnable(JSObject runnable) {
+        this.runnable = runnable;
+        synchronized (this) {
+            new Thread(this).start();
+            try {
+                this.wait();
+            } catch (InterruptedException ie) {
+            }
+        }
+    }
+
+    public void run() {
+        try {
+            runnable.call("run", null);
+            synchronized (this) {
+                notifyAll();
+            }
+        } catch (Throwable t) {
+            PluginDebug.debug(t.toString());
+            t.printStackTrace(System.err);
+        }
+    }
 }
-- 
cgit v1.2.3