OSDN Git Service

Normalise whitespace in GNU Classpath.
[pf3gnuchains/gcc-fork.git] / libjava / classpath / gnu / java / beans / editors / NativeShortEditor.java
index ffaa266..1d8845b 100644 (file)
@@ -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 NativeShortEditor extends PropertyEditorSupport {
-       /** setAsText for short calls Short.valueOf(). **/
-       public void setAsText(String val) throws IllegalArgumentException {
-               setValue(Short.valueOf(val));
-       }
-
-       /** getAsText for short calls Short.toString(). **/
-       public String getAsText() {
-               return getValue().toString();
-       }
+        /** setAsText for short calls Short.valueOf(). **/
+        public void setAsText(String val) throws IllegalArgumentException {
+                setValue(Short.valueOf(val));
+        }
+
+        /** getAsText for short calls Short.toString(). **/
+        public String getAsText() {
+                return getValue().toString();
+        }
 }