Organize imports with new settings

See gh-4234
This commit is contained in:
Phillip Webb
2015-10-19 12:23:14 -07:00
parent 47ae7487ac
commit a79131f8d2
703 changed files with 1113 additions and 611 deletions

View File

@@ -21,10 +21,10 @@ import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import org.springframework.stereotype.Repository;
import sample.jpa.domain.Note;
import org.springframework.stereotype.Repository;
@Repository
class JpaNoteRepository implements NoteRepository {

View File

@@ -21,10 +21,10 @@ import java.util.List;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;
import org.springframework.stereotype.Repository;
import sample.jpa.domain.Tag;
import org.springframework.stereotype.Repository;
@Repository
class JpaTagRepository implements TagRepository {

View File

@@ -18,15 +18,15 @@ package sample.jpa.web;
import java.util.List;
import sample.jpa.domain.Note;
import sample.jpa.repository.NoteRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;
import sample.jpa.domain.Note;
import sample.jpa.repository.NoteRepository;
@Controller
public class IndexController {