bump Gradle version to 8.3

also fixed bug in `JWO.dynamicCast`
This commit is contained in:
2023-10-02 12:48:01 +08:00
parent 76175afdf8
commit 70123e1c08
6 changed files with 8 additions and 12 deletions

View File

@@ -472,7 +472,7 @@ public class JWO {
public static <T, U> T dynamicCast(U obj, Class<T> cls) {
if(obj == null) return null;
else if(cls.isInstance(obj.getClass())) {
else if(cls.isInstance(obj)) {
return (T) obj;
} else {
return null;