diff options
author | hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-05-05 04:27:06 +0000 |
---|---|---|
committer | hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> | 2005-05-05 04:27:06 +0000 |
commit | da498675b32cacfed666048d5795bddd521a20a2 (patch) | |
tree | 562d58cc91a0a8e88bc739ab5315df60f674658a /libjava/java | |
parent | 4e9df534ba285e7f10c4b71657b200e12b95c01a (diff) | |
download | gcc-da498675b32cacfed666048d5795bddd521a20a2.tar.gz |
2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
* java/awt/BufferCapabilities.java (BufferCapabilities): Fix
the typo.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@99261 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava/java')
-rw-r--r-- | libjava/java/awt/BufferCapabilities.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libjava/java/awt/BufferCapabilities.java b/libjava/java/awt/BufferCapabilities.java index 4ff2ba98d9f..2140ad1cfce 100644 --- a/libjava/java/awt/BufferCapabilities.java +++ b/libjava/java/awt/BufferCapabilities.java @@ -144,11 +144,11 @@ public class BufferCapabilities implements Cloneable ImageCapabilities backCaps, FlipContents flipContents) { - if (front == null || back == null) + if (frontCaps == null || backCaps == null) throw new IllegalArgumentException(); - this.front = front; - this.back = back; - this.flip = flip; + this.front = frontCaps; + this.back = backCaps; + this.flip = flipContents; } /** |