Skip to content

Commit

Permalink
#582: changed for test jdk 1.7 compability
Browse files Browse the repository at this point in the history
  • Loading branch information
MaksimVakhnik committed Feb 15, 2016
1 parent ae53702 commit 4a76949
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/org/takes/rq/RqMultipart.java
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ private ConcurrentMap<String, List<Request>> buildRequests(
).getBytes(StandardCharsets.UTF_8);
this.buffer.flip();
this.buffer.position(boundary.length - 2);
final Collection<Request> requests = new LinkedList<Request>();
final Collection<Request> requests = new LinkedList<>();
while (this.buffer.hasRemaining()) {
final byte data = this.buffer.get();
if (data == '-') {
Expand Down

0 comments on commit 4a76949

Please sign in to comment.