summaryrefslogtreecommitdiffstats
path: root/libjava/classpath/gnu/java/beans/editors/NativeFloatEditor.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/classpath/gnu/java/beans/editors/NativeFloatEditor.java')
-rw-r--r--libjava/classpath/gnu/java/beans/editors/NativeFloatEditor.java20
1 files changed, 10 insertions, 10 deletions
diff --git a/libjava/classpath/gnu/java/beans/editors/NativeFloatEditor.java b/libjava/classpath/gnu/java/beans/editors/NativeFloatEditor.java
index 801377e7df9..09f9d6b9c39 100644
--- a/libjava/classpath/gnu/java/beans/editors/NativeFloatEditor.java
+++ b/libjava/classpath/gnu/java/beans/editors/NativeFloatEditor.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 NativeFloatEditor extends PropertyEditorSupport {
- /** setAsText for float calls Float.valueOf(). **/
- public void setAsText(String val) throws IllegalArgumentException {
- setValue(Float.valueOf(val));
- }
-
- /** getAsText for float calls Float.toString(). **/
- public String getAsText() {
- return getValue().toString();
- }
+ /** setAsText for float calls Float.valueOf(). **/
+ public void setAsText(String val) throws IllegalArgumentException {
+ setValue(Float.valueOf(val));
+ }
+
+ /** getAsText for float calls Float.toString(). **/
+ public String getAsText() {
+ return getValue().toString();
+ }
}
OpenPOWER on IntegriCloud