mirror of
https://github.com/openjdk/jdk.git
synced 2026-02-06 16:38:36 +00:00
8343480: Remove unnecessary @SuppressWarnings annotations (javadoc)
Reviewed-by: hannesw
This commit is contained in:
parent
f95097cc64
commit
fbf9b96b61
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright (c) 2003, 2023, Oracle and/or its affiliates. All rights reserved.
|
||||
* Copyright (c) 2003, 2024, Oracle and/or its affiliates. All rights reserved.
|
||||
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
|
||||
*
|
||||
* This code is free software; you can redistribute it and/or modify it
|
||||
@ -367,7 +367,6 @@ public class TagletWriter {
|
||||
return createAnchorAndSearchIndex(element, tagText, Text.of(tagText), desc, tree);
|
||||
}
|
||||
|
||||
@SuppressWarnings("preview")
|
||||
Content createAnchorAndSearchIndex(Element element, String tagText, Content tagContent, String desc, DocTree tree) {
|
||||
Content result;
|
||||
if (context.isFirstSentence && context.inSummary || context.inTags.contains(DocTree.Kind.INDEX)
|
||||
|
||||
@ -678,7 +678,7 @@ public class Checker extends DocTreePathScanner<Void, Void> {
|
||||
|
||||
// <editor-fold defaultstate="collapsed" desc="HTML attributes">
|
||||
|
||||
@Override @DefinedBy(Api.COMPILER_TREE) @SuppressWarnings("fallthrough")
|
||||
@Override @DefinedBy(Api.COMPILER_TREE)
|
||||
public Void visitAttribute(AttributeTree tree, Void ignore) {
|
||||
// for now, ensure we're in an HTML StartElementTree;
|
||||
// in time, we might check uses of attributes in other tree nodes
|
||||
|
||||
@ -336,7 +336,6 @@ public class Start {
|
||||
/**
|
||||
* Main program - external wrapper.
|
||||
*/
|
||||
@SuppressWarnings("deprecation")
|
||||
Result begin(String... argv) {
|
||||
// Preprocess @file arguments
|
||||
List<String> allArgs;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user