Skip to content

Commit

Permalink
Suppress "uninitialized" warnings for injected fields
Browse files Browse the repository at this point in the history
  • Loading branch information
glts committed Apr 3, 2016
1 parent 0741638 commit 46e6dbb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@
public abstract class AbstractClinicServiceTests {

@Autowired
@SuppressWarnings("initialization")
protected ClinicService clinicService;

@Test
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
@ContextConfiguration({"classpath:spring/business-config.xml", "classpath:spring/tools-config.xml", "classpath:spring/mvc-core-config.xml"})
@WebAppConfiguration
@ActiveProfiles("spring-data-jpa")
@SuppressWarnings("initialization.fields.uninitialized")
public class VetControllerTests {

@Autowired
Expand Down

0 comments on commit 46e6dbb

Please sign in to comment.