Skip to content

Commit

Permalink
Remove redundant code.
Browse files Browse the repository at this point in the history
Change-Id: Ifd7d8f113d53b53fdac035d7b8a78fd8ac44ebb8
  • Loading branch information
jojochuang committed Oct 23, 2024
1 parent 9131a6e commit 797ccdc
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,6 @@ public synchronized void seek(long pos) throws IOException {
}

public synchronized void initialize() throws IOException {

// Pre-check that the stream has not been intialized already
if (initialized) {
return;
Expand All @@ -193,7 +192,6 @@ public synchronized void initialize() throws IOException {

long streamLength = 0L;
for (PartInputStream partInputStream : partStreams) {
//this.partOffsets[i++] = streamLength;
streamLength += partInputStream.getLength();
}
this.length = streamLength;
Expand Down

0 comments on commit 797ccdc

Please sign in to comment.