Skip to content

Commit

Permalink
fix some javadoc issue
Browse files Browse the repository at this point in the history
  • Loading branch information
EcljpseB0T authored and jukzi committed Nov 3, 2023
1 parent 14e46ea commit d3f6daf
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
/**
* Helper class to check if an expression requires parentheses.
*
* @see JDTUIHelperClasses
* @since 3.7
*/
public class NecessaryParenthesesChecker {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ public boolean canHaveChildren() {

/**
* @return The result of the search for children
* @see org.eclipse.jdt.internal.ui.callhierarchy.MethodWrapper#findChildren(org.eclipse.core.runtime.IProgressMonitor)
* @see org.eclipse.jdt.internal.corext.callhierarchy.MethodWrapper#findChildren(IProgressMonitor)
*/
@Override
protected Map<String, MethodCall> findChildren(IProgressMonitor progressMonitor) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,6 @@
/**
* Rewrite helper for {@link Dimension} node lists and {@link ArrayType}s.
*
* @see JDTUIHelperClasses
* @since 3.10
*/
public class DimensionRewrite {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -44,8 +44,6 @@

/**
* Rewrite helper for modifier lists.
*
* @see JDTUIHelperClasses
*/
public class ModifierRewrite {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,6 @@
* the same element, please use {@link JavaConventions} directly (with the
* arguments from {@link #getSourceComplianceLevels(IJavaElement)}).
* </p>
*
* @see JDTUIHelperClasses
*/
public class JavaConventionsUtil {

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,35 +40,33 @@
* and move the dereference into the then-block of this null-check:
*
* <pre>
* {@code
* @Nullable
* <code>@Nullable</code>
* Exception e;
* }
* void test() {
* e.printStackTrace();
* }</pre>
* }
* </pre>
*
* will be converted to:
*
* <pre>
* {@code
* @Nullable
* <code>@Nullable</code>
* Exception e;
* }
* void test() {
* final Exception e2 = e;
* if (e2 != null) {
* e2.printStackTrace();
* } else {
* // TODO handle null value
* }
* }</pre>
* }
* </pre>
* <p>
* The <code>final</code> keyword is added to remind the user that writing to the local variable has
* no effect on the original field.
* </p>
* <p>
* Rrespects scoping if the problem occurs inside the initialization of a local variable (by moving
* Respects scoping if the problem occurs inside the initialization of a local variable (by moving
* statements into the new then block).
* </p>
*
Expand Down

0 comments on commit d3f6daf

Please sign in to comment.