summaryrefslogtreecommitdiffstats
path: root/src/nativewindow/classes/javax/media
diff options
context:
space:
mode:
Diffstat (limited to 'src/nativewindow/classes/javax/media')
-rw-r--r--src/nativewindow/classes/javax/media/nativewindow/Capabilities.java6
-rw-r--r--src/nativewindow/classes/javax/media/nativewindow/CapabilitiesImmutable.java2
2 files changed, 4 insertions, 4 deletions
diff --git a/src/nativewindow/classes/javax/media/nativewindow/Capabilities.java b/src/nativewindow/classes/javax/media/nativewindow/Capabilities.java
index 1f63beddd..b422f50e6 100644
--- a/src/nativewindow/classes/javax/media/nativewindow/Capabilities.java
+++ b/src/nativewindow/classes/javax/media/nativewindow/Capabilities.java
@@ -314,9 +314,9 @@ public class Capabilities implements CapabilitiesImmutable, Cloneable, Comparabl
A value of -1 is interpreted as any value. */
public void setTransparentAlphaValue(int transValueAlpha) { transparentValueAlpha=transValueAlpha; }
- public StringBuffer toString(StringBuffer sink) {
+ public StringBuilder toString(StringBuilder sink) {
if(null == sink) {
- sink = new StringBuffer();
+ sink = new StringBuilder();
}
if(onscreen) {
sink.append("on-scr");
@@ -336,7 +336,7 @@ public class Capabilities implements CapabilitiesImmutable, Cloneable, Comparabl
/** Returns a textual representation of this Capabilities
object. */
public String toString() {
- StringBuffer msg = new StringBuffer();
+ StringBuilder msg = new StringBuilder();
msg.append("Caps[");
toString(msg);
msg.append("]");
diff --git a/src/nativewindow/classes/javax/media/nativewindow/CapabilitiesImmutable.java b/src/nativewindow/classes/javax/media/nativewindow/CapabilitiesImmutable.java
index 848ec74e1..3d7362c40 100644
--- a/src/nativewindow/classes/javax/media/nativewindow/CapabilitiesImmutable.java
+++ b/src/nativewindow/classes/javax/media/nativewindow/CapabilitiesImmutable.java
@@ -110,7 +110,7 @@ public interface CapabilitiesImmutable extends VisualIDHolder, WriteCloneable {
int hashCode();
/** Return a textual representation of this object. Use the given StringBuffer [optional]. */
- StringBuffer toString(StringBuffer sink);
+ StringBuilder toString(StringBuilder sink);
/** Returns a textual representation of this object. */
@Override