Skip to content
This repository has been archived by the owner on Oct 8, 2019. It is now read-only.

Commit

Permalink
Fixed compilation erros in Java 7
Browse files Browse the repository at this point in the history
  • Loading branch information
myui committed Sep 6, 2016
1 parent 444e6a6 commit 3cc0c54
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,11 @@ public Double next() {
return d;
}

@Override
public void remove() {
throw new UnsupportedOperationException();
}

}

}
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ public RingBuffer<T> add(final T x) {
}
return this;
}

@Nullable
public T head() {
return ring[head];
Expand Down Expand Up @@ -146,6 +146,11 @@ public T next() {
return d;
}

@Override
public void remove() {
throw new UnsupportedOperationException();
}

}

}

0 comments on commit 3cc0c54

Please sign in to comment.