OSDN Git Service

2005-05-04 H.J. Lu <hongjiu.lu@intel.com>
authorhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 5 May 2005 04:27:06 +0000 (04:27 +0000)
committerhjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 5 May 2005 04:27:06 +0000 (04:27 +0000)
* 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

libjava/ChangeLog
libjava/java/awt/BufferCapabilities.java

index 8b196b5..cdd5f06 100644 (file)
@@ -1,3 +1,8 @@
+2005-05-04  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * java/awt/BufferCapabilities.java (BufferCapabilities): Fix
+       the typo.
+
 2005-05-04  Thomas Fitzsimmons  <fitzsim@redhat.com>
 
        * java/awt/image/BufferStrategy.java: Document.
index 4ff2ba9..2140ad1 100644 (file)
@@ -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;
   }
 
   /**