Commit 92afb649 by Suma Shivaprasad

Fixed review comments

parent 1ff82a7e
...@@ -97,7 +97,6 @@ public class DefaultGraphPersistenceStrategy implements GraphPersistenceStrategi ...@@ -97,7 +97,6 @@ public class DefaultGraphPersistenceStrategy implements GraphPersistenceStrategi
} }
@Override @Override
@GraphTransaction
public Id getIdFromVertex(String dataTypeName, TitanVertex vertex) { public Id getIdFromVertex(String dataTypeName, TitanVertex vertex) {
return metadataRepository.getIdFromVertex(dataTypeName, vertex); return metadataRepository.getIdFromVertex(dataTypeName, vertex);
} }
......
...@@ -938,7 +938,6 @@ public class GraphBackedMetadataRepository implements MetadataRepository { ...@@ -938,7 +938,6 @@ public class GraphBackedMetadataRepository implements MetadataRepository {
public final class GraphToTypedInstanceMapper { public final class GraphToTypedInstanceMapper {
@GraphTransaction
public ITypedReferenceableInstance mapGraphToTypedInstance(String guid, public ITypedReferenceableInstance mapGraphToTypedInstance(String guid,
Vertex instanceVertex) Vertex instanceVertex)
throws MetadataException { throws MetadataException {
...@@ -973,7 +972,6 @@ public class GraphBackedMetadataRepository implements MetadataRepository { ...@@ -973,7 +972,6 @@ public class GraphBackedMetadataRepository implements MetadataRepository {
} }
} }
@GraphTransaction
public void mapVertexToInstance(Vertex instanceVertex, ITypedInstance typedInstance, public void mapVertexToInstance(Vertex instanceVertex, ITypedInstance typedInstance,
Map<String, AttributeInfo> fields) Map<String, AttributeInfo> fields)
throws MetadataException { throws MetadataException {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment