Skip to content

Commit

Permalink
Fix checkstyle issue
Browse files Browse the repository at this point in the history
  • Loading branch information
gimantha committed Dec 2, 2024
1 parent f793e5b commit ce2986d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -601,7 +601,7 @@ private static boolean isSubTypeWithInherentType(Context cx, Object sourceValue,
.orElse(false);
}

private synchronized static boolean isSubType(Type source, Type target) {
private static synchronized boolean isSubType(Type source, Type target) {
if (source instanceof CacheableTypeDescriptor sourceCacheableType &&
target instanceof CacheableTypeDescriptor targetCacheableType) {
return isSubTypeWithCache(sourceCacheableType, targetCacheableType);
Expand Down

0 comments on commit ce2986d

Please sign in to comment.