litesoft
Diff Revisions
947
vs
948
for /trunk/Java/GWT/OldServer/src/org/litesoft/GWT/forms/server/support/converters/SendableStringConverter.java
|
@@ -2,24 +2,21 @@ |
2 |
2 |
|
package org.litesoft.GWT.forms.server.support.converters; |
3 |
3 |
|
|
4 |
4 |
|
import org.litesoft.GWT.forms.server.support.nonpublic.*; |
|
5 |
+ |
|
5 |
6 |
|
import java.io.*; |
6 |
7 |
|
|
7 |
|
- |
public class SendableStringConverter extends AbstractSendableDataConverter |
8 |
|
- |
{ |
|
8 |
+ |
public class SendableStringConverter extends AbstractSendableDataConverter { |
9 |
9 |
|
public static final FormSendableDataConverter INSTANCE = new SendableStringConverter(); |
10 |
10 |
|
|
11 |
|
- |
protected Serializable convertNotNullToPassable( Object pValue ) |
12 |
|
- |
{ |
|
11 |
+ |
protected Serializable convertNotNullToPassable( Object pValue ) { |
13 |
12 |
|
return convertNonNullToString( pValue ); |
14 |
13 |
|
} |
15 |
14 |
|
|
16 |
|
- |
protected Object convertNotNullNotBoxedTypeFromPassable( Serializable pValue ) |
17 |
|
- |
{ |
|
15 |
+ |
protected Object convertNotNullNotBoxedTypeFromPassable( Serializable pValue ) { |
18 |
16 |
|
return convertNonNullToString( pValue ); |
19 |
17 |
|
} |
20 |
18 |
|
|
21 |
|
- |
protected String convertNonNullToString( Object pValue ) |
22 |
|
- |
{ |
|
19 |
+ |
protected String convertNonNullToString( Object pValue ) { |
23 |
20 |
|
return pValue.toString(); |
24 |
21 |
|
} |
25 |
22 |
|
} |