Skip to content

Commit 5670a47

Browse files
author
Vladimir Kotal
committed
remove redundant cast
1 parent 3a8465e commit 5670a47

File tree

1 file changed

+1
-1
lines changed
  • opengrok-indexer/src/main/java/org/opengrok/indexer/search

1 file changed

+1
-1
lines changed

opengrok-indexer/src/main/java/org/opengrok/indexer/search/Summary.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ public static class Ellipsis extends Fragment {
8080

8181
/** Returns an array of all of this summary's fragments.*/
8282
public Fragment[] getFragments() {
83-
return (Fragment[])fragments.toArray(FRAGMENT_PROTO);
83+
return fragments.toArray(FRAGMENT_PROTO);
8484
}
8585

8686
/** Returns an HTML representation of this fragment. */

0 commit comments

Comments
 (0)