Fix compiler warning.

git-svn-id: https://svn.apache.org/repos/asf/lucene/dev/trunk@1645962 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Adrien Grand 2014-12-16 14:57:58 +00:00
parent 87bae6fa05
commit 1a5b889c86
1 changed files with 2 additions and 2 deletions

View File

@ -120,7 +120,7 @@ public class Accountables {
* This is a point-in-time type safe view: consumers
* will not be able to cast or manipulate the resources in any way..
*/
private static Accountable namedAccountable(final String description, final Iterable<? extends Accountable> children, final long bytes) {
private static Accountable namedAccountable(final String description, final Iterable<Accountable> children, final long bytes) {
return new Accountable() {
@Override
public long ramBytesUsed() {
@ -129,7 +129,7 @@ public class Accountables {
@Override
public Iterable<Accountable> getChildResources() {
return (Iterable<Accountable>) children;
return children;
}
@Override