]> source.dussan.org Git - jgit.git/commitdiff
PushCertificateParser: Change error string for invalid field 07/51207/8
authorDave Borowitz <dborowitz@google.com>
Wed, 1 Jul 2015 18:29:09 +0000 (11:29 -0700)
committerDave Borowitz <dborowitz@google.com>
Thu, 9 Jul 2015 17:56:02 +0000 (10:56 -0700)
The old one didn't take an argument; the new one includes the field
name.

Change-Id: I175dc75dcdd05ba6fdec315c04c79550cfdc2342

org.eclipse.jgit/src/org/eclipse/jgit/transport/PushCertificateParser.java

index 93a1e54b0fa10accabee5e9c932a5e540866d1a8..1bc73bb3ed26abfc255e17d71e0fa86c43c8464d 100644 (file)
@@ -281,7 +281,7 @@ public class PushCertificateParser {
                                || !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);
        }