Skip to content

Commit

Permalink
OGM-1225 Remove unused private methods in test
Browse files Browse the repository at this point in the history
  • Loading branch information
DavideD authored and gsmet committed Dec 20, 2016
1 parent 559b6d6 commit 0a22f1e
Showing 1 changed file with 0 additions and 14 deletions.
Expand Up @@ -120,20 +120,6 @@ public void testManyToManyCompositeId() throws Exception {
session.close();
}

private void persist(Session session, Object... entities) {
for ( Object entity : entities ) {
session.persist( entity );
}
}

private void delete(Session session, Object... entities) {
Transaction transaction = session.beginTransaction();
for ( Object entity : entities ) {
session.delete( entity );
}
transaction.commit();
}

private int expectedAssociationNumber() {
if ( TestHelper.getCurrentDialectType().equals( GridDialectType.NEO4J ) ) {
// In Neo4j relationships are bidirectional
Expand Down

0 comments on commit 0a22f1e

Please sign in to comment.