Constructor.java (toString): Use more efficient form of Modifier.toString().
* java/lang/reflect/Constructor.java (toString): Use more efficient form of Modifier.toString(). From-SVN: r47031
This commit is contained in:
parent
c1a7b241d1
commit
6d88e1c332
@ -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
|
||||
|
@ -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("(");
|
||||
|
Loading…
Reference in New Issue
Block a user