From 8b06f28a9ef933bfa96f4dee071811a7346e1cf5 Mon Sep 17 00:00:00 2001 From: ray Date: Wed, 30 Apr 2008 21:06:38 +0000 Subject: [PATCH] Formatting tweaks I had laying around. git-svn-id: https://samskivert.googlecode.com/svn/trunk@2299 6335cc39-0255-0410-8fd6-9bcaacd3b74c --- src/java/com/samskivert/util/RunQueue.java | 23 +++++++++------------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/src/java/com/samskivert/util/RunQueue.java b/src/java/com/samskivert/util/RunQueue.java index cf8d243a..5a8d952d 100644 --- a/src/java/com/samskivert/util/RunQueue.java +++ b/src/java/com/samskivert/util/RunQueue.java @@ -27,21 +27,16 @@ import java.awt.EventQueue; */ public interface RunQueue { - /** - * A useful RunQueue that uses the AWT dispatch thread. - */ - public static final RunQueue AWT = new RunQueue() - { - public void postRunnable (Runnable r) - { - EventQueue.invokeLater(r); - } + /** A useful RunQueue that uses the AWT dispatch thread. */ + public static final RunQueue AWT = new RunQueue() { + public void postRunnable (Runnable r) { + EventQueue.invokeLater(r); + } - public boolean isDispatchThread () - { - return EventQueue.isDispatchThread(); - } - }; + public boolean isDispatchThread () { + return EventQueue.isDispatchThread(); + } + }; /** * Post the specified Runnable to be run on the RunQueue.