Thread
: Resolved
HTTP request
View Single Post
09-22-2012, 06:17 AM
PM User
|
#
4
Fou-Lu
God Emperor
Join Date: Sep 2002
Location: Saskatoon, Saskatchewan
Posts: 15,662
Thanks: 4
Thanked 2,452 Times in 2,421 Posts
That will do it. Since buffers don't have hasNext or similar token checks, you simply pull the assignment during the check. Like you said with pulling a readLine twice, it effectively skips every other line (which you can see here).
Fou-Lu
View Public Profile
Find More Posts by Fou-Lu