Commit 8e111a2b by Michael Koch Committed by Michael Koch

2005-05-06 Michael Koch <konqueror@gmx.de>

	* java/awt/BufferCapabilities.java
	(BufferCapabilities): Merged javadoc.

From-SVN: r99304
parent cb881fb1
2005-05-06 Michael Koch <konqueror@gmx.de> 2005-05-06 Michael Koch <konqueror@gmx.de>
* java/awt/BufferCapabilities.java
(BufferCapabilities): Merged javadoc.
2005-05-06 Michael Koch <konqueror@gmx.de>
* java/util/Locale.java * java/util/Locale.java
(defaultLocale): Use gnu.classpath.SystemProperties to get properties. (defaultLocale): Use gnu.classpath.SystemProperties to get properties.
(getLocale): New methods. Use it everywhere where instances of Locales (getLocale): New methods. Use it everywhere where instances of Locales
......
...@@ -132,23 +132,23 @@ public class BufferCapabilities implements Cloneable ...@@ -132,23 +132,23 @@ public class BufferCapabilities implements Cloneable
/** /**
* Creates a buffer capabilities object. * Creates a buffer capabilities object.
* *
* @param frontCaps front buffer capabilities descriptor * @param front front buffer capabilities descriptor
* @param backCaps back buffer capabilities descriptor * @param back back buffer capabilities descriptor
* @param flipContents the results of a flip operation or null if * @param flip the results of a flip operation or null if
* flipping is not supported * flipping is not supported
* *
* @exception IllegalArgumentException if frontCaps or backCaps is * @exception IllegalArgumentException if front or back is
* null * null
*/ */
public BufferCapabilities(ImageCapabilities frontCaps, public BufferCapabilities(ImageCapabilities front,
ImageCapabilities backCaps, ImageCapabilities back,
FlipContents flipContents) FlipContents flip)
{ {
if (frontCaps == null || backCaps == null) if (front == null || back == null)
throw new IllegalArgumentException(); throw new IllegalArgumentException();
this.front = frontCaps; this.front = front;
this.back = backCaps; this.back = back;
this.flip = flipContents; this.flip = flip;
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment