Skip to content

Commit ef09129

Browse files
committed
chore: lint
1 parent e29386c commit ef09129

File tree

1 file changed

+3
-3
lines changed
  • google-http-client/src/main/java/com/google/api/client/util

1 file changed

+3
-3
lines changed

google-http-client/src/main/java/com/google/api/client/util/Types.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,10 +107,10 @@ public static boolean isAssignableToOrFrom(Class<?> classToCheck, Class<?> anoth
107107
*/
108108
public static <T> T newInstance(Class<T> clazz) {
109109
// This is a workaround for https://github.com/oracle/graal/issues/11429. Remove this line once
110-
// the GraalVM team has provided a solution or workaround for this.
110+
// the GraalVM team has provided a solution or workaround for this.
111111
if (clazz.getName().equals("java.lang.Object")) {
112-
return (T) new Object();
113-
}
112+
return (T) new Object();
113+
}
114114

115115
// TODO(yanivi): investigate "sneaky" options for allocating the class that GSON uses, like
116116
// setting the constructor to be accessible, or possibly provide a factory method of a special

0 commit comments

Comments
 (0)