Skip to content

Commit

Permalink
Imports, warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
jhy committed Dec 30, 2023
1 parent 581b077 commit 19abb76
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion src/main/java/org/jsoup/internal/Functions.java
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
package org.jsoup.internal;

import java.util.*;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.HashSet;
import java.util.IdentityHashMap;
import java.util.List;
import java.util.Map;
import java.util.Set;
import java.util.function.Function;

/**
* An internal class containing functions for use with {@link Map#computeIfAbsent(Object, Function)}.
*/
@SuppressWarnings({"rawtypes", "unchecked"})
public class Functions {
private static final Function LIST_FUNCTION = key -> new ArrayList<>();
private static final Function SET_FUNCTION = key -> new HashSet<>();
Expand Down

0 comments on commit 19abb76

Please sign in to comment.