BAEL-4900 Code formatting fixed with intellij formatter
This commit is contained in:
parent
48aa7c5425
commit
f9ae7b18a7
@ -15,7 +15,6 @@ public class Address {
|
|||||||
this.name = name;
|
this.name = name;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public String getCity() {
|
public String getCity() {
|
||||||
return city;
|
return city;
|
||||||
}
|
}
|
||||||
|
@ -1,9 +1,13 @@
|
|||||||
package com.baeldung.attribute.overwrite.entity;
|
package com.baeldung.attribute.overwrite.entity;
|
||||||
|
|
||||||
|
import javax.persistence.AttributeOverride;
|
||||||
|
import javax.persistence.AttributeOverrides;
|
||||||
|
import javax.persistence.Column;
|
||||||
|
import javax.persistence.ElementCollection;
|
||||||
|
import javax.persistence.Embedded;
|
||||||
|
import javax.persistence.Entity;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
import javax.persistence.*;
|
|
||||||
|
|
||||||
@Entity
|
@Entity
|
||||||
@AttributeOverride(name = "identifier", column = @Column(name = "VIN"))
|
@AttributeOverride(name = "identifier", column = @Column(name = "VIN"))
|
||||||
public class Car extends Vehicle {
|
public class Car extends Vehicle {
|
||||||
|
@ -17,7 +17,7 @@ import org.springframework.transaction.annotation.Transactional;
|
|||||||
import java.time.LocalDate;
|
import java.time.LocalDate;
|
||||||
|
|
||||||
@RunWith(SpringRunner.class)
|
@RunWith(SpringRunner.class)
|
||||||
@SpringBootTest(classes = {Application.class})
|
@SpringBootTest(classes = { Application.class })
|
||||||
public class AttributeOverwriteIntegrationTest {
|
public class AttributeOverwriteIntegrationTest {
|
||||||
|
|
||||||
private static final LocalDate FORD_FOUNDATION_DATE = LocalDate.parse("1903-06-16");
|
private static final LocalDate FORD_FOUNDATION_DATE = LocalDate.parse("1903-06-16");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user