Skip to content

Commit

Permalink
Change config from Properties to JSON #1726
Browse files Browse the repository at this point in the history
  • Loading branch information
abyrd committed Feb 2, 2015
1 parent decec6d commit 07efeeb
Show file tree
Hide file tree
Showing 38 changed files with 236 additions and 932 deletions.
204 changes: 0 additions & 204 deletions src/main/java/org/opentripplanner/common/OTPConfigPreferences.java

This file was deleted.

This file was deleted.

3 changes: 2 additions & 1 deletion src/main/java/org/opentripplanner/routing/graph/Graph.java
Expand Up @@ -40,6 +40,7 @@ the License, or (at your option) any later version.
import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentHashMap;
import java.util.prefs.Preferences; import java.util.prefs.Preferences;


import com.fasterxml.jackson.databind.JsonNode;
import com.google.common.collect.*; import com.google.common.collect.*;
import org.joda.time.DateTime; import org.joda.time.DateTime;
import org.onebusaway.gtfs.impl.calendar.CalendarServiceImpl; import org.onebusaway.gtfs.impl.calendar.CalendarServiceImpl;
Expand Down Expand Up @@ -162,7 +163,7 @@ public class Graph implements Serializable {
/** /**
* Makes it possible to embed a default configuration inside a graph. * Makes it possible to embed a default configuration inside a graph.
*/ */
public Properties embeddedPreferences = null; public JsonNode embeddedPreferences = null;


/* The preferences that were used for graph building. */ /* The preferences that were used for graph building. */
public Preferences preferences = null; public Preferences preferences = null;
Expand Down

0 comments on commit 07efeeb

Please sign in to comment.