-
Notifications
You must be signed in to change notification settings - Fork 24.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Core: Remove potential NPE while resolving concrete indices from Meta…
…Data Prevents a current edge case resolving concrete aliases or index names in cluster MetaData that could potentialy lead to NullPointerException when the IndicesOptions don't allow wildcard expansion and the method is called with aliasesOrIndices argument null or emtpy list. This change adds a check for that and introduces randomized test that catches this. Closes #10342 Closes #10339
- Loading branch information
Christoph Büscher
committed
Apr 1, 2015
1 parent
896b410
commit c907dc6
Showing
2 changed files
with
139 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters