forked from EsotericSoftware/kryo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
351366d
commit 80859a2
Showing
6 changed files
with
205 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,9 +3,6 @@ | |
|
||
import java.math.BigDecimal; | ||
import java.math.BigInteger; | ||
import java.util.ArrayList; | ||
import java.util.Arrays; | ||
import java.util.Collection; | ||
import java.util.Collections; | ||
import java.util.Currency; | ||
import java.util.Date; | ||
|
@@ -298,17 +295,6 @@ public void read (Kryo kryo, Input input, KryoSerializable object) { | |
} | ||
} | ||
|
||
/** Serializer for lists created via {@link Arrays#asList(Object...)}. */ | ||
static public class ArraysAsListSerializer extends CollectionSerializer { | ||
public ArraysAsListSerializer (Kryo kryo) { | ||
super(kryo); | ||
} | ||
|
||
public Collection create (Kryo kryo, Input input, Class type) { | ||
return new ArrayList(); | ||
} | ||
} | ||
|
||
/** Serializer for lists created via {@link Collections#emptyList()} or that were just assigned the | ||
* {@link Collections#EMPTY_LIST}. | ||
* @author <a href="mailto:[email protected]">Martin Grotzke</a> */ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters