Skip to content

Commit a7d2c31

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

16 files changed

Lines changed: 22 additions & 19 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.test/src/com/avaloq/tools/ddk/check/runtime/core/validation/CheckValidatorTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ protected String getHostLanguage() {
4343
/**
4444
* Tests that the dummy validator is found via the check validator extension point.
4545
*
46-
* @see {@link com.avaloq.tools.ddk.check.extensionpoint.test.validation.DummyValidator}
46+
* @see com.avaloq.tools.ddk.check.extensionpoint.test.validation.DummyValidator
4747
*/
4848
@Test
4949
void testAtLeastOneValidatorFound() {

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.check.runtime.ui/src/com/avaloq/tools/ddk/check/runtime/ui/editor/PlatformPluginAwareEditorOpener.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public class PlatformPluginAwareEditorOpener extends LanguageSpecificURIEditorOp
6868
/**
6969
* If a platform plugin URI is given, a read-only Xtext editor is opened and returned. {@inheritDoc}
7070
*
71-
* @see {@link org.eclipse.emf.common.util.URI#isPlatformPlugin()}
71+
* @see org.eclipse.emf.common.util.URI#isPlatformPlugin()
7272
*/
7373
@Override
7474
public IEditorPart open(final URI uri, final EReference crossReference, final int indexInList, final boolean select) {

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.test.core/src/com/avaloq/tools/ddk/xtext/test/IllegalJUnitAnnotation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
package com.avaloq.tools.ddk.xtext.test;
1212

1313
/**
14-
* Raised when a test wants to annotate a method with either a {@link @BeforeClass} or a {@link @AfterClass} annotation.
14+
* Raised when a test wants to annotate a method with either a {@code @BeforeClass} or a {@code @AfterClass} annotation.
1515
*/
1616
public class IllegalJUnitAnnotation extends RuntimeException {
1717
private static final long serialVersionUID = 1L;

0 commit comments

Comments
 (0)