PushCertificateParser: Change error string for invalid field
The old one didn't take an argument; the new one includes the field name. Change-Id: I175dc75dcdd05ba6fdec315c04c79550cfdc2342
This commit is contained in:
parent
618f213da0
commit
f22f33f5bf
|
@ -281,7 +281,7 @@ private static String parseHeader(StringReader reader, String header)
|
|||
|| !s.startsWith(header)
|
||||
|| s.charAt(header.length()) != ' ') {
|
||||
throw new PackProtocolException(MessageFormat.format(
|
||||
JGitText.get().pushCertificateInvalidHeader, header));
|
||||
JGitText.get().pushCertificateInvalidField, header));
|
||||
}
|
||||
return s.substring(header.length() + 1);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue