forked from phoedos/pmd
checkstyle
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user