checkstyle

This commit is contained in:
Clément Fournier
2022-05-07 13:13:46 +02:00
parent 98e026bfc8
commit 5b0404ffa0

View File

@ -237,7 +237,7 @@ final class ApexTreeBuilder extends AstVisitor<AdditionalPassScope> {
}
@SuppressWarnings( { "unchecked", "rawtypes" })
@SuppressWarnings({ "unchecked", "rawtypes" })
private static <T extends AstNode> void register(Class<T> nodeType, Function<T, ? extends AbstractApexNode<T>> nodeAdapterType) {
NODE_TYPE_TO_NODE_ADAPTER_TYPE.put(nodeType, (Function) nodeAdapterType);
}
@ -446,7 +446,7 @@ final class ApexTreeBuilder extends AstVisitor<AdditionalPassScope> {
final List<ApexDocTokenLocation> docTokenLocations;
<T extends List<TokenLocation> & RandomAccess>
CommentInformation(Map<Integer, String> suppressMap, T allCommentTokens, List<ApexDocTokenLocation> docTokenLocations) {
CommentInformation(Map<Integer, String> suppressMap, T allCommentTokens, List<ApexDocTokenLocation> docTokenLocations) {
this.suppressMap = suppressMap;
this.allCommentTokens = allCommentTokens;
this.docTokenLocations = docTokenLocations;