]> source.dussan.org Git - jgit.git/commit
Replace most usages of PacketLineIn.END with PacketLineIn.end() 73/143173/3
authorDavid Pursehouse <david.pursehouse@gmail.com>
Sun, 2 Jun 2019 03:50:34 +0000 (12:50 +0900)
committerDavid Pursehouse <david.pursehouse@gmail.com>
Sun, 2 Jun 2019 23:07:24 +0000 (08:07 +0900)
commite0133b9440cf28cc8495e4af0546d1467edbb028
tree24dff3f85ef95101bd195bac0efcb072b90c5bb8
parente99aaa5f791c43bcac050a26dcb970ae2584130a
Replace most usages of PacketLineIn.END with PacketLineIn.end()

PacketLineIn.END is only referenced in tests. Replace most of those
with a new package visible end() method.

Remaining usages of PacketLineIn.END are in the form:

  while ((line = pckIn.readString()) != PacketLineIn.END) {

and are not trivial replacements, hence are not touched in this change.

Change-Id: Id77c5321ddcad127130b246bde8f08736e60e1ea
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/ProtocolV0ParserTest.java
org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/ProtocolV2ParserTest.java
org.eclipse.jgit.test/tst/org/eclipse/jgit/transport/UploadPackTest.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/PacketLineIn.java