mirror of https://github.com/apache/lucene.git
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:
parent
87bae6fa05
commit
1a5b889c86
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue