diff options
Diffstat (limited to 'libjava/classpath/gnu/java/beans/editors/NativeByteEditor.java')
-rw-r--r-- | libjava/classpath/gnu/java/beans/editors/NativeByteEditor.java | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/libjava/classpath/gnu/java/beans/editors/NativeByteEditor.java b/libjava/classpath/gnu/java/beans/editors/NativeByteEditor.java index f3ec5fa1945..d427a9e3fd2 100644 --- a/libjava/classpath/gnu/java/beans/editors/NativeByteEditor.java +++ b/libjava/classpath/gnu/java/beans/editors/NativeByteEditor.java @@ -7,7 +7,7 @@ GNU Classpath is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version. - + GNU Classpath is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU @@ -49,13 +49,13 @@ import java.beans.PropertyEditorSupport; **/ public class NativeByteEditor extends PropertyEditorSupport { - /** setAsText for byte calls Byte.valueOf(). **/ - public void setAsText(String val) throws IllegalArgumentException { - setValue(Byte.valueOf(val)); - } - - /** getAsText for byte calls Byte.toString(). **/ - public String getAsText() { - return getValue().toString(); - } + /** setAsText for byte calls Byte.valueOf(). **/ + public void setAsText(String val) throws IllegalArgumentException { + setValue(Byte.valueOf(val)); + } + + /** getAsText for byte calls Byte.toString(). **/ + public String getAsText() { + return getValue().toString(); + } } |