litesoft
Diff Revisions
947
vs
948
for /trunk/Java/GWT/OldServer/src/org/litesoft/GWT/forms/server/support/nonpublic/AbstractSendableDataConverter.java
|
@@ -1,18 +1,16 @@ |
1 |
1 |
|
// This Source Code is in the Public Domain per: http://unlicense.org |
2 |
2 |
|
package org.litesoft.GWT.forms.server.support.nonpublic; |
3 |
3 |
|
|
4 |
|
- |
import java.io.*; |
5 |
4 |
|
import org.litesoft.core.util.*; |
6 |
5 |
|
|
7 |
|
- |
public abstract class AbstractSendableDataConverter extends TypeConverter implements FormSendableDataConverter |
8 |
|
- |
{ |
9 |
|
- |
public Serializable convertToPassable( Object pValue ) |
10 |
|
- |
{ |
|
6 |
+ |
import java.io.*; |
|
7 |
+ |
|
|
8 |
+ |
public abstract class AbstractSendableDataConverter extends TypeConverter implements FormSendableDataConverter { |
|
9 |
+ |
public Serializable convertToPassable( Object pValue ) { |
11 |
10 |
|
return (pValue != null) ? convertNotNullToPassable( pValue ) : null; |
12 |
11 |
|
} |
13 |
12 |
|
|
14 |
|
- |
public Object convertFromPassable( Serializable pValue ) |
15 |
|
- |
{ |
|
13 |
+ |
public Object convertFromPassable( Serializable pValue ) { |
16 |
14 |
|
return pValue != null ? convertNotNullNotBoxedTypeFromPassable( pValue ) : null; |
17 |
15 |
|
} |
18 |
16 |
|
|