This is an automated email from the ASF dual-hosted git repository.
spmallette pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git
The following commit(s) were added to refs/heads/master by this push:
new fa8715c Added final modifier to prevent overriding as the field is
accessed internally in the class and there shouldn't be some other
implementation that modifies that behavior CTR
new 8db384e Merge branch 'tp33'
fa8715c is described below
commit fa8715cd84b6a0e4a3d57bdaba0ddff81c037b4a
Author: Stephen Mallette <[email protected]>
AuthorDate: Fri Dec 14 13:51:35 2018 -0500
Added final modifier to prevent overriding as the field is accessed
internally in the class and there shouldn't be some other implementation that
modifies that behavior CTR
---
.../gremlin/structure/io/graphson/GraphSONTypeIdResolver.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git
a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/io/graphson/GraphSONTypeIdResolver.java
b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/io/graphson/GraphSONTypeIdResolver.java
index fe7ad7a..43a0c9d 100644
---
a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/io/graphson/GraphSONTypeIdResolver.java
+++
b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/io/graphson/GraphSONTypeIdResolver.java
@@ -57,11 +57,11 @@ public class GraphSONTypeIdResolver implements
TypeIdResolver {
return this;
}
- public Map<String, JavaType> getIdToType() {
+ public final Map<String, JavaType> getIdToType() {
return idToType;
}
- public Map<Class, String> getTypeToId() {
+ public final Map<Class, String> getTypeToId() {
return typeToId;
}