Suppress warnings in spring-expression tests

This commit is contained in:
Sam Brannen 2015-07-04 15:46:25 +02:00
parent 85a80e2a94
commit 3f0a6e814c
3 changed files with 5 additions and 2 deletions

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2002-2014 the original author or authors. * Copyright 2002-2015 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -39,6 +39,7 @@ import org.springframework.expression.spel.support.StandardEvaluationContext;
import static org.junit.Assert.*; import static org.junit.Assert.*;
@SuppressWarnings("rawtypes")
public class IndexingTests { public class IndexingTests {
@Test @Test

View File

@ -1,5 +1,5 @@
/* /*
* Copyright 2002-2014 the original author or authors. * Copyright 2002-2015 the original author or authors.
* *
* Licensed under the Apache License, Version 2.0 (the "License"); * Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License. * you may not use this file except in compliance with the License.
@ -45,6 +45,7 @@ import static org.junit.Assert.*;
* *
* @author Andy Clement * @author Andy Clement
*/ */
@SuppressWarnings("rawtypes")
public class SpelDocumentationTests extends AbstractExpressionTests { public class SpelDocumentationTests extends AbstractExpressionTests {
static Inventor tesla ; static Inventor tesla ;

View File

@ -1886,6 +1886,7 @@ public class SpelReproTests extends AbstractExpressionTests {
} }
@Test @Test
@SuppressWarnings("rawtypes")
public void SPR12522() { public void SPR12522() {
SpelExpressionParser parser = new SpelExpressionParser(); SpelExpressionParser parser = new SpelExpressionParser();
Expression expression = parser.parseExpression("T(java.util.Arrays).asList('')"); Expression expression = parser.parseExpression("T(java.util.Arrays).asList('')");