From c4dd30f624fdcaa0f12035ba934d74f6aab560da Mon Sep 17 00:00:00 2001 From: Jeffrey Phillips Freeman <jeffrey.freeman@syncleus.com> Date: Sun, 2 Nov 2014 01:22:28 -0400 Subject: [PATCH] Reorganized the packages int he example. --- .../titangraph/example/{frames => titangods}/God.java | 2 +- .../titangraph/example/{frames => titangods}/Location.java | 2 +- .../titangraph/example/{ => titangods}/TitanGods.java | 7 +++---- .../titangraph/example/{ => titangods}/BlueprintsTest.java | 3 ++- .../titangraph/example/{ => titangods}/FramesTest.java | 5 +++-- .../titangraph/example/{ => titangods}/GremlinTest.java | 3 ++- 6 files changed, 12 insertions(+), 10 deletions(-) rename src/main/java/com/syncleus/titangraph/example/{frames => titangods}/God.java (93%) rename src/main/java/com/syncleus/titangraph/example/{frames => titangods}/Location.java (85%) rename src/main/java/com/syncleus/titangraph/example/{ => titangods}/TitanGods.java (97%) rename src/test/java/com/syncleus/titangraph/example/{ => titangods}/BlueprintsTest.java (79%) rename src/test/java/com/syncleus/titangraph/example/{ => titangods}/FramesTest.java (88%) rename src/test/java/com/syncleus/titangraph/example/{ => titangods}/GremlinTest.java (98%) diff --git a/src/main/java/com/syncleus/titangraph/example/frames/God.java b/src/main/java/com/syncleus/titangraph/example/titangods/God.java similarity index 93% rename from src/main/java/com/syncleus/titangraph/example/frames/God.java rename to src/main/java/com/syncleus/titangraph/example/titangods/God.java index 4cbbd45..18a7238 100644 --- a/src/main/java/com/syncleus/titangraph/example/frames/God.java +++ b/src/main/java/com/syncleus/titangraph/example/titangods/God.java @@ -1,4 +1,4 @@ -package com.syncleus.titangraph.example.frames; +package com.syncleus.titangraph.example.titangods; import com.tinkerpop.blueprints.Vertex; import com.tinkerpop.frames.*; diff --git a/src/main/java/com/syncleus/titangraph/example/frames/Location.java b/src/main/java/com/syncleus/titangraph/example/titangods/Location.java similarity index 85% rename from src/main/java/com/syncleus/titangraph/example/frames/Location.java rename to src/main/java/com/syncleus/titangraph/example/titangods/Location.java index 5d18258..ba5a195 100644 --- a/src/main/java/com/syncleus/titangraph/example/frames/Location.java +++ b/src/main/java/com/syncleus/titangraph/example/titangods/Location.java @@ -1,4 +1,4 @@ -package com.syncleus.titangraph.example.frames; +package com.syncleus.titangraph.example.titangods; import com.tinkerpop.frames.*; import com.tinkerpop.frames.annotations.gremlin.GremlinGroovy; diff --git a/src/main/java/com/syncleus/titangraph/example/TitanGods.java b/src/main/java/com/syncleus/titangraph/example/titangods/TitanGods.java similarity index 97% rename from src/main/java/com/syncleus/titangraph/example/TitanGods.java rename to src/main/java/com/syncleus/titangraph/example/titangods/TitanGods.java index 8c131ab..4e13c1c 100644 --- a/src/main/java/com/syncleus/titangraph/example/TitanGods.java +++ b/src/main/java/com/syncleus/titangraph/example/titangods/TitanGods.java @@ -1,4 +1,4 @@ -package com.syncleus.titangraph.example; +package com.syncleus.titangraph.example.titangods; import com.thinkaurelius.titan.core.TitanFactory; import com.thinkaurelius.titan.core.TitanGraph; @@ -18,9 +18,8 @@ import static com.thinkaurelius.titan.graphdb.configuration.GraphDatabaseConfigu /** * Example Graph factory that creates a {@link TitanGraph} based on roman mythology. - * Used in the documentation examples and tutorials. - * - * @author Marko A. Rodriguez (http://markorodriguez.com) + * Used in the documentation examples and tutorials on the TitanGraph site. This is + * An acyclic graph with a tree structure. */ public class TitanGods { diff --git a/src/test/java/com/syncleus/titangraph/example/BlueprintsTest.java b/src/test/java/com/syncleus/titangraph/example/titangods/BlueprintsTest.java similarity index 79% rename from src/test/java/com/syncleus/titangraph/example/BlueprintsTest.java rename to src/test/java/com/syncleus/titangraph/example/titangods/BlueprintsTest.java index 1442515..ef27e53 100644 --- a/src/test/java/com/syncleus/titangraph/example/BlueprintsTest.java +++ b/src/test/java/com/syncleus/titangraph/example/titangods/BlueprintsTest.java @@ -1,5 +1,6 @@ -package com.syncleus.titangraph.example; +package com.syncleus.titangraph.example.titangods; +import com.syncleus.titangraph.example.titangods.TitanGods; import com.thinkaurelius.titan.core.TitanGraph; import com.tinkerpop.blueprints.Vertex; import org.junit.*; diff --git a/src/test/java/com/syncleus/titangraph/example/FramesTest.java b/src/test/java/com/syncleus/titangraph/example/titangods/FramesTest.java similarity index 88% rename from src/test/java/com/syncleus/titangraph/example/FramesTest.java rename to src/test/java/com/syncleus/titangraph/example/titangods/FramesTest.java index 9022083..57c443b 100644 --- a/src/test/java/com/syncleus/titangraph/example/FramesTest.java +++ b/src/test/java/com/syncleus/titangraph/example/titangods/FramesTest.java @@ -1,6 +1,7 @@ -package com.syncleus.titangraph.example; +package com.syncleus.titangraph.example.titangods; -import com.syncleus.titangraph.example.frames.God; +import com.syncleus.titangraph.example.titangods.TitanGods; +import com.syncleus.titangraph.example.titangods.TitanGods.God; import com.thinkaurelius.titan.core.TitanGraph; import com.tinkerpop.frames.*; import com.tinkerpop.frames.modules.gremlingroovy.GremlinGroovyModule; diff --git a/src/test/java/com/syncleus/titangraph/example/GremlinTest.java b/src/test/java/com/syncleus/titangraph/example/titangods/GremlinTest.java similarity index 98% rename from src/test/java/com/syncleus/titangraph/example/GremlinTest.java rename to src/test/java/com/syncleus/titangraph/example/titangods/GremlinTest.java index f413a68..32c9c52 100644 --- a/src/test/java/com/syncleus/titangraph/example/GremlinTest.java +++ b/src/test/java/com/syncleus/titangraph/example/titangods/GremlinTest.java @@ -1,5 +1,6 @@ -package com.syncleus.titangraph.example; +package com.syncleus.titangraph.example.titangods; +import com.syncleus.titangraph.example.titangods.TitanGods; import com.thinkaurelius.titan.core.TitanGraph; import com.tinkerpop.blueprints.Vertex; import com.tinkerpop.gremlin.groovy.Gremlin; -- GitLab