Skip to content

Commit

Permalink
Checkstyle fix
Browse files Browse the repository at this point in the history
  • Loading branch information
heshanpadmasiri committed Feb 27, 2025
1 parent de1960a commit c959e14
Show file tree
Hide file tree
Showing 9 changed files with 14 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -614,4 +614,4 @@ T get(C constraint) {
return cached;
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -525,4 +525,4 @@ private static Optional<ListAtomicType> bddListAtomicType(Env env, Bdd bdd, List
}
return bddNode.isSimple() ? Optional.of(env.listAtomType(bddNode.atom())) : Optional.empty();
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -162,4 +162,4 @@ record InherentShapeTestKeys(int sourceTypeId, int targetTypeId) {
}

private static final Cache<InherentShapeTestKeys, Boolean> inherentShapeTestCache = CacheFactory.createCache();
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -1409,4 +1409,4 @@ private static SemType createConvertibleCastMask() {
}

}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -123,4 +123,4 @@ public SemType createSemType(Context cx) {
protected boolean isDependentlyTypedInner(Set<MayBeDependentType> visited) {
return constraint instanceof MayBeDependentType constraintType && constraintType.isDependentlyTyped(visited);
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -334,4 +334,4 @@ protected boolean isDependentlyTypedInner(Set<MayBeDependentType> visited) {
public int typeId() {
return this.typeId;
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -120,4 +120,4 @@ protected boolean isDependentlyTypedInner(Set<MayBeDependentType> visited) {
constraintType.isDependentlyTyped(visited);
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,11 @@

import java.util.Map;

/**
* Simplified version of ${code TypeCheckFlyweightStore} for types that don't have to handle RO and RW types.
*
* @since 2201.12.0
*/
class SimpleTypeCheckFlyweightStore {

private final LoadingCache<Integer, TypeCheckFlyweight> unnamedTypeCache =
Expand Down Expand Up @@ -81,4 +86,4 @@ public TypeCheckFlyweight(Integer constraintId) {
this(TypeIdSupplier.getAnonId(), TypeCheckCacheFactory.create());
}
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -38,4 +38,4 @@ public interface TypeWithShape extends TypeWithAcceptedType {
Optional<SemType> shapeOf(Context cx, ShapeSupplier shapeSupplierFn, Object object);

boolean couldInherentTypeBeDifferent();
}
}

0 comments on commit c959e14

Please sign in to comment.