summaryrefslogtreecommitdiff
path: root/libjava
diff options
context:
space:
mode:
Diffstat (limited to 'libjava')
-rw-r--r--libjava/ChangeLog3
-rw-r--r--libjava/java/lang/reflect/Constructor.java2
2 files changed, 4 insertions, 1 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog
index eead06f7300..b32af473fc6 100644
--- a/libjava/ChangeLog
+++ b/libjava/ChangeLog
@@ -1,5 +1,8 @@
2001-11-14 Tom Tromey <tromey@redhat.com>
+ * java/lang/reflect/Constructor.java (toString): Use more
+ efficient form of Modifier.toString().
+
Re-merges with Classpath, from various people:
* java/lang/reflect/Modifier.java: Reindented.
(toString): Only trim trailing space if text was added to
diff --git a/libjava/java/lang/reflect/Constructor.java b/libjava/java/lang/reflect/Constructor.java
index cd07a43f26e..4a30e2ae394 100644
--- a/libjava/java/lang/reflect/Constructor.java
+++ b/libjava/java/lang/reflect/Constructor.java
@@ -75,7 +75,7 @@ public final class Constructor extends AccessibleObject implements Member
if (parameter_types == null)
getType ();
StringBuffer b = new StringBuffer ();
- b.append(Modifier.toString(getModifiers()));
+ Modifier.toString(getModifiers(), b);
b.append(" ");
Method.appendClassName (b, declaringClass);
b.append("(");