From da498675b32cacfed666048d5795bddd521a20a2 Mon Sep 17 00:00:00 2001 From: hjl <hjl@138bc75d-0d04-0410-961f-82ee72b054a4> Date: Thu, 5 May 2005 04:27:06 +0000 Subject: [PATCH] 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 --- libjava/ChangeLog | 5 +++++ libjava/java/awt/BufferCapabilities.java | 8 ++++---- 2 files changed, 9 insertions(+), 4 deletions(-) diff --git a/libjava/ChangeLog b/libjava/ChangeLog index 8b196b5e3ecf..cdd5f060a6f7 100644 --- a/libjava/ChangeLog +++ b/libjava/ChangeLog @@ -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. diff --git a/libjava/java/awt/BufferCapabilities.java b/libjava/java/awt/BufferCapabilities.java index 4ff2ba98d9fd..2140ad1cfce5 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; } /** -- GitLab