Skip to content

Commit 6192c30

Browse files
committed
build: prevent unused imports
1 parent 00b6239 commit 6192c30

11 files changed

Lines changed: 16 additions & 13 deletions

File tree

com.avaloq.tools.ddk.check.lib/src/com/avaloq/tools/ddk/check/lib/IResourceCache.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public interface IResourceCache {
3535
* <em>Note:</em> throws
3636
* </p>
3737
* <ul>
38-
* <li>{@link IllegalArgumentException} if {@code context} or {@code key} are {@©ode null}.</li>
38+
* <li>{@link IllegalArgumentException} if {@code context} or {@code key} are {@code null}.</li>
3939
* <li>{@link IllegalStateException} if the resource of {@code context} is not an Xtext resource.</li>
4040
* </ul>
4141
*
@@ -57,7 +57,7 @@ public interface IResourceCache {
5757
* <em>Note:</em> throws
5858
* </p>
5959
* <ul>
60-
* <li>{@link IllegalArgumentException} if {@code context} or {@code key} are {@©ode null}.</li>
60+
* <li>{@link IllegalArgumentException} if {@code context} or {@code key} are {@code null}.</li>
6161
* <li>{@link IllegalStateException} if the resource of {@code context} is not an Xtext resource.</li>
6262
* <li>{@link ClassCastException} if the value cannot be converted to type T.</li>
6363
* </ul>
@@ -78,7 +78,7 @@ public interface IResourceCache {
7878
* <em>Note:</em> throws
7979
* </p>
8080
* <ul>
81-
* <li>{@link IllegalArgumentException} if {@code context} or {@code key} are {@©ode null}.</li>
81+
* <li>{@link IllegalArgumentException} if {@code context} or {@code key} are {@code null}.</li>
8282
* <li>{@link IllegalStateException} if the resource of {@code context} is not an Xtext resource.</li>
8383
* </ul>
8484
*
@@ -96,7 +96,7 @@ public interface IResourceCache {
9696
* <em>Note:</em> throws
9797
* </p>
9898
* <ul>
99-
* <li>{@link IllegalArgumentException} if {@code context} is {@©ode null}.</li>
99+
* <li>{@link IllegalArgumentException} if {@code context} is {@code null}.</li>
100100
* <li>{@link IllegalStateException} if the resource of {@code context} is not an Xtext resource.</li>
101101
* </ul>
102102
*

com.avaloq.tools.ddk.check.runtime.core/src/com/avaloq/tools/ddk/check/runtime/issue/ICheckCatalogImpl.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
* Resources containing check catalogs are identified by the optional {@code catalog} extension attribute.
1919
* Descriptors of this kind are created for check validator extensions.
2020
*
21-
* @see {@link com.avaloq.tools.ddk.check.runtime.internal.CheckCatalogDescriptor}
21+
* @see com.avaloq.tools.ddk.check.runtime.internal.CheckCatalogDescriptor
2222
*/
2323
public interface ICheckCatalogImpl extends Resource {
2424

com.avaloq.tools.ddk.test.core/src/com/avaloq/tools/ddk/test/core/jupiter/BugTestAwareRule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
/**
2222
* This {@link InvocationInterceptor} implementation changes the behavior for unresolved bug tests.
2323
* <p>
24-
* The behavior for at test that is annotated with {@link BugTest(unresolved=true)} is the following:
24+
* The behavior for at test that is annotated with {@link BugTest} (with {@code unresolved=true}) is the following:
2525
* <ul>
2626
* <li>Test evaluation <code>OK</code> results in <code>FAIL</code> ({@link AssertionError})</li>
2727
* <li>Test evaluation <code>FAIL</code> results in <code>OK</code></li>

com.avaloq.tools.ddk.test.core/src/com/avaloq/tools/ddk/test/core/jupiter/IssueAwareRule.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
/**
2323
* This {@link InvocationInterceptor} implementation changes the behavior for not fixed issues.
2424
* <p>
25-
* The behavior for at test that is annotated with {@link Issue(fixed = false)} is the following:
25+
* The behavior for at test that is annotated with {@link Issue} (with {@code fixed = false}) is the following:
2626
* <ul>
2727
* <li>Test evaluation <code>OK</code> results in <code>FAIL</code> ({@link AssertionError})</li>
2828
* <li>Test evaluation <code>FAIL</code> results in <code>OK</code></li>

com.avaloq.tools.ddk.test.core/src/com/avaloq/tools/ddk/test/core/mock/ExtensionRegistryMock.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public static void mockExecutableExtension(final IConfigurationElement mockedEle
9494

9595
/**
9696
* Mocks an {@link IConfigurationElement} for an extension point with the given id. The extension point is only mocked via
97-
* {@link IExtensionRegistry#getConfigurationElementsFor(String) and will not be visible otherwise.
97+
* {@link IExtensionRegistry#getConfigurationElementsFor(String)} and will not be visible otherwise.
9898
*
9999
* @param extensionPointId
100100
* the fully-qualified id for the extension point, must not be {@code null}

com.avaloq.tools.ddk.test.ui/src/com/avaloq/tools/ddk/test/ui/swtbot/FixedDefaultWorkbench.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,8 @@
3131
*/
3232
class FixedDefaultWorkbench {
3333

34-
/** @see org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.getLimboShell() */
34+
/** @see org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine#getLimboShell() */
35+
@SuppressWarnings("restriction")
3536
private static final String LIMBO_SHELL = "PartRenderingEngine's limbo"; //$NON-NLS-1$
3637
private static final String QUIK_ACCESS_SHELL = "Quick Access"; //$NON-NLS-1$
3738

com.avaloq.tools.ddk.xtext.expression/src/com/avaloq/tools/ddk/xtext/expression/generator/GenModelUtil2.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public static String qualifiedPackageInterfaceName(final EPackage ePackage) {
6464
/**
6565
* Formats a name by parsing it into words separated by underscores and/or mixed-casing and then
6666
* recombining them using the specified separator.
67-
* {@see CodeGenUtil#format(String, char, String, boolean, boolean)
67+
* {@link CodeGenUtil#format(String, char, String, boolean, boolean)}
6868
*
6969
* @param name
7070
* the name to format

com.avaloq.tools.ddk.xtext/src/com/avaloq/tools/ddk/xtext/formatting/locators/IExtendedLocator.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,8 @@ enum AggregationPolicy {
2828
* Get the locator's aggregation policy. OVERRIDE locators (e.g. NoLinewrapLocatorFacade)
2929
* are not combined, whereas COMBINED_MAXIMUM locators are combined/aggregated, and ADDITIVE locators are added to previous locators.
3030
*
31-
* @see {@link com.avaloq.tools.ddk.xtext.formatting.SpaceEntry SpaceEntry} and {@link com.avaloq.tools.ddk.xtext.formatting.WrapEntry WrapEntry}
31+
* @see com.avaloq.tools.ddk.xtext.formatting.SpaceEntry
32+
* @see com.avaloq.tools.ddk.xtext.formatting.WrapEntry
3233
* @return policy of locator
3334
*/
3435
AggregationPolicy getPolicy();

com.avaloq.tools.ddk.xtext/src/com/avaloq/tools/ddk/xtext/formatting/locators/RightPaddingLocator.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public class RightPaddingLocator extends ElementLocator implements ISpaceLocator
3434
* the formatting configuration
3535
* @param length
3636
* the minimum amount of space allocated for an entry
37-
* @see {@link #getPadding(ExtendedLineEntry)}
37+
* @see #getPadding(ExtendedLineEntry)
3838
*/
3939
public RightPaddingLocator(final FormattingConfig formattingConfig, final int length) { // NOPMD CallSuperInConstructor - false positive by PMD
4040
formattingConfig.super();

com.avaloq.tools.ddk.xtext/src/com/avaloq/tools/ddk/xtext/linking/ILazyLinkingResource2.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ public interface ILazyLinkingResource2 extends Resource.Internal {
3939
* Creates diagnostics for given triple.
4040
*
4141
* @param triple
42-
* triple <EObject, EReference, INode>, must not be {@code null}
42+
* triple {@code <EObject, EReference, INode>}, must not be {@code null}
4343
*/
4444
void createAndAddDiagnostic(Triple<EObject, EReference, INode> triple);
4545

0 commit comments

Comments
 (0)