Skip to content

Commit 3653286

Browse files
EcljpseB0THannesWell
authored andcommitted
fix javadoc errors "reference not found" and tag position related errors
See #1392
1 parent 7c2e942 commit 3653286

File tree

6 files changed

+10
-8
lines changed

6 files changed

+10
-8
lines changed

ds/org.eclipse.pde.ds.annotations/src/org/eclipse/pde/ds/internal/annotations/ComponentPropertyTester.java

+3-2
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,9 @@
3131
import org.eclipse.pde.internal.ds.core.IDSConstants;
3232

3333
/**
34-
* Tests if a type (or any nested type) has a {@link Component} annotation with
35-
* no <code>name</code> attribute.
34+
* Tests if a type (or any nested type) has a
35+
* {@link org.osgi.service.component.annotations.Component} annotation with no
36+
* <code>name</code> attribute.
3637
*/
3738
@SuppressWarnings("restriction")
3839
public class ComponentPropertyTester extends PropertyTester {

ds/org.eclipse.pde.ds.core/src/org/eclipse/pde/internal/ds/core/IDSModel.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
*
2424
* @since 3.4
2525
* @see IDSComponent
26-
* @see IDSFactory
26+
* @see IDSDocumentFactory
2727
*/
2828
public interface IDSModel extends IModelChangeProvider, IModel {
2929

ui/org.eclipse.pde.bnd.ui/src/org/eclipse/pde/bnd/ui/model/repo/RepositoryTreeLabelProvider.java

+2-1
Original file line numberDiff line numberDiff line change
@@ -159,10 +159,11 @@ public void update(ViewerCell cell) {
159159

160160
/**
161161
* Return the text to be shown as a tooltip.
162-
* <p/>
162+
* <p>
163163
* TODO allow markdown to be used. Not sure how to create a rich text
164164
* tooltip though. Would also be nice if we could copy/paste from the
165165
* tooltip like in the JDT.
166+
* </p>
166167
*/
167168
@Override
168169
public String getToolTipText(Object element) {

ui/org.eclipse.pde.launching/src/org/eclipse/pde/internal/launching/launcher/LaunchArgumentsHelper.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ public class LaunchArgumentsHelper {
6363

6464
/**
6565
* Returns the location that will be used as the workspace when launching or
66-
* an empty string if the user has specified the <code>-data &#64none</code>
66+
* an empty string if the user has specified the {@code -data @none}
6767
* argument for no workspace. Will replace variables, so this method should
6868
* only be called when variable substitution (may prompt the user) is appropriate.
6969
*

ui/org.eclipse.pde.runtime/src/org/eclipse/pde/internal/runtime/registry/model/Property.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -56,16 +56,17 @@ public void setValue(String value) {
5656
*
5757
* <p>
5858
* The {@link Property}s are compared according to the following rules:
59+
* </p>
5960
* <ul>
6061
* <li>objectClass is always less than everything else</li>
6162
* <li>properties with names starting with "service." are considered "less"
6263
* than other properties.</li>
6364
* <li>regular properties are considered "more" than other properties</li>
6465
* </ul>
65-
* </p>
6666
*
6767
* <p>
6868
* When sorting an array of properties with the following code:
69+
* </p>
6970
*
7071
* <pre>
7172
* Property[] properties = ...;
@@ -78,7 +79,6 @@ public void setValue(String value) {
7879
* <li>service.id</li>
7980
* <li>service.id</li>
8081
* </ul>
81-
* </p>
8282
*
8383
* @param other
8484
* other property to be compared against

ui/org.eclipse.pde.ui.tests/src/org/eclipse/pde/ui/tests/target/TargetDefinitionResolutionTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ public void testInvalidBundleContainers() throws Exception {
7070
* Tests that if we find a bundle with a bad or missing manifest when
7171
* resolving we create the correct status.
7272
*
73-
* @see TargetBundle.STATUS_INVALID_MANIFEST
73+
* @see TargetBundle#STATUS_INVALID_MANIFEST
7474
*/
7575
@Test
7676
public void testInvalidManifest() throws Exception {

0 commit comments

Comments
 (0)