Skip to content
This repository has been archived by the owner on Sep 19, 2023. It is now read-only.

Commit

Permalink
DATASOLR-316 - Fix compilation error using Java8 > b25 and Spring 4.3.
Browse files Browse the repository at this point in the history
  • Loading branch information
christophstrobl committed Jun 22, 2016
1 parent b52132e commit 5f49c45
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,9 @@ private void initializeConverters() {
}
}

@SuppressWarnings("unchecked")
@SuppressWarnings({ "unchecked", "rawtypes" })
private <S> void initializeTypedConverter(Map<String, ?> source, Class<? extends S> rawType) {
getConversionService().addConverter(source.getClass(), rawType,
getConversionService().addConverter((Class) source.getClass(), (Class) rawType,
new SolrjConverters.SolrInputDocumentToObjectConverter<S>((Class<S>) rawType));
}

Expand Down

0 comments on commit 5f49c45

Please sign in to comment.