You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by sp...@apache.org on 2015/05/26 14:14:44 UTC

[1/2] incubator-tinkerpop git commit: Make GraphSONTokens not possible to instantiate.

Repository: incubator-tinkerpop
Updated Branches:
  refs/heads/master 708706b2d -> fa33541b1


Make GraphSONTokens not possible to instantiate.


Project: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/commit/35e5a4ab
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/35e5a4ab
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/35e5a4ab

Branch: refs/heads/master
Commit: 35e5a4abf0aad33c36655bf28b6615f9e0be5035
Parents: 708706b
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Tue May 26 08:13:53 2015 -0400
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Tue May 26 08:13:53 2015 -0400

----------------------------------------------------------------------
 .../structure/io/graphson/GraphSONTokens.java   |  3 ++
 .../io/graphson/GraphSONTokensTest.java         | 33 ++++++++++++++++++++
 2 files changed, 36 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/35e5a4ab/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/io/graphson/GraphSONTokens.java
----------------------------------------------------------------------
diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/io/graphson/GraphSONTokens.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/io/graphson/GraphSONTokens.java
index 5fabb81..3ed9f41 100644
--- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/io/graphson/GraphSONTokens.java
+++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/io/graphson/GraphSONTokens.java
@@ -22,6 +22,9 @@ package org.apache.tinkerpop.gremlin.structure.io.graphson;
  * @author Stephen Mallette (http://stephen.genoprime.com)
  */
 public final class GraphSONTokens {
+
+    private GraphSONTokens() {}
+
     public static final String CLASS = "@class";
     public static final String ID = "id";
     public static final String TYPE = "type";

http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/35e5a4ab/gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/structure/io/graphson/GraphSONTokensTest.java
----------------------------------------------------------------------
diff --git a/gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/structure/io/graphson/GraphSONTokensTest.java b/gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/structure/io/graphson/GraphSONTokensTest.java
new file mode 100644
index 0000000..bc8f793
--- /dev/null
+++ b/gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/structure/io/graphson/GraphSONTokensTest.java
@@ -0,0 +1,33 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
+package org.apache.tinkerpop.gremlin.structure.io.graphson;
+
+import org.apache.tinkerpop.gremlin.TestHelper;
+import org.apache.tinkerpop.gremlin.util.Serializer;
+import org.junit.Test;
+
+/**
+ * @author Stephen Mallette (http://stephen.genoprime.com)
+ */
+public class GraphSONTokensTest {
+    @Test
+    public void shouldBeUtilityClass() throws Exception {
+        TestHelper.assertIsUtilityClass(GraphSONTokens.class);
+    }
+}


[2/2] incubator-tinkerpop git commit: Add license header.

Posted by sp...@apache.org.
Add license header.


Project: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/commit/fa33541b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/tree/fa33541b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/diff/fa33541b

Branch: refs/heads/master
Commit: fa33541b16d25a58e6366cd71c7d6832d0de504c
Parents: 35e5a4a
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Tue May 26 08:14:30 2015 -0400
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Tue May 26 08:14:30 2015 -0400

----------------------------------------------------------------------
 .../structure/io/graphson/GraphSONUtilTest.java | 22 +++++++++++++++++---
 1 file changed, 19 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tinkerpop/blob/fa33541b/gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/structure/io/graphson/GraphSONUtilTest.java
----------------------------------------------------------------------
diff --git a/gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/structure/io/graphson/GraphSONUtilTest.java b/gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/structure/io/graphson/GraphSONUtilTest.java
index 4ea3feb..a7eb22f 100644
--- a/gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/structure/io/graphson/GraphSONUtilTest.java
+++ b/gremlin-core/src/test/java/org/apache/tinkerpop/gremlin/structure/io/graphson/GraphSONUtilTest.java
@@ -1,3 +1,21 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
 package org.apache.tinkerpop.gremlin.structure.io.graphson;
 
 import org.apache.tinkerpop.gremlin.TestHelper;
@@ -10,8 +28,6 @@ import org.junit.Test;
 public class GraphSONUtilTest {
     @Test
     public void shouldBeUtilityClass() throws Exception {
-        TestHelper.assertIsUtilityClass(Serializer.class);
+        TestHelper.assertIsUtilityClass(GraphSONUtil.class);
     }
-
-
 }