diff options
Diffstat (limited to 'libjava/classpath/vm/reference/gnu/java/lang/VMCPStringBuilder.java')
-rw-r--r-- | libjava/classpath/vm/reference/gnu/java/lang/VMCPStringBuilder.java | 34 |
1 files changed, 17 insertions, 17 deletions
diff --git a/libjava/classpath/vm/reference/gnu/java/lang/VMCPStringBuilder.java b/libjava/classpath/vm/reference/gnu/java/lang/VMCPStringBuilder.java index 8e137cd3fec..c3a3784f398 100644 --- a/libjava/classpath/vm/reference/gnu/java/lang/VMCPStringBuilder.java +++ b/libjava/classpath/vm/reference/gnu/java/lang/VMCPStringBuilder.java @@ -59,16 +59,16 @@ final class VMCPStringBuilder { try { - cons = String.class.getDeclaredConstructor(new Class[] { char[].class, - Integer.TYPE, - Integer.TYPE, - Boolean.TYPE }); - cons.setAccessible(true); + cons = String.class.getDeclaredConstructor(new Class[] { char[].class, + Integer.TYPE, + Integer.TYPE, + Boolean.TYPE }); + cons.setAccessible(true); } catch (NoSuchMethodException e) { - throw (Error) - new InternalError("Could not get no-copy String constructor").initCause(e); + throw (Error) + new InternalError("Could not get no-copy String constructor").initCause(e); } } @@ -87,25 +87,25 @@ final class VMCPStringBuilder { try { - return (String) - cons.newInstance(new Object[] { value, Integer.valueOf(startIndex), - Integer.valueOf(count), - Boolean.valueOf(true) }); + return (String) + cons.newInstance(new Object[] { value, Integer.valueOf(startIndex), + Integer.valueOf(count), + Boolean.valueOf(true) }); } catch (InstantiationException e) { - throw (Error) - new InternalError("Could not instantiate no-copy String constructor").initCause(e); + throw (Error) + new InternalError("Could not instantiate no-copy String constructor").initCause(e); } catch (IllegalAccessException e) { - throw (Error) - new InternalError("Could not access no-copy String constructor").initCause(e); + throw (Error) + new InternalError("Could not access no-copy String constructor").initCause(e); } catch (InvocationTargetException e) { - throw (Error) - new InternalError("Error calling no-copy String constructor").initCause(e); + throw (Error) + new InternalError("Error calling no-copy String constructor").initCause(e); } } |