File tree Expand file tree Collapse file tree 5 files changed +9
-5
lines changed
spring-orm-hibernate4/src/test/java/org/springframework/orm/jpa/jpa21
spring-orm/src/test/java/org/springframework/orm/jpa/support
spring-webmvc-tiles2/src/test/java/org/springframework/web/servlet/view/tiles2
spring-web/src/test/java/org/springframework/web/client
src/test/java/org/springframework/context/annotation/ltw Expand file tree Collapse file tree 5 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 4545 * @author Juergen Hoeller
4646 * @since 4.1.2
4747 */
48+ @ SuppressWarnings ({ "rawtypes" , "unchecked" })
4849public class PersistenceContextTransactionTests {
4950
5051 private EntityManagerFactory factory ;
@@ -72,6 +73,7 @@ public void setUp() throws Exception {
7273 given (manager .isOpen ()).willReturn (true );
7374
7475 bean = new EntityManagerHoldingBean ();
76+ @ SuppressWarnings ("serial" )
7577 PersistenceAnnotationBeanPostProcessor pabpp = new PersistenceAnnotationBeanPostProcessor () {
7678 @ Override
7779 protected EntityManagerFactory findEntityManagerFactory (String unitName , String requestingBeanName ) {
Original file line number Diff line number Diff line change 4040 * @author Juergen Hoeller
4141 * @since 4.1.2
4242 */
43+ @ SuppressWarnings ({ "rawtypes" , "unchecked" })
4344public class PersistenceContextTransactionTests {
4445
4546 private EntityManagerFactory factory ;
@@ -67,6 +68,7 @@ public void setUp() throws Exception {
6768 given (manager .isOpen ()).willReturn (true );
6869
6970 bean = new EntityManagerHoldingBean ();
71+ @ SuppressWarnings ("serial" )
7072 PersistenceAnnotationBeanPostProcessor pabpp = new PersistenceAnnotationBeanPostProcessor () {
7173 @ Override
7274 protected EntityManagerFactory findEntityManagerFactory (String unitName , String requestingBeanName ) {
Original file line number Diff line number Diff line change @@ -126,6 +126,7 @@ public void cannotRead() throws IOException {
126126 }
127127
128128 @ Test
129+ @ SuppressWarnings ("unchecked" )
129130 public void connectionClose () throws IOException {
130131 HttpMessageConverter <String > converter = mock (HttpMessageConverter .class );
131132 List <HttpMessageConverter <?>> converters = new ArrayList <HttpMessageConverter <?>>();
Original file line number Diff line number Diff line change 11/*
2- * Copyright 2002-2013 the original author or authors.
2+ * Copyright 2002-2014 the original author or authors.
33 *
44 * Licensed under the Apache License, Version 2.0 (the "License");
55 * you may not use this file except in compliance with the License.
3030
3131/**
3232 * @author Juergen Hoeller
33- * * /
33+ */
3434public class TilesConfigurerTests {
3535
3636 @ Test
37+ @ SuppressWarnings ("deprecation" )
3738 public void simpleBootstrap () {
3839 MockServletContext sc = new MockServletContext ();
3940 TilesConfigurer tc = new TilesConfigurer ();
Original file line number Diff line number Diff line change 1616
1717package org .springframework .context .annotation .ltw ;
1818
19- import org .springframework .test .jpa .AbstractJpaTests ;
20-
2119/**
2220 * Test to ensure that component scanning work with load-time weaver.
2321 * See SPR-3873 for more details.
2422 *
2523 * @author Ramnivas Laddad
2624 */
2725@ SuppressWarnings ("deprecation" )
28- public class ComponentScanningWithLTWTests extends AbstractJpaTests {
26+ public class ComponentScanningWithLTWTests extends org . springframework . test . jpa . AbstractJpaTests {
2927
3028 public ComponentScanningWithLTWTests () {
3129 setDependencyCheck (false );
You can’t perform that action at this time.
0 commit comments