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:
parent
d56ea8d9a9
commit
1df5d87d8c
@ -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.
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user