aboutsummaryrefslogtreecommitdiff
path: root/libjava/classpath/javax/swing/text/LayoutQueue.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/classpath/javax/swing/text/LayoutQueue.java')
-rw-r--r--libjava/classpath/javax/swing/text/LayoutQueue.java32
1 files changed, 16 insertions, 16 deletions
diff --git a/libjava/classpath/javax/swing/text/LayoutQueue.java b/libjava/classpath/javax/swing/text/LayoutQueue.java
index b0c84b9..10fadd5 100644
--- a/libjava/classpath/javax/swing/text/LayoutQueue.java
+++ b/libjava/classpath/javax/swing/text/LayoutQueue.java
@@ -67,8 +67,8 @@ public class LayoutQueue
{
synchronized (list)
{
- list.addLast(task);
- list.notify();
+ list.addLast(task);
+ list.notify();
}
}
@@ -81,20 +81,20 @@ public class LayoutQueue
{
synchronized (list)
{
- while (list.size() == 0)
- {
- try
- {
- list.wait();
- }
- catch (InterruptedException _)
- {
- // This seemed like a good idea, but it has not been
- // tested on the JDK.
- return null;
- }
- }
- return (Runnable) list.removeFirst();
+ while (list.size() == 0)
+ {
+ try
+ {
+ list.wait();
+ }
+ catch (InterruptedException _)
+ {
+ // This seemed like a good idea, but it has not been
+ // tested on the JDK.
+ return null;
+ }
+ }
+ return (Runnable) list.removeFirst();
}
}