fix formatting

This commit is contained in:
Loredana Crusoveanu 2018-08-25 21:46:01 +03:00
parent e0e6fbad2b
commit badc8c60d2
5 changed files with 5 additions and 5 deletions

View File

@ -7,7 +7,7 @@ import org.neo4j.ogm.annotation.Relationship;
@NodeEntity
public class Car {
@Id @GeneratedValue
@Id @GeneratedValue
private Long id;
private String make;

View File

@ -15,7 +15,7 @@ import java.util.List;
@NodeEntity
public class Movie {
@Id @GeneratedValue
@Id @GeneratedValue
Long id;
private String title;

View File

@ -13,7 +13,7 @@ import java.util.List;
@JsonIdentityInfo(generator = JSOGGenerator.class)
@NodeEntity
public class Person {
@Id @GeneratedValue
@Id @GeneratedValue
Long id;
private String name;

View File

@ -13,7 +13,7 @@ import java.util.Collection;
@JsonIdentityInfo(generator = JSOGGenerator.class)
@RelationshipEntity(type = "ACTED_IN")
public class Role {
@Id @GeneratedValue
@Id @GeneratedValue
Long id;
private Collection<String> roles;
@StartNode

View File

@ -17,7 +17,7 @@ public class Neo4jOgmLiveTest {
@Test
public void testOgm() {
Configuration conf =new Configuration.Builder().build();
Configuration conf = new Configuration.Builder().build();
SessionFactory factory = new SessionFactory(conf, "com.baeldung.spring.data.neo4j.domain");
Session session = factory.openSession();