Warning instead of error for non-present type filter class

Issue: SPR-16356
This commit is contained in:
Juergen Hoeller
2018-01-08 13:41:23 +01:00
parent 0d151b0212
commit 4adc820714
3 changed files with 33 additions and 36 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2002-2016 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.
@@ -66,10 +66,9 @@ public class CustomProblemReporterTests {
private static class CollatingProblemReporter implements ProblemReporter {
private List<Problem> errors = new ArrayList<>();
private List<Problem> warnings = new ArrayList<>();
private final List<Problem> errors = new ArrayList<>();
private final List<Problem> warnings = new ArrayList<>();
@Override
public void fatal(Problem problem) {