Warning instead of error for non-present type filter class

Issue: SPR-16356

(cherry picked from commit 4adc820)
This commit is contained in:
Juergen Hoeller
2018-01-08 13:41:23 +01:00
parent bf4cadadda
commit 092b3d4a52
3 changed files with 36 additions and 36 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2013 the original author or authors.
* Copyright 2002-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -35,7 +35,7 @@ import static org.springframework.tests.TestResourceUtils.*;
* @author Chris Beams
* @since 2.0
*/
public final class CustomProblemReporterTests {
public class CustomProblemReporterTests {
private static final Resource CONTEXT = qualifiedResource(CustomProblemReporterTests.class, "context.xml");
@@ -66,10 +66,9 @@ public final class CustomProblemReporterTests {
private static class CollatingProblemReporter implements ProblemReporter {
private List<Problem> errors = new ArrayList<Problem>();
private List<Problem> warnings = new ArrayList<Problem>();
private final List<Problem> errors = new ArrayList<>();
private final List<Problem> warnings = new ArrayList<>();
@Override
public void fatal(Problem problem) {