mirror of
https://github.com/OpenHFT/Chronicle-Map.git
synced 2021-09-13 01:26:12 +00:00
HCOLL-259 enhanced the DataValueConverter to now support Map<->JSON and back, of nested $$Native classes, such as those examples used with the BondVOInterface.
This commit is contained in:
@@ -22,7 +22,6 @@ import net.openhft.chronicle.map.ChronicleMap;
|
||||
import net.openhft.chronicle.map.ChronicleMapBuilder;
|
||||
import net.openhft.chronicle.map.ReadContext;
|
||||
import net.openhft.chronicle.map.WriteContext;
|
||||
import net.openhft.lang.model.DataValueClasses;
|
||||
import org.junit.Test;
|
||||
|
||||
import java.io.File;
|
||||
@@ -41,7 +40,7 @@ public class OpenJDKAndHashMapExamplesTest {
|
||||
|
||||
private static final String TMP = System.getProperty("java.io.tmpdir");
|
||||
|
||||
private static long parseYYYYMMDD(String s) {
|
||||
public static long parseYYYYMMDD(String s) {
|
||||
try {
|
||||
return YYYYMMDD.parse(s).getTime();
|
||||
} catch (ParseException e) {
|
||||
|
||||
Reference in New Issue
Block a user