Skip to content

Commit

Permalink
Fix for "Redundant specification of type arguments" error
Browse files Browse the repository at this point in the history
  • Loading branch information
iloveeclipse committed May 10, 2023
1 parent ff16a90 commit 4c69793
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class SearchQuery implements ISearchQuery {
String locale;
String searchWord;
public SearchQuery() {
this("", false, new ArrayList<String>(), Platform.getNL()); //$NON-NLS-1$
this("", false, new ArrayList<>(), Platform.getNL()); //$NON-NLS-1$
}
public SearchQuery(String searchWord, boolean fieldSearch,
Collection<String> fieldNames, String locale) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ public final class Tags {
/**
* contains all tags for which whitespaces have to be inserted for proper tokenization
*/
public static final Set<String> WS_ELEMS = Collections.synchronizedSet(new HashSet<String>());
public static final Set<String> WS_ELEMS = Collections.synchronizedSet(new HashSet<>());

static{
WS_ELEMS.add("<hr"); //$NON-NLS-1$
Expand Down

0 comments on commit 4c69793

Please sign in to comment.