Skip to content
This repository has been archived by the owner on Apr 22, 2020. It is now read-only.

Commit

Permalink
package private some things
Browse files Browse the repository at this point in the history
  • Loading branch information
mneedham committed Feb 12, 2019
1 parent 1bad04a commit 75cc75e
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
public abstract class SimilarityExporter extends StatementApi {
final Log log;
final int propertyId;
final int relationshipTypeId;
private final int relationshipTypeId;

protected SimilarityExporter(GraphDatabaseAPI api, Log log, String propertyName, String relationshipType) {
SimilarityExporter(GraphDatabaseAPI api, Log log, String propertyName, String relationshipType) {
super(api);
this.log = log;
propertyId = getOrCreatePropertyId(propertyName);
Expand All @@ -40,7 +40,7 @@ private int getOrCreatePropertyId(String propertyName) {
.propertyKeyGetOrCreateForName(propertyName));
}

protected void createRelationship(SimilarityResult similarityResult, KernelTransaction statement) throws EntityNotFoundException, InvalidTransactionTypeKernelException, AutoIndexingKernelException {
private void createRelationship(SimilarityResult similarityResult, KernelTransaction statement) throws EntityNotFoundException, InvalidTransactionTypeKernelException, AutoIndexingKernelException {
long node1 = similarityResult.item1;
long node2 = similarityResult.item2;
long relationshipId = statement.dataWrite().relationshipCreate(node1, relationshipTypeId, node2);
Expand Down

0 comments on commit 75cc75e

Please sign in to comment.