formatting work

This commit is contained in:
eugenp 2014-05-16 22:40:53 +03:00
parent 393ca43033
commit c970f3261e
8 changed files with 1 additions and 9 deletions

View File

@ -1,6 +1,5 @@
package org.baeldung.jackson.dtos.withEnum;
public enum TypeEnumSimple {
TYPE1(1, "Type A"), TYPE2(2, "Type 2");

View File

@ -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

View File

@ -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

View File

@ -1,4 +1,5 @@
package org.baeldung.jackson.try1;
public interface IEntity {
public int getId();
}

View File

@ -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 {

View File

@ -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();
}

View File

@ -151,5 +151,4 @@ public class FooServiceSortingTests {
}
}
}

View File

@ -1,6 +1,5 @@
package org.baeldung.servlet;
//public class WebApp implements WebApplicationInitializer {
//
// public WebApp() {