Skip to content

Commit

Permalink
Formatting changes
Browse files Browse the repository at this point in the history
  • Loading branch information
rayshrey committed Jan 16, 2025
1 parent 28b4842 commit a5057b4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,6 @@
import java.time.ZonedDateTime;
import java.util.Arrays;
import java.util.Collections;
import java.util.HashMap;
import java.util.List;
import java.util.Locale;
import java.util.Map;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -572,9 +572,10 @@ protected static String indexOptionToString(IndexOptions indexOption) {

protected abstract String contentType();

public Object getDerivedSource(LeafReader leafReader, int docId) throws IOException{
if (mappedFieldType.isDerivedSourceSupported() == false)
throw new UnsupportedOperationException("Derived source field is not supported for [" + name() + "] field");
public Object getDerivedSource(LeafReader leafReader, int docId) throws IOException {
if (mappedFieldType.isDerivedSourceSupported() == false) throw new UnsupportedOperationException(
"Derived source field is not supported for [" + name() + "] field"
);
return deriveSource(leafReader, docId);
}

Expand Down

0 comments on commit a5057b4

Please sign in to comment.