remove an unnecessary cast

This commit is contained in:
Sergey Ignatov
2016-03-05 12:34:30 +03:00
parent 6981a1110f
commit d323cb6307
@@ -1,5 +1,5 @@
/*
* Copyright 2000-2009 JetBrains s.r.o.
* Copyright 2000-2016 JetBrains s.r.o.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -90,7 +90,7 @@ public interface Filter {
public List<ResultItem> getResultItems() {
List<ResultItem> resultItems = myResultItems;
if (resultItems == null) {
resultItems = Collections.singletonList((ResultItem)this);
resultItems = Collections.singletonList(this);
}
return resultItems;
}