Skip to content

Commit

Permalink
remove not analysed @SuppressWarnings("javadoc")
Browse files Browse the repository at this point in the history
get rid of
"At least one of the problems in category 'javadoc' is not analysed due
to a compiler option being ignored"	warnings
  • Loading branch information
EcljpseB0T authored and jukzi committed Dec 5, 2023
1 parent 46a58c7 commit 4412697
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ public static RecordDeclaration getRecordDeclaration(TextEdit edit, TextChange c
/**
* @noreference This method is not intended to be referenced by clients.
*/
@SuppressWarnings("javadoc")
public static MethodDeclaration getRecordDeclarationCompactConstructor(TextEdit edit, TextChange change, CompilationUnit cuNode){
RecordDeclaration recDecl = getRecordDeclaration(edit, change, cuNode);
MethodDeclaration compConst= null;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -404,7 +404,6 @@ public static RefactoringStatus analyzeLocalRenames(LocalAnalyzePackage[] analyz
*
* @noreference This method is not intended to be referenced by clients.
*/
@SuppressWarnings("javadoc")
public static RefactoringStatus analyzeCompactConstructorLocalRenames(LocalAnalyzePackage[] analyzePackages, TextChange cuChange, CompilationUnit oldCUNode, boolean recovery) throws CoreException {
return analyzeLocalRenames(analyzePackages, cuChange, oldCUNode, true, recovery);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ private String getTestFileName(boolean positive, boolean input) {
* Test files are assumed to be located in the resources directory.
* @return the ICompilationUnit created from the specified test file
*/
@SuppressWarnings("javadoc")
private ICompilationUnit createCUForSimpleTest(IPackageFragment pack,
boolean positive, boolean input)
throws Exception
Expand Down Expand Up @@ -141,7 +140,6 @@ private String getBugTestFileName(IJavaProject project, IPackageFragment pack, S
* @param project can be null if only 1 project exists in the test workspace
* @return the ICompilationUnit created from the specified test file
*/
@SuppressWarnings("javadoc")
private ICompilationUnit createCUForBugTestCase(IJavaProject project,
IPackageFragment pack, String baseName, boolean input)
throws Exception
Expand All @@ -162,7 +160,6 @@ private ICompilationUnit createCUForBugTestCase(IJavaProject project,
* markers is not present in the source string.
* @return an ISourceRange representing the marked selection
*/
@SuppressWarnings("javadoc")
private ISourceRange findSelectionInSource(String source) throws Exception {
int begin= source.indexOf(SELECTION_START_HERALD) + SELECTION_START_HERALD.length();
int end= source.indexOf(SELECTION_END_HERALD);
Expand Down Expand Up @@ -234,7 +231,6 @@ private void doSingleUnitTestWithWarning(boolean protectConstructor, ICompilatio
* Test files are assumed to be located in the resources directory.
* @param protectConstructor true iff IntroduceFactoryRefactoring should make the constructor private
*/
@SuppressWarnings("javadoc")
void singleUnitHelper(boolean protectConstructor)
throws Exception
{
Expand All @@ -252,7 +248,6 @@ void singleUnitHelper(boolean protectConstructor)
* @param baseFileName the base file name
* @param protectConstructor true iff IntroduceFactoryRefactoring should make the constructor private
*/
@SuppressWarnings("javadoc")
protected void singleUnitBugHelper(String baseFileName, boolean protectConstructor)
throws Exception
{
Expand All @@ -275,7 +270,6 @@ protected void singleUnitBugHelperWithWarning(String baseFileName, boolean prote
* @param factoryMethodName the name to use for the generated factory method
* @param factoryClassName the name of the factory class
*/
@SuppressWarnings("javadoc")
void namesHelper(String factoryMethodName, String factoryClassName)
throws Exception
{
Expand Down Expand Up @@ -312,7 +306,6 @@ void namesHelper(String factoryMethodName, String factoryClassName)
* @param pack an IPackageFragment for the containing package
* @return the ICompilationUnit for the newly-created unit
*/
@SuppressWarnings("javadoc")
private ICompilationUnit createCUFromFileName(String fileName, IPackageFragment pack) throws Exception {
String fullName = TEST_PATH_PREFIX + getRefactoringPath() + "positive/" + fileName + "_in.java";

Expand Down Expand Up @@ -358,7 +351,6 @@ private void doMultiUnitTest(ICompilationUnit[] CUs, String testPath, String[] o
* @param staticFactoryMethod true iff IntroduceFactoryRefactoring should make the factory method static
* @param inputFileBaseNames an array of input source file base names
*/
@SuppressWarnings("javadoc")
void multiUnitHelper(boolean staticFactoryMethod, String[] inputFileBaseNames)
throws Exception
{
Expand All @@ -384,7 +376,6 @@ void multiUnitHelper(boolean staticFactoryMethod, String[] inputFileBaseNames)
* @param factoryClassName the fully-qualified name of the class to receive the factory method, or null
* if the factory method is to be placed on the class defining the given constructor
*/
@SuppressWarnings("javadoc")
void multiUnitBugHelper(boolean staticFactoryMethod, String[] inputFileBaseNames, String factoryClassName)
throws Exception
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
import org.eclipse.jdt.ui.tests.core.rules.Java17ProjectTestSetup;
import org.eclipse.jdt.ui.tests.core.rules.ProjectTestSetup;

@SuppressWarnings("javadoc")
public class CallHierarchyTestHelper {
private static final String[] EMPTY= new String[0];

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@

import org.eclipse.jdt.internal.corext.dom.HierarchicalASTVisitor;

@SuppressWarnings("javadoc")
public class HierarchicalASTVisitorTest {
private static class TestHierarchicalASTVisitor extends HierarchicalASTVisitor {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,6 @@
/**
* This is a reduced and marginally adjusted copy from org.eclipse.jdt.core.tests.util.Util
*/
@SuppressWarnings("javadoc")
public class JarUtil {

// Trace for delete operation
Expand Down

0 comments on commit 4412697

Please sign in to comment.