Clean up warnings
This commit is contained in:
@@ -41,7 +41,6 @@ public class DirectFieldAccessorTests extends AbstractPropertyAccessorTests {
|
||||
public void withShadowedField() {
|
||||
final StringBuilder sb = new StringBuilder();
|
||||
|
||||
@SuppressWarnings("serial")
|
||||
TestBean target = new TestBean() {
|
||||
@SuppressWarnings("unused")
|
||||
StringBuilder name = sb;
|
||||
|
||||
@@ -20,7 +20,6 @@ package org.springframework.tests.sample.beans;
|
||||
* @author Rob Harrop
|
||||
* @author Juergen Hoeller
|
||||
*/
|
||||
@SuppressWarnings("serial")
|
||||
public class Colour {
|
||||
|
||||
public static final Colour RED = new Colour("RED");
|
||||
|
||||
Reference in New Issue
Block a user