Remove punctuation in all exception messages.

Closes #2603.
This commit is contained in:
jo
2022-06-04 16:05:30 +02:00
committed by John Blum
parent 6e9a3cdccf
commit 6a23723f07
99 changed files with 275 additions and 174 deletions

View File

@@ -34,6 +34,7 @@ import org.springframework.util.Assert;
* @author Thomas Darimont
* @author Oliver Gierke
* @author Jens Schauder
* @author Johannes Englmeier
* @since 1.9
*/
public class Function {
@@ -107,7 +108,7 @@ public class Function {
return method.invoke(target, argumentsToUse.size() == 1 ? argumentsToUse.get(0) : argumentsToUse.toArray());
}
throw new IllegalStateException(String.format("Could not invoke method %s for arguments %s!", method, arguments));
throw new IllegalStateException(String.format("Could not invoke method %s for arguments %s", method, arguments));
}
/**