Remove unnecessary return statements

This commit is contained in:
Mahmoud Ben Hassine
2023-07-04 21:17:42 +02:00
parent 5c8cb7663f
commit b5e7269847
4 changed files with 2 additions and 7 deletions

View File

@@ -1,5 +1,5 @@
/*
* Copyright 2006-2022 the original author or authors.
* Copyright 2006-2023 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.
@@ -121,7 +121,6 @@ class SpringValidatorTests {
if (value.equals(REJECT_MULTI_VALUE)) {
errors.rejectValue("foo", "bad.value");
errors.rejectValue("bar", "bad.value");
return;
}
}