]> source.dussan.org Git - jgit.git/commit
PacketLineIn: Add an iterator over strings in the input stream 75/143175/3
authorDavid Pursehouse <david.pursehouse@gmail.com>
Sun, 2 Jun 2019 08:02:51 +0000 (17:02 +0900)
committerDavid Pursehouse <david.pursehouse@gmail.com>
Sun, 2 Jun 2019 23:07:24 +0000 (08:07 +0900)
commitee747827b0d26cf770f44a33b201de31e81ca8ea
tree0ae0555ffb44f5c9adcb0b94a675ed3e90ac441e
parente0133b9440cf28cc8495e4af0546d1467edbb028
PacketLineIn: Add an iterator over strings in the input stream

Allows callers to read all lines in the input stream until the
END marker is reached, without having to explicitly check for
the END marker.

Replace all remaining usage of the END marker with the new method.

Change-Id: I51f419c7f569ab7ed01e1aaaf6b40ed8cdc2116b
Signed-off-by: David Pursehouse <david.pursehouse@gmail.com>
org.eclipse.jgit.http.test/tst/org/eclipse/jgit/http/test/HttpClientTests.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/BasePackPushConnection.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/PacketLineIn.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/ProtocolV2Parser.java