Browse Source

PacketLineIn: Rename isDelim to isDelimiter

Change-Id: I279808b8ddd8a9230a35582c00867b811633dfe8
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
stable-5.5
David Pursehouse 6 years ago
parent
commit
07a07a75d6
  1. 2
      org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/PacketLineInTest.java
  2. 2
      org.eclipse.jgit/src/org/eclipse/jgit/transport/PacketLineIn.java

2
org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/PacketLineInTest.java

@ -157,7 +157,7 @@ public class PacketLineInTest {
@Test @Test
public void testReadString_Delim() throws IOException { public void testReadString_Delim() throws IOException {
init("0001"); init("0001");
assertTrue(PacketLineIn.isDelim(in.readString())); assertTrue(PacketLineIn.isDelimiter(in.readString()));
assertEOF(); assertEOF();
} }

2
org.eclipse.jgit/src/org/eclipse/jgit/transport/PacketLineIn.java

@ -232,7 +232,7 @@ public class PacketLineIn {
* @return true if the given string is {@link #DELIM}, otherwise false. * @return true if the given string is {@link #DELIM}, otherwise false.
* @since 5.4 * @since 5.4
*/ */
public static boolean isDelim(String s) { public static boolean isDelimiter(String s) {
return s == DELIM; return s == DELIM;
} }

Loading…
Cancel
Save