[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[cp-patches] FYI: MediaTracker formatting fix
From: |
Roman Kennke |
Subject: |
[cp-patches] FYI: MediaTracker formatting fix |
Date: |
Wed, 13 Apr 2005 13:55:08 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.2.1) Gecko/20021204 |
MediaTracker also had some tabs in it. I fixed this.
2005-04-13 Roman Kennke <address@hidden>
* java/awt/MediaTracker.java:
Reindented tabs to spaces.
/Roman
Index: java/awt/MediaTracker.java
===================================================================
RCS file: /cvsroot/classpath/classpath/java/awt/MediaTracker.java,v
retrieving revision 1.13
diff -u -r1.13 MediaTracker.java
--- java/awt/MediaTracker.java 13 Apr 2005 11:50:53 -0000 1.13
+++ java/awt/MediaTracker.java 13 Apr 2005 11:53:20 -0000
@@ -126,7 +126,7 @@
* @see address@hidden java.awt.image.ImageObserver}
*/
public boolean imageUpdate(Image img, int flags, int x, int y,
- int width, int height)
+ int width, int height)
{
if ((flags & ABORT) != 0)
status = ABORTED;
@@ -138,7 +138,7 @@
status = 0;
synchronized (MediaTracker.this)
- {
+ {
MediaTracker.this.notifyAll();
}
@@ -272,7 +272,7 @@
while (e != null)
{
if ((e.status & ERRORED) != 0)
- return true;
+ return true;
e = e.next;
}
return false;
@@ -291,11 +291,11 @@
while (e != null)
{
if ((e.status & ERRORED) != 0)
- {
- if (result == null)
- result = new ArrayList();
- result.add(e.image);
- }
+ {
+ if (result == null)
+ result = new ArrayList();
+ result.add(e.image);
+ }
e = e.next;
}
if (result == null)
@@ -344,12 +344,12 @@
synchronized (this)
{
while (result == false)
- {
- wait(ms);
- result = checkAll(true);
- if ((System.currentTimeMillis() - start) > ms)
- break;
- }
+ {
+ wait(ms);
+ result = checkAll(true);
+ if ((System.currentTimeMillis() - start) > ms)
+ break;
+ }
}
return result;
@@ -380,7 +380,7 @@
e.status = LOADING;
}
result |= e.status;
- e = e.next;
+ e = e.next;
}
return result;
}
@@ -453,7 +453,7 @@
while (e != null)
{
if (e.id == id && ((e.status & ERRORED) != 0))
- return true;
+ return true;
e = e.next;
}
return false;
@@ -475,11 +475,11 @@
while (e != null)
{
if (e.id == id && ((e.status & ERRORED) != 0))
- {
- if (result == null)
- result = new ArrayList();
- result.add(e.image);
- }
+ {
+ if (result == null)
+ result = new ArrayList();
+ result.add(e.image);
+ }
e = e.next;
}
if (result == null)
@@ -534,12 +534,12 @@
synchronized (this)
{
while (result == false)
- {
- wait(ms);
- result = checkID(id, true);
- if ((System.currentTimeMillis() - start) > ms)
- break;
- }
+ {
+ wait(ms);
+ result = checkID(id, true);
+ if ((System.currentTimeMillis() - start) > ms)
+ break;
+ }
}
return result;
@@ -564,7 +564,7 @@
while (e != null)
{
if (e.id == id)
- {
+ {
if (load && e.status == 0)
{
boolean complete = target.prepareImage(e.image, e);
@@ -574,8 +574,8 @@
e.status = LOADING;
}
result |= e.status;
- }
- e = e.next;
+ }
+ e = e.next;
}
return result;
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [cp-patches] FYI: MediaTracker formatting fix,
Roman Kennke <=