File tree 2 files changed +3
-3
lines changed
spring-orm/src/main/java/org/springframework/orm/jpa/support
spring-web/src/main/java/org/springframework/http
2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ class InjectionCodeGenerator {
53
53
54
54
55
55
InjectionCodeGenerator (ClassName targetClassName , RuntimeHints hints ) {
56
- Assert .notNull (hints , "ClassName must not be null" );
56
+ Assert .notNull (targetClassName , "ClassName must not be null" );
57
57
Assert .notNull (hints , "RuntimeHints must not be null" );
58
58
this .targetClassName = targetClassName ;
59
59
this .hints = hints ;
Original file line number Diff line number Diff line change @@ -535,8 +535,8 @@ private static boolean isRFC5987AttrChar(byte c) {
535
535
* @see <a href="https://tools.ietf.org/html/rfc2047">RFC 2047</a>
536
536
*/
537
537
private static String decodeQuotedPrintableFilename (String filename , Charset charset ) {
538
- Assert .notNull (filename , "'input' String should not be null" );
539
- Assert .notNull (charset , "'charset' should not be null" );
538
+ Assert .notNull (filename , "'filename' must not be null" );
539
+ Assert .notNull (charset , "'charset' must not be null" );
540
540
541
541
byte [] value = filename .getBytes (US_ASCII );
542
542
ByteArrayOutputStream baos = new ByteArrayOutputStream ();
You can’t perform that action at this time.
0 commit comments