Skip to content

Commit

Permalink
Use IndexTerm type instead of Object
Browse files Browse the repository at this point in the history
Signed-off-by: Jarno Elovirta <[email protected]>
  • Loading branch information
jelovirt committed Feb 15, 2024
1 parent 625de7a commit 99a8a38
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,8 @@ private void assignTarget(final IndexTerm indexTerm, final IndexTermTarget targe
}

if (indexTerm.hasSubTerms()) {
for (final Object subTerm : indexTerm.getSubTerms()) {
assignTarget((IndexTerm) subTerm, target);
for (final IndexTerm subTerm : indexTerm.getSubTerms()) {
assignTarget(subTerm, target);
}
}
}
Expand Down

0 comments on commit 99a8a38

Please sign in to comment.