formatting work
This commit is contained in:
parent
393ca43033
commit
c970f3261e
|
@ -1,6 +1,5 @@
|
|||
package org.baeldung.jackson.dtos.withEnum;
|
||||
|
||||
|
||||
public enum TypeEnumSimple {
|
||||
TYPE1(1, "Type A"), TYPE2(2, "Type 2");
|
||||
|
||||
|
|
|
@ -17,7 +17,6 @@ import com.fasterxml.jackson.databind.ObjectMapper;
|
|||
import com.fasterxml.jackson.databind.type.CollectionType;
|
||||
import com.google.common.collect.Lists;
|
||||
|
||||
|
||||
public class JacksonCollectionDeserializationUnitTest {
|
||||
|
||||
// tests - json to multiple entity
|
||||
|
|
|
@ -28,7 +28,6 @@ import com.fasterxml.jackson.databind.ser.PropertyWriter;
|
|||
import com.fasterxml.jackson.databind.ser.impl.SimpleBeanPropertyFilter;
|
||||
import com.fasterxml.jackson.databind.ser.impl.SimpleFilterProvider;
|
||||
|
||||
|
||||
public class JacksonSerializationIgnoreUnitTest {
|
||||
|
||||
// tests - single entity to json
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
package org.baeldung.jackson.try1;
|
||||
|
||||
public interface IEntity {
|
||||
public int getId();
|
||||
}
|
|
@ -8,7 +8,6 @@ import org.baeldung.persistence.service.IChildService;
|
|||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
|
||||
@Service
|
||||
public class ChildService extends AbstractService<Child> implements IChildService {
|
||||
|
||||
|
|
|
@ -17,7 +17,6 @@ import javax.persistence.OrderBy;
|
|||
public class Bar implements Serializable {
|
||||
private static final long serialVersionUID = 1L;
|
||||
|
||||
|
||||
@Id
|
||||
@GeneratedValue(strategy = GenerationType.AUTO)
|
||||
private long id;
|
||||
|
@ -25,12 +24,10 @@ public class Bar implements Serializable {
|
|||
@Column(nullable = false)
|
||||
private String name;
|
||||
|
||||
|
||||
@OneToMany(mappedBy = "bar", fetch = FetchType.EAGER, cascade = CascadeType.ALL)
|
||||
@OrderBy("name ASC")
|
||||
List<Foo> fooList;
|
||||
|
||||
|
||||
public Bar() {
|
||||
super();
|
||||
}
|
||||
|
|
|
@ -151,5 +151,4 @@ public class FooServiceSortingTests {
|
|||
}
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
package org.baeldung.servlet;
|
||||
|
||||
|
||||
//public class WebApp implements WebApplicationInitializer {
|
||||
//
|
||||
// public WebApp() {
|
||||
|
|
Loading…
Reference in New Issue