BufferCapabilities.java (BufferCapabilities): Fix the typo.

2005-05-04  H.J. Lu  <hongjiu.lu@intel.com>

	* java/awt/BufferCapabilities.java (BufferCapabilities): Fix
	the typo.

From-SVN: r99261
This commit is contained in:
H.J. Lu 2005-05-05 04:27:06 +00:00 committed by H.J. Lu
parent d56ea8d9a9
commit 1df5d87d8c
2 changed files with 9 additions and 4 deletions

View 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.

View 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;
}
/**