We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent fb18555 commit f0ca832Copy full SHA for f0ca832
google-http-client/src/main/java/com/google/api/client/util/Data.java
@@ -107,7 +107,7 @@ public class Data {
107
* @return magic object instance that represents the "null" value (not Java {@code null})
108
* @throws IllegalArgumentException if unable to create a new instance
109
*/
110
- public static <T> T nullOf(Class<?> objClass) {
+ public static <T> T nullOf(Class<T> objClass) {
111
Object result = NULL_CACHE.get(objClass);
112
if (result == null) {
113
synchronized (NULL_CACHE) {
0 commit comments