Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2020-01-08 10:37:17 +0000
committerLars Vogel2020-01-08 10:37:17 +0000
commitf4092f9f45c6e9a042e7f8dacd6ae8578fcd442a (patch)
treeaa409d49bd834607b3dc39a48e8b19babe4fa054
parent27cfeea62e1cde27d9f78a2d354794be7de05c3e (diff)
downloadrt.equinox.p2-f4092f9f45c6e9a042e7f8dacd6ae8578fcd442a.tar.gz
rt.equinox.p2-f4092f9f45c6e9a042e7f8dacd6ae8578fcd442a.tar.xz
rt.equinox.p2-f4092f9f45c6e9a042e7f8dacd6ae8578fcd442a.zip
Removes whitespace from p2.ui
Done via Source-> Cleanup and selecting removal of unnecessary whitespace Change-Id: I1e3b9a567b41af675c46800d49860313c052f4da Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ElementQueryDescriptor.java2
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ElementWrapper.java4
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/IProvHelpContextIds.java12
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/MessageDialogWithLink.java2
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ProvUIActivator.java8
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ProvUIAdapterFactory.java6
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ProvUIMessages.java4
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ProvUIProvisioningListener.java22
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ProvisioningOperationRunner.java14
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/QueryProvider.java8
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/QueryableRepositoryManager.java12
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/RepositoryLocationQuery.java4
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/RepositoryOperationBeginningEvent.java2
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/RepositoryOperationEndingEvent.java14
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ServiceUIComponent.java2
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/UpdateManagerCompatibility.java12
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ValidationDialogServiceUI.java4
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/actions/ExistingIUInProfileAction.java6
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/actions/ProfileModificationAction.java8
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/actions/PropertyDialogAction.java2
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/actions/RefreshAction.java2
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/actions/UpdateAction.java2
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ApplyProfileChangesDialog.java8
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/AvailableIUGroup.java14
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/AvailableIUPatternFilter.java2
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/AvailableIUsPage.java16
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ComboAutoCompleteField.java2
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ContainerCheckedTreeViewer.java12
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/DelayedFilterCheckboxTree.java10
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ILayoutConstants.java6
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/IPreFilterJobProvider.java4
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/IRepositoryManipulationHook.java2
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/IRepositorySelectionListener.java8
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/IResolutionErrorReportingPage.java2
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ISelectableIUsPage.java4
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/IUCopyrightPropertyPage.java2
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/IUDetailsGroup.java4
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/IUGeneralInfoPropertyPage.java4
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/IULicensePropertyPage.java4
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/IUPropertyPage.java2
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/IViewMenuProvider.java2
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/InstallWizard.java10
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/InstallWizardPage.java2
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/InstalledIUGroup.java6
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/PreselectedIUInstallWizard.java2
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ProvisioningWizardDialog.java2
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/RemediationGroup.java2
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/RemediationPage.java2
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/RepositoryManipulatorDropTarget.java4
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/RepositoryNameAndLocationDialog.java14
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/RepositorySelectionGroup.java12
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ResolutionResultsWizardPage.java8
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ResolutionStatusPage.java12
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/SizeComputingWizardPage.java4
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/StructuredIUGroup.java6
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/TrustCertificateDialog.java2
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/URLDropAdapter.java10
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/UninstallWizardPage.java2
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/UpdateWizardPage.java2
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/UserValidationDialog.java6
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/misc/StringMatcher.java46
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/model/ElementUtils.java2
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/model/EmptyElementExplanation.java2
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/model/IIUElement.java2
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/model/IRepositoryElement.java4
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/model/QueriedElement.java4
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/model/QueriedElementWrapper.java2
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/model/RemedyElementCategory.java2
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/model/RootElement.java6
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/query/ArtifactKeyWrapper.java2
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/query/ArtifactRepositoryElementWrapper.java4
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/query/AvailableIUWrapper.java2
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/query/CategoryElementWrapper.java4
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/query/InstalledIUElementWrapper.java4
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/query/MetadataRepositoryElementWrapper.java4
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/query/ProfileElementWrapper.java2
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/query/RequiredIUsQuery.java10
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/viewers/DeferredQueryContentProvider.java6
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/viewers/IDeferredQueryTreeListener.java2
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/viewers/IInputChangeListener.java2
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/viewers/IUColumnConfig.java34
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/viewers/IUDetailsLabelProvider.java6
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/viewers/IUDragAdapter.java6
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/viewers/MetadataRepositoryElementComparator.java4
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/viewers/ProvElementContentProvider.java8
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/viewers/ProvElementLabelProvider.java6
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/viewers/RepositoryContentProvider.java4
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/viewers/RepositoryDetailsLabelProvider.java4
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/viewers/StructuredViewerProvisioningListener.java20
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/p2/ui/ICopyable.java4
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/p2/ui/InstalledSoftwarePage.java14
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/p2/ui/LicenseManager.java22
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/p2/ui/Policy.java108
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/p2/ui/ProvisioningUI.java6
-rw-r--r--bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/p2/ui/RepositoryManipulationPage.java18
95 files changed, 372 insertions, 372 deletions
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ElementQueryDescriptor.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ElementQueryDescriptor.java
index 69dc82e0c..f6da40030 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ElementQueryDescriptor.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ElementQueryDescriptor.java
@@ -22,7 +22,7 @@ import org.eclipse.equinox.p2.query.*;
* ElementQueryDescriptor represents everything needed to run a query, including
* the object to be queried, the query to use, and the query result. It can optionally
* wrap the query results in a UI element.
- *
+ *
* @since 3.4
*/
public class ElementQueryDescriptor {
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ElementWrapper.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ElementWrapper.java
index 2a9d60c49..0cc7fbc4b 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ElementWrapper.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ElementWrapper.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/*******************************************************************************
* Copyright (c) 2009, 2010 EclipseSource and others.
*
* This
@@ -49,7 +49,7 @@ public abstract class ElementWrapper {
/**
* Determines if this object should be accepted and wrapped
- * by a UI element.
+ * by a UI element.
*/
protected boolean shouldWrap(Object o) {
return true;
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/IProvHelpContextIds.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/IProvHelpContextIds.java
index ec96746e6..cba53aa52 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/IProvHelpContextIds.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/IProvHelpContextIds.java
@@ -7,7 +7,7 @@
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -28,15 +28,15 @@ package org.eclipse.equinox.internal.p2.ui;
public interface IProvHelpContextIds {
public static final String PREFIX = ProvUIActivator.PLUGIN_ID + "."; //$NON-NLS-1$
- public static final String REVERT_CONFIGURATION_WIZARD = PREFIX + "revert_configuration_wizard_context"; //$NON-NLS-1$
+ public static final String REVERT_CONFIGURATION_WIZARD = PREFIX + "revert_configuration_wizard_context"; //$NON-NLS-1$
- public static final String UNINSTALL_WIZARD = PREFIX + "uinstall_wizard_context"; //$NON-NLS-1$
+ public static final String UNINSTALL_WIZARD = PREFIX + "uinstall_wizard_context"; //$NON-NLS-1$
- public static final String UPDATE_WIZARD = PREFIX + "update_wizard_context"; //$NON-NLS-1$
+ public static final String UPDATE_WIZARD = PREFIX + "update_wizard_context"; //$NON-NLS-1$
- public static final String ADD_REPOSITORY_DIALOG = PREFIX + "add_repository_dialog_context"; //$NON-NLS-1$
+ public static final String ADD_REPOSITORY_DIALOG = PREFIX + "add_repository_dialog_context"; //$NON-NLS-1$
- public static final String INSTALL_WIZARD = PREFIX + "install_wizard_context"; //$NON-NLS-1$
+ public static final String INSTALL_WIZARD = PREFIX + "install_wizard_context"; //$NON-NLS-1$
public static final String REPOSITORY_MANIPULATION_DIALOG = PREFIX + "repository_manipulation_dialog_context"; //$NON-NLS-1$
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/MessageDialogWithLink.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/MessageDialogWithLink.java
index 676f67ce7..34044e1d9 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/MessageDialogWithLink.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/MessageDialogWithLink.java
@@ -7,7 +7,7 @@
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
- *
+ *
* Contributors:
* Mickael Istria (Red Hat Inc.) - 483644 Improve "No updates found" dialog
*******************************************************************************/
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ProvUIActivator.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ProvUIActivator.java
index 104276e4f..b96d4d934 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ProvUIActivator.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ProvUIActivator.java
@@ -7,7 +7,7 @@
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* Red Hat, Inc. - support for remediation page, Bug 460967
@@ -30,7 +30,7 @@ import org.osgi.framework.BundleContext;
/**
* Controls the lifecycle of the provisioning UI bundle
- *
+ *
* @since 3.4
*/
public class ProvUIActivator extends AbstractUIPlugin {
@@ -47,7 +47,7 @@ public class ProvUIActivator extends AbstractUIPlugin {
/**
* Returns the singleton plugin instance
- *
+ *
* @return the instance
*/
public static ProvUIActivator getDefault() {
@@ -73,7 +73,7 @@ public class ProvUIActivator extends AbstractUIPlugin {
Job.getJobManager().cancel(LoadMetadataRepositoryJob.LOAD_FAMILY);
// See https://bugs.eclipse.org/bugs/show_bug.cgi?id=305163
// join the jobs so that this bundle does not stop until the jobs are
- // actually cancelled.
+ // actually cancelled.
Job.getJobManager().join(LoadMetadataRepositoryJob.LOAD_FAMILY, new NullProgressMonitor());
plugin = null;
ProvUIActivator.context = null;
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ProvUIAdapterFactory.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ProvUIAdapterFactory.java
index 4fda80108..45e5ae4cb 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ProvUIAdapterFactory.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ProvUIAdapterFactory.java
@@ -7,7 +7,7 @@
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* Red Hat Inc. - Fix compiler problems from generified IAdaptable#getAdapter
@@ -23,9 +23,9 @@ import org.eclipse.equinox.p2.repository.metadata.IMetadataRepository;
/**
* Adapter factory for provisioning elements
- *
+ *
* @since 3.4
- *
+ *
*/
public class ProvUIAdapterFactory implements IAdapterFactory {
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ProvUIMessages.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ProvUIMessages.java
index fa4b58742..05b8efc91 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ProvUIMessages.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ProvUIMessages.java
@@ -18,8 +18,8 @@ package org.eclipse.equinox.internal.p2.ui;
import org.eclipse.osgi.util.NLS;
/**
- * Message class for provisioning UI messages.
- *
+ * Message class for provisioning UI messages.
+ *
* @since 3.4
*/
public class ProvUIMessages extends NLS {
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ProvUIProvisioningListener.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ProvUIProvisioningListener.java
index 6be6316bc..61d82adf3 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ProvUIProvisioningListener.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ProvUIProvisioningListener.java
@@ -25,7 +25,7 @@ import org.eclipse.equinox.p2.repository.IRepository;
* ProvisioningListener which handles event batching and other
* extensions to the provisioning event framework that are used by
* the UI.
- *
+ *
* @since 3.5
*/
public abstract class ProvUIProvisioningListener implements SynchronousProvisioningListener {
@@ -73,9 +73,9 @@ public abstract class ProvUIProvisioningListener implements SynchronousProvision
}
} else {
// We are still in the middle of a batch operation, but we've been notified
- // about a nested batch that ended. See if it ended with a specific event.
- // If it did, this means there was a user action involving a repository
- // (rather than side-effect events). For example, the user might add a repo while a full
+ // about a nested batch that ended. See if it ended with a specific event.
+ // If it did, this means there was a user action involving a repository
+ // (rather than side-effect events). For example, the user might add a repo while a full
// background load is running. We want to honor that
// event. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=305478
RepositoryEvent innerEvent = event.getEvent();
@@ -130,7 +130,7 @@ public abstract class ProvUIProvisioningListener implements SynchronousProvision
/**
* A repository has been added. Subclasses may override. May be called
* from a non-UI thread.
- *
+ *
* @param event the RepositoryEvent describing the details
*/
protected void repositoryAdded(RepositoryEvent event) {
@@ -142,7 +142,7 @@ public abstract class ProvUIProvisioningListener implements SynchronousProvision
/**
* A repository has been removed. Subclasses may override. May be called
* from a non-UI thread.
- *
+ *
* @param event the RepositoryEvent describing the details
*/
protected void repositoryRemoved(RepositoryEvent event) {
@@ -154,7 +154,7 @@ public abstract class ProvUIProvisioningListener implements SynchronousProvision
/**
* A repository has been discovered. Subclasses may override. May be called
* from a non-UI thread.
- *
+ *
* @param event the RepositoryEvent describing the details
*/
protected void repositoryDiscovered(RepositoryEvent event) {
@@ -166,7 +166,7 @@ public abstract class ProvUIProvisioningListener implements SynchronousProvision
/**
* A repository has changed. Subclasses may override. May be called
* from a non-UI thread.
- *
+ *
* @param event the RepositoryEvent describing the details
*/
protected void repositoryChanged(RepositoryEvent event) {
@@ -192,7 +192,7 @@ public abstract class ProvUIProvisioningListener implements SynchronousProvision
/**
* The specified profile has changed. Subclasses may override. May be called
* from a non-UI thread.
- *
+ *
* @param profileId the id of the profile that changed.
*/
protected void profileChanged(final String profileId) {
@@ -204,7 +204,7 @@ public abstract class ProvUIProvisioningListener implements SynchronousProvision
/**
* The specified profile has been added. Subclasses may override. May be called
* from a non-UI thread.
- *
+ *
* @param profileId the id of the profile that has been added.
*/
protected void profileAdded(final String profileId) {
@@ -216,7 +216,7 @@ public abstract class ProvUIProvisioningListener implements SynchronousProvision
/**
* The specified profile has been removed. Subclasses may override. May be called
* from a non-UI thread.
- *
+ *
* @param profileId the id of the profile that has been removed.
*/
protected void profileRemoved(final String profileId) {
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ProvisioningOperationRunner.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ProvisioningOperationRunner.java
index a70b640ba..eceed6bb9 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ProvisioningOperationRunner.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ProvisioningOperationRunner.java
@@ -7,7 +7,7 @@
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* Red Hat Inc. - Bug 460967
@@ -34,7 +34,7 @@ import org.eclipse.ui.statushandlers.StatusManager;
* be run synchronously or in a job. When scheduled as a job, the operation
* determines whether the job is run in
* the background or in the UI.
- *
+ *
* @since 3.4
*/
public class ProvisioningOperationRunner {
@@ -49,7 +49,7 @@ public class ProvisioningOperationRunner {
/**
* Schedule a job to execute the supplied ProvisioningOperation.
- *
+ *
* @param job The operation to execute
* @param errorStyle the flags passed to the StatusManager for error reporting
*/
@@ -67,8 +67,8 @@ public class ProvisioningOperationRunner {
/**
* Request a restart of the platform according to the specified
- * restart policy.
- *
+ * restart policy.
+ *
* @param restartPolicy
*/
void requestRestart(final int restartPolicy) {
@@ -136,10 +136,10 @@ public class ProvisioningOperationRunner {
/**
* This method is provided for use in automated test case. It should
* no longer be needed to be used by clients.
- *
+ *
* @param suppress <code>true</code> to suppress all restarts and <code>false</code>
* to stop suppressing restarts.
- *
+ *
* @noreference This method is not intended to be referenced by clients.
*/
public void suppressRestart(boolean suppress) {
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/QueryProvider.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/QueryProvider.java
index fd86b44da..699b8d120 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/QueryProvider.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/QueryProvider.java
@@ -31,7 +31,7 @@ import org.eclipse.equinox.p2.ui.ProvisioningUI;
/**
* Provides a default set of queries to drive the provisioning UI.
- *
+ *
* @since 3.5
*/
@@ -103,7 +103,7 @@ public class QueryProvider {
return new ElementQueryDescriptor(queryable, new RepositoryLocationQuery(), new Collector<URI>(), new ArtifactRepositoryElementWrapper(null, element));
case AVAILABLE_IUS :
- // Things get more complicated if the user wants to filter out installed items.
+ // Things get more complicated if the user wants to filter out installed items.
// This involves setting up a secondary query for installed content that the various
// collectors will use to reject content. We can't use a compound query because the
// queryables are different (profile for installed content, repo for available content)
@@ -137,7 +137,7 @@ public class QueryProvider {
}
// If it's a category or some other IUElement to drill down in, we get the requirements and show all requirements
- // that are also visible in the available list.
+ // that are also visible in the available list.
if (element instanceof CategoryElement || (element instanceof IIUElement && ((IIUElement) element).shouldShowChildren())) {
// children of a category should drill down according to the context. If we aren't in a category, we are already drilling down and
// continue to do so.
@@ -171,7 +171,7 @@ public class QueryProvider {
return null;
case AVAILABLE_UPDATES :
- // This query can be used by the automatic updater in headless cases (checking for updates).
+ // This query can be used by the automatic updater in headless cases (checking for updates).
// We traffic in IU's rather than wrapped elements
IProfile profile;
IInstallableUnit[] toUpdate = null;
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/QueryableRepositoryManager.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/QueryableRepositoryManager.java
index a3c368d7e..8b5d9e7d7 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/QueryableRepositoryManager.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/QueryableRepositoryManager.java
@@ -7,7 +7,7 @@
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -29,7 +29,7 @@ import org.eclipse.osgi.util.NLS;
* An object that provides query support for a specified
* set of repositories. The repository tracker flags determine which repositories
* are included in the query. Callers interested in only the resulting repository URIs
- * should specify a {@link RepositoryLocationQuery}, in which case the
+ * should specify a {@link RepositoryLocationQuery}, in which case the
* query is performed over the URI's. Otherwise the repositories are loaded and
* the query is performed over the repositories themselves.
*/
@@ -58,9 +58,9 @@ public abstract class QueryableRepositoryManager<T> implements IQueryable<T> {
* query.
* <p>
* This method is long-running; progress and cancellation are provided
- * by the given progress monitor.
+ * by the given progress monitor.
* </p>
- *
+ *
* @param query The query to perform..
* @param monitor a progress monitor, or <code>null</code> if progress
* reporting is not desired
@@ -92,7 +92,7 @@ public abstract class QueryableRepositoryManager<T> implements IQueryable<T> {
* can be queried by the receiver are already loaded. If a repository
* is not loaded because it was not found, this will not return false,
* because this repository cannot be queried.
- *
+ *
* @return <code>true</code> if all repositories to be queried by the
* receiver are loaded, <code>false</code> if they
* are not.
@@ -132,7 +132,7 @@ public abstract class QueryableRepositoryManager<T> implements IQueryable<T> {
/**
* Load the repository located at the specified location.
- *
+ *
* @param manager the manager
* @param location the repository location
* @param monitor the progress monitor
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/RepositoryLocationQuery.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/RepositoryLocationQuery.java
index 57a155556..8f1ae7e94 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/RepositoryLocationQuery.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/RepositoryLocationQuery.java
@@ -20,8 +20,8 @@ import java.net.URI;
import org.eclipse.equinox.p2.metadata.expression.ExpressionUtil;
/**
- * RepositoryLocationQuery yields true for all URI elements.
- *
+ * RepositoryLocationQuery yields true for all URI elements.
+ *
* @since 3.5
*/
public class RepositoryLocationQuery extends ExpressionMatchQuery<URI> {
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/RepositoryOperationBeginningEvent.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/RepositoryOperationBeginningEvent.java
index 3aabb4d04..89acad61c 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/RepositoryOperationBeginningEvent.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/RepositoryOperationBeginningEvent.java
@@ -20,7 +20,7 @@ import java.util.EventObject;
* Event used to signal that a repository operation is about
* to begin. This event can be used to ignore lower-level repository events
* until the operation is complete.
- *
+ *
* @since 2.0
*/
public class RepositoryOperationBeginningEvent extends EventObject {
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/RepositoryOperationEndingEvent.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/RepositoryOperationEndingEvent.java
index 2f2d53d5e..7e953a8ef 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/RepositoryOperationEndingEvent.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/RepositoryOperationEndingEvent.java
@@ -7,7 +7,7 @@
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -18,8 +18,8 @@ import java.util.EventObject;
import org.eclipse.equinox.internal.provisional.p2.repository.RepositoryEvent;
/**
- * Event used to signal that a repository operation has completed.
- *
+ * Event used to signal that a repository operation has completed.
+ *
* @since 2.0
*/
public class RepositoryOperationEndingEvent extends EventObject {
@@ -27,7 +27,7 @@ public class RepositoryOperationEndingEvent extends EventObject {
private static final long serialVersionUID = -4513769756968621852L;
/**
- * A repository event describing the nature of the operation.
+ * A repository event describing the nature of the operation.
*/
private RepositoryEvent event;
@@ -39,7 +39,7 @@ public class RepositoryOperationEndingEvent extends EventObject {
/**
* Construct a new instance of this event.
- *
+ *
* @param source the source of the event
* @param update a boolean indicating whether the UI should be updated in response
* to this event.
@@ -57,7 +57,7 @@ public class RepositoryOperationEndingEvent extends EventObject {
* Return a {@link RepositoryEvent} that reflects the operation that
* occurred. A <code>null</code> return value indicates that there
* was not a single underlying repository operation.
- *
+ *
* @return the {@link RepositoryEvent} that was involved in the operation. May be
* <code>null</code>. This event may be used by clients to determine
* what should be updated after an operation completes.
@@ -71,7 +71,7 @@ public class RepositoryOperationEndingEvent extends EventObject {
* Return a boolean that indicates whether the client should update the UI in response
* to this event.
* event.
- *
+ *
* @return <code>true</code> if clients should update to reflect to this event, <code>false</code>
* if the client should ignore the entire operation.
*/
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ServiceUIComponent.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ServiceUIComponent.java
index 5778045bc..fcea5da5a 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ServiceUIComponent.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ServiceUIComponent.java
@@ -7,7 +7,7 @@
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/UpdateManagerCompatibility.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/UpdateManagerCompatibility.java
index 51ee1ac96..b1adf7354 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/UpdateManagerCompatibility.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/UpdateManagerCompatibility.java
@@ -7,7 +7,7 @@
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -36,7 +36,7 @@ import org.xml.sax.SAXException;
/**
* Utility methods involving compatibility with the Eclipse Update Manager.
- *
+ *
* @since 3.4
*
*/
@@ -164,7 +164,7 @@ public class UpdateManagerCompatibility {
MetadataRepositoryElement element = (MetadataRepositoryElement) obj;
String sel = element.isEnabled() ? "true" : "false"; //$NON-NLS-1$ //$NON-NLS-2$
String name = element.getName();
- writer.print(indent + "<site url=\"" + URIUtil.toUnencodedString(element.getLocation()) + "\" selected=\"" + sel + "\" name=\"" + getWritableXMLString(name) + "\""); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
+ writer.print(indent + "<site url=\"" + URIUtil.toUnencodedString(element.getLocation()) + "\" selected=\"" + sel + "\" name=\"" + getWritableXMLString(name) + "\""); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
writer.println("/>"); //$NON-NLS-1$
}
}
@@ -219,7 +219,7 @@ public class UpdateManagerCompatibility {
/**
* Export the specified list of sites to a bookmarks file that
* can be read later.
- *
+ *
* @param shell the shell used to parent the export dialog
* @param sites the sites to export
*/
@@ -239,8 +239,8 @@ public class UpdateManagerCompatibility {
}
/**
- * Open the old UpdateManager installer UI using the specified shell.
- * We do not call the UpdateManagerUI class directly because we want to be able to be configured
+ * Open the old UpdateManager installer UI using the specified shell.
+ * We do not call the UpdateManagerUI class directly because we want to be able to be configured
* without requiring those plug-ins. Instead, we invoke a known command.
*/
public static void openInstaller() {
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ValidationDialogServiceUI.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ValidationDialogServiceUI.java
index 41af0500f..1c9135553 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ValidationDialogServiceUI.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/ValidationDialogServiceUI.java
@@ -7,7 +7,7 @@
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* Rapicorp, Inc. - add support for information dialog
@@ -222,7 +222,7 @@ public class ValidationDialogServiceUI extends UIServices {
}
private boolean isHeadless() {
- // If there is no UI available and we are still the IServiceUI,
+ // If there is no UI available and we are still the IServiceUI,
// assume that the operation should proceed. See
// https://bugs.eclipse.org/bugs/show_bug.cgi?id=291049
return !PlatformUI.isWorkbenchRunning();
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/actions/ExistingIUInProfileAction.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/actions/ExistingIUInProfileAction.java
index dbd5b36f2..e671b4e0a 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/actions/ExistingIUInProfileAction.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/actions/ExistingIUInProfileAction.java
@@ -25,11 +25,11 @@ import org.eclipse.equinox.p2.ui.ProvisioningUI;
import org.eclipse.jface.viewers.ISelectionProvider;
/**
- *
+ *
* Abstract class that implements the enablement rules for actions that
* affect IU's already in a profile. The action only enables when all of the
* IU's involved are top level IU's from the same profile.
- *
+ *
* @since 3.5
*
*/
@@ -50,7 +50,7 @@ public abstract class ExistingIUInProfileAction extends ProfileModificationActio
for (Object selection : selectionArray) {
if (selection instanceof InstalledIUElement) {
InstalledIUElement element = (InstalledIUElement) selection;
- // If the parents are different, then they are either from
+ // If the parents are different, then they are either from
// different profiles or are nested in different parts of the tree.
// Either way, this makes the selection invalid.
if (parent == null) {
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/actions/ProfileModificationAction.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/actions/ProfileModificationAction.java
index e9a34294d..22cc60470 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/actions/ProfileModificationAction.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/actions/ProfileModificationAction.java
@@ -7,7 +7,7 @@
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* Sonatype, Inc. - ongoing development
@@ -108,7 +108,7 @@ public abstract class ProfileModificationAction extends ProvisioningAction {
* action. If the action has not been run, return ACTION_NOT_RUN. If the
* action does not open a wizard, return Window.OK if the operation was performed,
* and Window.CANCEL if it was canceled.
- *
+ *
* @return integer return code
*/
public int getReturnCode() {
@@ -142,9 +142,9 @@ public abstract class ProfileModificationAction extends ProvisioningAction {
* the actual number of selections in the action's selection provider.
* That is, if the action is disabled due to invalid selections,
* this method will return those selections that were valid.
- *
+ *
* @return an array of selected IInstallableUnit that meet the
- * enablement criteria for the action.
+ * enablement criteria for the action.
*/
protected List<IInstallableUnit> getSelectedIUs() {
List<?> elements = getStructuredSelection().toList();
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/actions/PropertyDialogAction.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/actions/PropertyDialogAction.java
index f59ee4f49..97965dd81 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/actions/PropertyDialogAction.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/actions/PropertyDialogAction.java
@@ -19,7 +19,7 @@ import org.eclipse.jface.window.IShellProvider;
/**
* PropertyDialogAction which sets its enablement on construction.
- *
+ *
* @since 3.4
*
*/
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/actions/RefreshAction.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/actions/RefreshAction.java
index 81615726f..c5612cd2c 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/actions/RefreshAction.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/actions/RefreshAction.java
@@ -52,7 +52,7 @@ public abstract class RefreshAction extends ProvisioningAction {
* Handle a key released event. Used internally and also
* made available so that clients can watch key events from
* any other controls and dispatch to this action.
- *
+ *
* @param event the key event
*/
public void handleKeyReleased(KeyEvent event) {
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/actions/UpdateAction.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/actions/UpdateAction.java
index 84916667f..adae0238c 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/actions/UpdateAction.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/actions/UpdateAction.java
@@ -7,7 +7,7 @@
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* Sonatype, Inc. - ongoing development
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ApplyProfileChangesDialog.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ApplyProfileChangesDialog.java
index bfa3f5e20..bad3b7bf6 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ApplyProfileChangesDialog.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ApplyProfileChangesDialog.java
@@ -24,7 +24,7 @@ import org.eclipse.swt.widgets.Shell;
/**
* A dialog which prompts the user to restart.
- *
+ *
* @since 3.4
*/
public class ApplyProfileChangesDialog extends MessageDialog {
@@ -45,10 +45,10 @@ public class ApplyProfileChangesDialog extends MessageDialog {
* Prompt the user for restart or apply profile changes.
*
* @param parent the parent shell of the dialog, or <code>null</code> if none
- * @param mustRestart indicates whether the user must restart to get the
+ * @param mustRestart indicates whether the user must restart to get the
* changes. If <code>false</code>, then the user may choose to apply
* the changes to the running profile rather than restarting.
- * @return one of PROFILE_IGNORE (do nothing), PROFILE_APPLYCHANGES
+ * @return one of PROFILE_IGNORE (do nothing), PROFILE_APPLYCHANGES
* (attempt to apply the changes), or PROFILE_RESTART (restart the system).
*/
public static int promptForRestart(Shell parent, boolean mustRestart) {
@@ -64,7 +64,7 @@ public class ApplyProfileChangesDialog extends MessageDialog {
/**
* When a button is pressed, store the return code.
- *
+ *
* @see org.eclipse.jface.dialogs.Dialog#buttonPressed(int)
*/
@Override
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/AvailableIUGroup.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/AvailableIUGroup.java
index af618ecb7..54d8287d7 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/AvailableIUGroup.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/AvailableIUGroup.java
@@ -7,7 +7,7 @@
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* Sonatype, Inc. - ongoing development
@@ -44,7 +44,7 @@ import org.eclipse.ui.PlatformUI;
* An AvailableIUGroup is a reusable UI component that displays the
* IU's available for installation. By default, content from all available
* repositories is shown.
- *
+ *
* @since 3.4
*/
public class AvailableIUGroup extends StructuredIUGroup {
@@ -88,7 +88,7 @@ public class AvailableIUGroup extends StructuredIUGroup {
* Create a group that represents the available IU's from all available
* repositories. The default policy controls the visibility flags for
* repositories and IU's.
- *
+ *
* @param parent the parent composite for the group
*/
public AvailableIUGroup(ProvisioningUI ui, final Composite parent) {
@@ -104,7 +104,7 @@ public class AvailableIUGroup extends StructuredIUGroup {
/**
* Create a group that represents the available IU's.
- *
+ *
* @param ui the policy to use for deciding what should be shown
* @param parent the parent composite for the group
* @param font The font to use for calculating pixel sizes. This font is
@@ -141,7 +141,7 @@ public class AvailableIUGroup extends StructuredIUGroup {
// If the user expanded or collapsed anything while we were loading a repo
// in the background, we would not want to disrupt their work by making
- // a newly loaded visible and expanding it. Setting the load job to null
+ // a newly loaded visible and expanding it. Setting the load job to null
// will take care of this.
availableIUViewer.getTree().addTreeListener(new TreeListener() {
@Override
@@ -254,7 +254,7 @@ public class AvailableIUGroup extends StructuredIUGroup {
/**
* Set a boolean indicating whether a bold font should be used when
- * showing filtered items. This method does not refresh the tree or
+ * showing filtered items. This method does not refresh the tree or
* labels, so that must be done explicitly by the caller.
* @param useBoldFont
*/
@@ -336,7 +336,7 @@ public class AvailableIUGroup extends StructuredIUGroup {
*/
void makeRepositoryVisible(final URI location) {
// If we are viewing by anything other than site, there is no specific way
- // to make a repo visible.
+ // to make a repo visible.
if (!(queryContext.getViewType() == IUViewQueryContext.AVAILABLE_VIEW_BY_REPO)) {
if (Display.getCurrent() == null)
display.asyncExec(() -> updateAvailableViewState());
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/AvailableIUPatternFilter.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/AvailableIUPatternFilter.java
index 0faa48ad7..af6d7f8e1 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/AvailableIUPatternFilter.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/AvailableIUPatternFilter.java
@@ -22,7 +22,7 @@ import org.eclipse.ui.dialogs.PatternFilter;
/**
* A class that handles filtering IU's based on a supplied matching string.
- *
+ *
* @since 3.4
*
*/
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/AvailableIUsPage.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/AvailableIUsPage.java
index e07c2ff6b..4457aa964 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/AvailableIUsPage.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/AvailableIUsPage.java
@@ -97,7 +97,7 @@ public class AvailableIUsPage extends ProvisioningWizardPage implements ISelecta
layout.marginWidth = 0;
composite.setLayout(layout);
- // Repo manipulation
+ // Repo manipulation
createRepoArea(composite);
sashForm = new SashForm(composite, SWT.VERTICAL);
@@ -113,7 +113,7 @@ public class AvailableIUsPage extends ProvisioningWizardPage implements ISelecta
grid.marginHeight = 0;
aboveSash.setLayout(grid);
- // Now the available group
+ // Now the available group
// If repositories are visible, we want to default to showing no repos. Otherwise all.
int filterConstant = AvailableIUGroup.AVAILABLE_NONE;
if (!getPolicy().getRepositoriesVisible()) {
@@ -126,7 +126,7 @@ public class AvailableIUsPage extends ProvisioningWizardPage implements ISelecta
availableIUGroup = new AvailableIUGroup(getProvisioningUI(), aboveSash, JFaceResources.getDialogFont(), queryContext, new IUColumnConfig[] {nameColumn, versionColumn}, filterConstant);
// Selection listeners must be registered on both the normal selection
- // events and the check mark events. Must be done after buttons
+ // events and the check mark events. Must be done after buttons
// are created so that the buttons can register and receive their selection notifications before us.
availableIUGroup.getStructuredViewer().addSelectionChangedListener(event -> {
updateDetails();
@@ -514,7 +514,7 @@ public class AvailableIUsPage extends ProvisioningWizardPage implements ISelecta
queryContext.setViewType(section.getInt(AVAILABLE_VIEW_TYPE));
}
} catch (NumberFormatException e) {
- // Ignore if there actually was a value that didn't parse.
+ // Ignore if there actually was a value that didn't parse.
}
// We no longer (in 3.5) show a view by site, so ignore any older dialog setting that
// instructs us to do this.
@@ -550,7 +550,7 @@ public class AvailableIUsPage extends ProvisioningWizardPage implements ISelecta
versionColumn.setWidthInPixels(section.getInt(VERSION_COLUMN_WIDTH));
}
} catch (NumberFormatException e) {
- // Ignore if there actually was a value that didn't parse.
+ // Ignore if there actually was a value that didn't parse.
}
}
}
@@ -569,7 +569,7 @@ public class AvailableIUsPage extends ProvisioningWizardPage implements ISelecta
}
}
} catch (NumberFormatException e) {
- // Ignore if there actually was a value that didn't parse.
+ // Ignore if there actually was a value that didn't parse.
}
}
return ILayoutConstants.IUS_TO_DETAILS_WEIGHTS;
@@ -678,10 +678,10 @@ public class AvailableIUsPage extends ProvisioningWizardPage implements ISelecta
}
/**
- * Set the selections to be used in this page. This method only changes the
+ * Set the selections to be used in this page. This method only changes the
* selections of items that are already visible. It does not expand items
* or change the repository elements in order to make the selections valid.
- *
+ *
* @param elements
*/
@Override
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ComboAutoCompleteField.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ComboAutoCompleteField.java
index e5cb0e648..ea428e24a 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ComboAutoCompleteField.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ComboAutoCompleteField.java
@@ -24,7 +24,7 @@ import org.eclipse.swt.widgets.Combo;
* pattern matching the text in a combo to the contents of the combo.
* If the proposals should include items outside of the combo, then
* clients can set their own proposal strings.
- *
+ *
* @since 3.5
*/
public class ComboAutoCompleteField {
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ContainerCheckedTreeViewer.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ContainerCheckedTreeViewer.java
index a5c55a570..827d04680 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ContainerCheckedTreeViewer.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ContainerCheckedTreeViewer.java
@@ -27,7 +27,7 @@ import org.eclipse.swt.widgets.*;
* (1)checking a parent will expand it when we know it's a long running
* operation that involves a placeholder. The modified method is
* doCheckStateChanged().
- *
+ *
* (2)when preserving selection, we do not want the check state to be rippled
* through the child and parent nodes. Since we know that
* preservingSelection(Runnable) isn't working properly, no need to do a bunch
@@ -56,7 +56,7 @@ public class ContainerCheckedTreeViewer extends CheckboxTreeViewer {
/**
* Constructor for ContainerCheckedTreeViewer.
- *
+ *
* @see CheckboxTreeViewer#CheckboxTreeViewer(Composite)
*/
public ContainerCheckedTreeViewer(Composite parent) {
@@ -66,7 +66,7 @@ public class ContainerCheckedTreeViewer extends CheckboxTreeViewer {
/**
* Constructor for ContainerCheckedTreeViewer.
- *
+ *
* @see CheckboxTreeViewer#CheckboxTreeViewer(Composite,int)
*/
public ContainerCheckedTreeViewer(Composite parent, int style) {
@@ -76,7 +76,7 @@ public class ContainerCheckedTreeViewer extends CheckboxTreeViewer {
/**
* Constructor for ContainerCheckedTreeViewer.
- *
+ *
* @see CheckboxTreeViewer#CheckboxTreeViewer(Tree)
*/
public ContainerCheckedTreeViewer(Tree tree) {
@@ -104,7 +104,7 @@ public class ContainerCheckedTreeViewer extends CheckboxTreeViewer {
/**
* Update element after a checkstate change.
- *
+ *
* @param element
*/
protected void doCheckStateChanged(Object element) {
@@ -231,7 +231,7 @@ public class ContainerCheckedTreeViewer extends CheckboxTreeViewer {
/**
* Recursively add the filtered children of element to the result.
- *
+ *
* @param element
* @param result
*/
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/DelayedFilterCheckboxTree.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/DelayedFilterCheckboxTree.java
index df4407487..21f026608 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/DelayedFilterCheckboxTree.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/DelayedFilterCheckboxTree.java
@@ -7,7 +7,7 @@
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -25,10 +25,10 @@ import org.eclipse.ui.progress.WorkbenchJob;
/**
* FilteredTree extension that creates a ContainerCheckedTreeViewer, manages the
* check state across filtering (working around bugs in ContainerCheckedTreeViewer),
- * and preloads all metadata repositories before allowing filtering, in order to
+ * and preloads all metadata repositories before allowing filtering, in order to
* coordinate background fetch and filtering. It also manages a cache of expanded
* elements that can survive a change of input.
- *
+ *
* @since 3.4
*
*/
@@ -70,7 +70,7 @@ public class DelayedFilterCheckboxTree extends FilteredTree {
clearCheckStateCache();
} else {
ArrayList<Object> toRemove = new ArrayList<>(1);
- // See bug 258117. Ideally we would get check state changes
+ // See bug 258117. Ideally we would get check state changes
// for children when the parent state changed, but we aren't, so
// we need to remove all children from the additive check state
// cache.
@@ -201,7 +201,7 @@ public class DelayedFilterCheckboxTree extends FilteredTree {
} else if (ignoreFiltering) {
event.getJob().sleep();
} else {
- // shouldn't get here unless the prefilter job finished
+ // shouldn't get here unless the prefilter job finished
// and ignoreFiltering became false since we entered this listener.
rememberLeafCheckState();
}
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ILayoutConstants.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ILayoutConstants.java
index ed3bcc902..14659810e 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ILayoutConstants.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ILayoutConstants.java
@@ -7,7 +7,7 @@
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -17,9 +17,9 @@ package org.eclipse.equinox.internal.p2.ui.dialogs;
* ILayoutConstants defines common dialog constants used when laying
* out dialogs. Units of measurement are character widths and heights
* unless otherwise specified.
- *
+ *
* This interface is not intended to be implemented
- *
+ *
* @noimplement This interface is not intended to be implemented by clients.
* @noextend This interface is not intended to be extended by clients.
* @since 3.5
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/IPreFilterJobProvider.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/IPreFilterJobProvider.java
index 3506b1ce6..9cf44cf0c 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/IPreFilterJobProvider.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/IPreFilterJobProvider.java
@@ -7,7 +7,7 @@
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -19,7 +19,7 @@ import org.eclipse.core.runtime.jobs.Job;
* IPreFilterJobProvider provides an optional job that must be run before
* filtering can be allowed to occur in a filtered tree. The client is assumed
* to have set the expected job priority.
- *
+ *
*/
public interface IPreFilterJobProvider {
public Job getPreFilterJob();
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/IRepositoryManipulationHook.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/IRepositoryManipulationHook.java
index dd9eace18..678699148 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/IRepositoryManipulationHook.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/IRepositoryManipulationHook.java
@@ -7,7 +7,7 @@
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/IRepositorySelectionListener.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/IRepositorySelectionListener.java
index 3d7a584ea..d64f31742 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/IRepositorySelectionListener.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/IRepositorySelectionListener.java
@@ -16,16 +16,16 @@ package org.eclipse.equinox.internal.p2.ui.dialogs;
import java.net.URI;
/**
- * Listener for the repository selection combo. Whenever the selected repository changes (menu selection,
+ * Listener for the repository selection combo. Whenever the selected repository changes (menu selection,
* text modified, new repo added) this listener will be notified.
- *
+ *
* @since 3.5
*/
public interface IRepositorySelectionListener {
/**
* Called whenever the selected repository in the combo changes.
- *
- * @param repoChoice one of AvailableIUGroup.AVAILABLE_NONE, AvailableIUGroup.AVAILABLE_ALL, AvailableIUGroup.AVAILABLE_LOCAL, AvailableIUGroup.AVAILABLE_SPECIFIED
+ *
+ * @param repoChoice one of AvailableIUGroup.AVAILABLE_NONE, AvailableIUGroup.AVAILABLE_ALL, AvailableIUGroup.AVAILABLE_LOCAL, AvailableIUGroup.AVAILABLE_SPECIFIED
* @param repoLocation if the repoChoice is set to AvailableIUGroup.AVAILABLE_SPECIFIED, this field will contain the URI of the selected repo, otherwise <code>null</code>
*/
public void repositorySelectionChanged(int repoChoice, URI repoLocation);
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/IResolutionErrorReportingPage.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/IResolutionErrorReportingPage.java
index 0e5082482..8430bad7b 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/IResolutionErrorReportingPage.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/IResolutionErrorReportingPage.java
@@ -18,7 +18,7 @@ import org.eclipse.equinox.internal.p2.ui.model.IUElementListRoot;
import org.eclipse.equinox.p2.operations.ProfileChangeOperation;
/**
- *
+ *
* IErrorReportingPage is used to report resolution
* errors on a wizard page.
*
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ISelectableIUsPage.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ISelectableIUsPage.java
index 0e3c5730d..561cb2b13 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ISelectableIUsPage.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ISelectableIUsPage.java
@@ -7,7 +7,7 @@
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -17,7 +17,7 @@ package org.eclipse.equinox.internal.p2.ui.dialogs;
import org.eclipse.jface.wizard.IWizardPage;
/**
- *
+ *
* ISelectableIUsPage is used to get the selected or checked IUs in a
* wizard page.
*
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/IUCopyrightPropertyPage.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/IUCopyrightPropertyPage.java
index 3f661bc2a..07accd86b 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/IUCopyrightPropertyPage.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/IUCopyrightPropertyPage.java
@@ -27,7 +27,7 @@ import org.eclipse.swt.widgets.*;
/**
* PropertyPage that shows an IU's copyright
- *
+ *
* @since 3.4
*/
public class IUCopyrightPropertyPage extends IUPropertyPage {
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/IUDetailsGroup.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/IUDetailsGroup.java
index 818ee6d25..7278e43ee 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/IUDetailsGroup.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/IUDetailsGroup.java
@@ -1,4 +1,4 @@
-/*******************************************************************************
+/*******************************************************************************
* Copyright (c) 2009, 2016 EclipseSource and others.
*
* This
@@ -50,7 +50,7 @@ public class IUDetailsGroup {
private String lastText;
/**
- *
+ *
*/
public IUDetailsGroup(Composite parent, ISelectionProvider selectionProvider, int widthHint, boolean scrollable) {
this.selectionProvider = selectionProvider;
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/IUGeneralInfoPropertyPage.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/IUGeneralInfoPropertyPage.java
index b74bd7ce6..050d66ab2 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/IUGeneralInfoPropertyPage.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/IUGeneralInfoPropertyPage.java
@@ -7,7 +7,7 @@
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -26,7 +26,7 @@ import org.eclipse.swt.widgets.*;
/**
* PropertyPage that shows an IU's properties
- *
+ *
* @since 3.4
*/
public class IUGeneralInfoPropertyPage extends IUPropertyPage {
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/IULicensePropertyPage.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/IULicensePropertyPage.java
index 7e8d82f4a..a5a69935a 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/IULicensePropertyPage.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/IULicensePropertyPage.java
@@ -7,7 +7,7 @@
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -27,7 +27,7 @@ import org.eclipse.swt.widgets.*;
/**
* PropertyPage that shows an IU's license
- *
+ *
* @since 3.4
*/
public class IULicensePropertyPage extends IUPropertyPage {
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/IUPropertyPage.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/IUPropertyPage.java
index d5e3f2d37..980208660 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/IUPropertyPage.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/IUPropertyPage.java
@@ -31,7 +31,7 @@ import org.eclipse.ui.statushandlers.StatusManager;
/**
* PropertyPage that shows an IU's properties
- *
+ *
* @since 3.4
*/
public abstract class IUPropertyPage extends PropertyPage {
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/IViewMenuProvider.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/IViewMenuProvider.java
index fd2afe491..62b72b14f 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/IViewMenuProvider.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/IViewMenuProvider.java
@@ -17,7 +17,7 @@ package org.eclipse.equinox.internal.p2.ui.dialogs;
import org.eclipse.jface.action.IMenuManager;
/**
- *
+ *
* IViewMenuProvider is used to fill a view menu in dialog groups that support them.
* @since 3.4
*
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/InstallWizard.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/InstallWizard.java
index 5f005331f..be50b76ed 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/InstallWizard.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/InstallWizard.java
@@ -7,7 +7,7 @@
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* Sonatype, Inc. - ongoing development
@@ -37,7 +37,7 @@ import org.eclipse.ui.PlatformUI;
/**
* An install wizard that allows the users to browse all of the repositories
* and search/select for items to install.
- *
+ *
* @since 3.6
*/
public class InstallWizard extends WizardWithLicenses {
@@ -229,10 +229,10 @@ public class InstallWizard extends WizardWithLicenses {
/*
* When we've found an install handler, that status trumps anything that the operation might have
- * determined. We are relying here on the knowledge that the wizard's couldNotResolveStatus is
- * reset on every new resolution, so that status only holds the installHandler status when it is
+ * determined. We are relying here on the knowledge that the wizard's couldNotResolveStatus is
+ * reset on every new resolution, so that status only holds the installHandler status when it is
* the current status. The installHandlerStatus must be non-OK for it to matter at all.
- *
+ *
*/
@Override
public boolean statusOverridesOperation() {
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/InstallWizardPage.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/InstallWizardPage.java
index 5938a0045..a1d93bb47 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/InstallWizardPage.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/InstallWizardPage.java
@@ -7,7 +7,7 @@
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* Red Hat, Inc. - support for remediation page
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/InstalledIUGroup.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/InstalledIUGroup.java
index 0b87d3edb..7fd3dbbb0 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/InstalledIUGroup.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/InstalledIUGroup.java
@@ -7,7 +7,7 @@
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -29,7 +29,7 @@ import org.eclipse.swt.widgets.*;
/**
* An InstalledIUGroup is a reusable UI component that displays the
* IU's in a given profile.
- *
+ *
* @since 3.4
*/
public class InstalledIUGroup extends StructuredIUGroup {
@@ -38,7 +38,7 @@ public class InstalledIUGroup extends StructuredIUGroup {
/**
* Create a group that represents the installed IU's.
- *
+ *
* @param parent the parent composite for the group
* @param font The font to use for calculating pixel sizes. This font is
* not managed by the receiver.
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/PreselectedIUInstallWizard.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/PreselectedIUInstallWizard.java
index a3d803b61..0c92f1061 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/PreselectedIUInstallWizard.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/PreselectedIUInstallWizard.java
@@ -30,7 +30,7 @@ import org.eclipse.jface.wizard.IWizardPage;
/**
* An Install wizard that is invoked when the user has already selected which
* IUs should be installed and does not need to browse the available software.
- *
+ *
* @since 3.5
*/
public class PreselectedIUInstallWizard extends WizardWithLicenses {
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ProvisioningWizardDialog.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ProvisioningWizardDialog.java
index c21154419..d1d1aaf10 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ProvisioningWizardDialog.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ProvisioningWizardDialog.java
@@ -58,7 +58,7 @@ public class ProvisioningWizardDialog extends WizardDialog {
/**
* This method is provided only for automated testing.
- *
+ *
* @noreference This method is not intended to be referenced by clients.
*/
public Button testGetButton(int id) {
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/RemediationGroup.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/RemediationGroup.java
index 1324340f6..4596c241b 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/RemediationGroup.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/RemediationGroup.java
@@ -7,7 +7,7 @@
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
- *
+ *
* Contributors:
* Red Hat, Inc. - initial API and implementation
* Karsten Thoms, itemis - Bug#448789
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/RemediationPage.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/RemediationPage.java
index 4943173cb..e8406e90a 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/RemediationPage.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/RemediationPage.java
@@ -7,7 +7,7 @@
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
- *
+ *
* Contributors:
* Red Hat, Inc. - initial API and implementation
*******************************************************************************/
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/RepositoryManipulatorDropTarget.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/RepositoryManipulatorDropTarget.java
index dca0dcd61..e7f19142c 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/RepositoryManipulatorDropTarget.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/RepositoryManipulatorDropTarget.java
@@ -7,7 +7,7 @@
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -32,7 +32,7 @@ import org.eclipse.ui.statushandlers.StatusManager;
* FileTransfer data types. Files are converted to URL's with the file
* protocol. Any dropped URLs (or Files) are interpreted to mean that the
* user wishes to add these files as repositories.
- *
+ *
* @since 3.4
*
*/
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/RepositoryNameAndLocationDialog.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/RepositoryNameAndLocationDialog.java
index 1e8ca431c..2677700e5 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/RepositoryNameAndLocationDialog.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/RepositoryNameAndLocationDialog.java
@@ -32,9 +32,9 @@ import org.eclipse.swt.widgets.*;
/**
* Class for showing a repository name and location
- *
+ *
* @since 3.4
- *
+ *
*/
public class RepositoryNameAndLocationDialog extends StatusDialog {
@@ -79,7 +79,7 @@ public class RepositoryNameAndLocationDialog extends StatusDialog {
/**
* Return a RepositoryTracker appropriate for validating and adding the
* repository.
- *
+ *
* @return the Repository Tracker
*/
protected RepositoryTracker getRepositoryTracker() {
@@ -102,7 +102,7 @@ public class RepositoryNameAndLocationDialog extends StatusDialog {
/**
* Get the repository location as currently typed in by the user. Return null if there
* is a problem with the URL.
- *
+ *
* @return the URL currently typed in by the user.
*/
protected URI getUserLocation() {
@@ -112,7 +112,7 @@ public class RepositoryNameAndLocationDialog extends StatusDialog {
/**
* Get the location of the repository that was entered by the user.
* Return <code>null</code> if no location was provided.
- *
+ *
* @return the location of the repository that has been provided by the user.
*/
public URI getLocation() {
@@ -122,7 +122,7 @@ public class RepositoryNameAndLocationDialog extends StatusDialog {
/**
* Get the name of the repository that was entered by the user.
* Return <code>null</code> if no name was provided.
- *
+ *
* @return the name of the repository that has been provided by the user.
*/
public String getName() {
@@ -132,7 +132,7 @@ public class RepositoryNameAndLocationDialog extends StatusDialog {
/**
* Validate the repository URL, returning a status that is appropriate
* for showing the user. The boolean indicates whether the repositories
- * should be consulted for validating the URL. For example, it is not
+ * should be consulted for validating the URL. For example, it is not
* appropriate to contact the repositories on every keystroke.
*/
protected IStatus validateRepositoryURL(final boolean contactRepositories) {
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/RepositorySelectionGroup.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/RepositorySelectionGroup.java
index 2bdad8f32..d07be5d43 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/RepositorySelectionGroup.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/RepositorySelectionGroup.java
@@ -46,9 +46,9 @@ import org.eclipse.swt.layout.GridLayout;
import org.eclipse.swt.widgets.*;
/**
- * A RepositorySelectionGroup is a reusable UI component that displays
- * available repositories and allows the user to select them.
- *
+ * A RepositorySelectionGroup is a reusable UI component that displays
+ * available repositories and allows the user to select them.
+ *
* @since 3.5
*/
public class RepositorySelectionGroup {
@@ -78,7 +78,7 @@ public class RepositorySelectionGroup {
Image info, warning, error;
URI[] comboRepos; // the URIs shown in the combo, kept in sync with combo items
- HashMap<String, URI> disabledRepoProposals = new HashMap<>(); // proposal string -> disabled URI
+ HashMap<String, URI> disabledRepoProposals = new HashMap<>(); // proposal string -> disabled URI
public RepositorySelectionGroup(ProvisioningUI ui, IWizardContainer container, Composite parent, IUViewQueryContext queryContext) {
this.container = container;
@@ -428,7 +428,7 @@ public class RepositorySelectionGroup {
return i;
}
}
- // Look for URI match - the user may have pasted or dragged
+ // Look for URI match - the user may have pasted or dragged
// in a location that matches one we already know about, even
// if the text does not match completely. (slashes, no name, etc.)
try {
@@ -483,7 +483,7 @@ public class RepositorySelectionGroup {
/*
* Add a repository using the text in the combo or launch a dialog if the text
- * represents an already known repo.
+ * represents an already known repo.
*/
void addRepository(boolean alwaysPrompt) {
final RepositoryTracker manipulator = ui.getRepositoryTracker();
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ResolutionResultsWizardPage.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ResolutionResultsWizardPage.java
index 13a4dc51e..6f8ec99ac 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ResolutionResultsWizardPage.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ResolutionResultsWizardPage.java
@@ -41,7 +41,7 @@ import org.eclipse.ui.statushandlers.StatusManager;
/**
* A wizard page that shows detailed information about a resolved install
* operation. It allows drill down into the elements that will be installed.
- *
+ *
* @since 3.4
*
*/
@@ -265,10 +265,10 @@ public abstract class ResolutionResultsWizardPage extends ResolutionStatusPage {
/**
* Returns the restart policy for this operation.
- *
+ *
* @return an integer constant describing whether the running profile
- * needs to be restarted.
- *
+ * needs to be restarted.
+ *
* @see ProvisioningJob#RESTART_NONE
* @see ProvisioningJob#RESTART_ONLY
* @see ProvisioningJob#RESTART_OR_APPLY
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ResolutionStatusPage.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ResolutionStatusPage.java
index af5f6de1d..5e1d6216a 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ResolutionStatusPage.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/ResolutionStatusPage.java
@@ -33,7 +33,7 @@ import org.eclipse.ui.statushandlers.StatusManager;
* to select and deselect them. Typically the first page in a provisioning
* operation wizard, and usually it is the page used to report resolution errors
* before advancing to resolution detail.
- *
+ *
* @since 3.5
*
*/
@@ -69,10 +69,10 @@ public abstract class ResolutionStatusPage extends ProvisioningWizardPage {
/**
* Update the status area of the wizard to report the results of the operation.
- *
+ *
* @param newRoot the root that describes the root IUs involved in creating the plan.
* This can be <code>null</code> if the root should not be updated.
- *
+ *
* @param op the ProfileChangeOperation that describes the operation
*/
public void updateStatus(IUElementListRoot newRoot, ProfileChangeOperation op) {
@@ -156,7 +156,7 @@ public abstract class ResolutionStatusPage extends ProvisioningWizardPage {
IUDetailsGroup detailsGroup = getDetailsGroup();
// We either haven't resolved, or we failed to resolve and reported some error
- // while doing so.
+ // while doing so.
if (resolvedOperation == null || !resolvedOperation.hasResolved() || getProvisioningWizard().statusOverridesOperation()) {
// See if the wizard status knows something more about it.
IStatus currentStatus = getProvisioningWizard().getCurrentStatus();
@@ -258,7 +258,7 @@ public abstract class ResolutionStatusPage extends ProvisioningWizardPage {
}
}
} catch (NumberFormatException e) {
- // Ignore if there actually was a value that didn't parse.
+ // Ignore if there actually was a value that didn't parse.
}
}
return ILayoutConstants.IUS_TO_DETAILS_WEIGHTS;
@@ -276,7 +276,7 @@ public abstract class ResolutionStatusPage extends ProvisioningWizardPage {
if (section.get(ID_COLUMN_WIDTH) != null)
getIdColumn().setWidthInPixels(section.getInt(ID_COLUMN_WIDTH));
} catch (NumberFormatException e) {
- // Ignore if there actually was a value that didn't parse.
+ // Ignore if there actually was a value that didn't parse.
}
}
}
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/SizeComputingWizardPage.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/SizeComputingWizardPage.java
index 2a05e4e39..5aadf1a8f 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/SizeComputingWizardPage.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/SizeComputingWizardPage.java
@@ -7,7 +7,7 @@
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -33,7 +33,7 @@ import org.eclipse.swt.widgets.Composite;
import org.eclipse.swt.widgets.Label;
/**
- *
+ *
* @since 3.5
*/
public abstract class SizeComputingWizardPage extends ResolutionResultsWizardPage {
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/StructuredIUGroup.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/StructuredIUGroup.java
index 1d0d5f170..6d80bd348 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/StructuredIUGroup.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/StructuredIUGroup.java
@@ -7,7 +7,7 @@
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* Sonatype, Inc. - ongoing development
@@ -33,7 +33,7 @@ import org.eclipse.swt.widgets.*;
/**
* A StructuredIUGroup is a reusable UI component that displays a
* structured view of IU's driven by some queries.
- *
+ *
* @since 3.4
*/
public abstract class StructuredIUGroup {
@@ -46,7 +46,7 @@ public abstract class StructuredIUGroup {
/**
* Create a group that represents the available IU's.
- *
+ *
* @param ui The application policy to use in the group
* @param parent the parent composite for the group
* to retrieve elements in the viewer.
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/TrustCertificateDialog.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/TrustCertificateDialog.java
index c27c327e8..8ee921daa 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/TrustCertificateDialog.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/TrustCertificateDialog.java
@@ -7,7 +7,7 @@
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* Fabian Steeg <steeg@hbz-nrw.de> - Bug 474099 - Require certificate selection to confirm dialog
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/URLDropAdapter.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/URLDropAdapter.java
index 9f02b04ad..7ab2c95a2 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/URLDropAdapter.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/URLDropAdapter.java
@@ -25,8 +25,8 @@ import org.eclipse.swt.dnd.*;
/**
* URLDropAdapter can receive URL text from a drop.
* The URLDropAdapter should only be used with
- * the URLTransfer mechanism unless otherwise stated.
- *
+ * the URLTransfer mechanism unless otherwise stated.
+ *
* @since 3.4
*
*/
@@ -102,7 +102,7 @@ public abstract class URLDropAdapter extends DropTargetAdapter {
}
/**
- * Determine whether the drop target data is valid. On some platforms this cannot be detected,
+ * Determine whether the drop target data is valid. On some platforms this cannot be detected,
* in which which case we return true.
* @param event the drop target event
* @return <code>true</code> if data is valid, (or can not be determined), <code>false</code> otherwise.
@@ -114,9 +114,9 @@ public abstract class URLDropAdapter extends DropTargetAdapter {
}
/**
- * Handle the drop with the given text as the URL.
+ * Handle the drop with the given text as the URL.
* @param urlText The url text specified by the drop. It is never <code>null</code>.
- * @param event the originating drop target event.
+ * @param event the originating drop target event.
*/
protected abstract void handleDrop(String urlText, DropTargetEvent event);
}
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/UninstallWizardPage.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/UninstallWizardPage.java
index e7d46eece..8f9d100e9 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/UninstallWizardPage.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/UninstallWizardPage.java
@@ -7,7 +7,7 @@
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/UpdateWizardPage.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/UpdateWizardPage.java
index f3b29cc2c..6e9c44594 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/UpdateWizardPage.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/UpdateWizardPage.java
@@ -7,7 +7,7 @@
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/UserValidationDialog.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/UserValidationDialog.java
index 5d37182e7..f5bf68c21 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/UserValidationDialog.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/dialogs/UserValidationDialog.java
@@ -7,7 +7,7 @@
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -44,7 +44,7 @@ public class UserValidationDialog extends Dialog {
/**
* Creates a new validation dialog that prompts the user for login credentials.
- *
+ *
* @param parentShell the parent shell of this dialog
* @param titleMessage the message to be displayed by this dialog's window
* @param titleImage the image of this shell, may be <code>null</code>
@@ -56,7 +56,7 @@ public class UserValidationDialog extends Dialog {
/**
* Creates a new validation dialog that prompts the user for login credentials.
- *
+ *
* @param lastUsed the authentication information that was originally as an attempt to login
* @param parentShell the parent shell of this dialog
* @param titleMessage the message to be displayed by this dialog's window
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/misc/StringMatcher.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/misc/StringMatcher.java
index 990bb9e83..3980daa9a 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/misc/StringMatcher.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/misc/StringMatcher.java
@@ -20,7 +20,7 @@ import java.util.Vector;
* Copied from the 1.14 CVS Revision of org.eclipse.ui.internal.misc.StringMatcher
* The only changes made were to fix javadoc warnings, so any future fixes should
* be able to be directly copied over.
- *
+ *
* @since 2.3
*/
public class StringMatcher {
@@ -63,14 +63,14 @@ public class StringMatcher {
}
/**
- * StringMatcher constructor takes in a String object that is a simple
+ * StringMatcher constructor takes in a String object that is a simple
* pattern which may contain '*' for 0 and many characters and
- * '?' for exactly one character.
+ * '?' for exactly one character.
*
- * Literal '*' and '?' characters must be escaped in the pattern
+ * Literal '*' and '?' characters must be escaped in the pattern
* e.g., "\*" means literal "*", etc.
*
- * Escaping any other character (including the escape character itself),
+ * Escaping any other character (including the escape character itself),
* just results in that character in the pattern.
* e.g., "\a" means "a" and "\\" means "\"
*
@@ -99,13 +99,13 @@ public class StringMatcher {
}
/**
- * Find the first occurrence of the pattern between <code>start</code)(inclusive)
- * and <code>end</code>(exclusive).
- * @param text the String object to search in
+ * Find the first occurrence of the pattern between <code>start</code)(inclusive)
+ * and <code>end</code>(exclusive).
+ * @param text the String object to search in
* @param start the starting index of the search range, inclusive
* @param end the ending index of the search range, exclusive
- * @return an <code>StringMatcher.Position</code> object that keeps the starting
- * (inclusive) and ending positions (exclusive) of the first occurrence of the
+ * @return an <code>StringMatcher.Position</code> object that keeps the starting
+ * (inclusive) and ending positions (exclusive) of the first occurrence of the
* pattern in the specified range of the text; return null if not found or subtext
* is empty (start==end). A pair of zeros is returned if pattern is empty string
* Note that for pattern like "*abc*" with leading and trailing stars, position of "abc"
@@ -163,9 +163,9 @@ public class StringMatcher {
}
/**
- * match the given <code>text</code> with the pattern
+ * match the given <code>text</code> with the pattern
* @return true if matched otherwise false
- * @param text a String object
+ * @param text a String object
*/
public boolean match(String text) {
if (text == null) {
@@ -175,12 +175,12 @@ public class StringMatcher {
}
/**
- * Given the starting (inclusive) and the ending (exclusive) positions in the
- * <code>text</code>, determine if the given substring matches with aPattern
+ * Given the starting (inclusive) and the ending (exclusive) positions in the
+ * <code>text</code>, determine if the given substring matches with aPattern
* @return true if the specified portion of the text matches the pattern
- * @param text a String object that contains the substring to match
+ * @param text a String object that contains the substring to match
* @param start marks the starting position (inclusive) of the substring
- * @param end marks the ending index (exclusive) of the substring
+ * @param end marks the ending index (exclusive) of the substring
*/
public boolean match(String text, int start, int end) {
if (null == text) {
@@ -335,11 +335,11 @@ public class StringMatcher {
temp.copyInto(fSegments);
}
- /**
+ /**
* @param text a string which contains no wildcard
* @param start the starting index in the text for search, inclusive
* @param end the stopping point of search, exclusive
- * @return the starting index in the text of the pattern , or -1 if not found
+ * @return the starting index in the text of the pattern , or -1 if not found
*/
protected int posIn(String text, int start, int end) {//no wild card in pattern
int max = end - fLength;
@@ -361,12 +361,12 @@ public class StringMatcher {
return -1;
}
- /**
+ /**
* @param text a simple regular expression that may only contain '?'(s)
* @param start the starting index in the text for search, inclusive
* @param end the stopping point of search, exclusive
* @param p a simple regular expression that may contains '?'
- * @return the starting index in the text of the pattern , or -1 if not found
+ * @return the starting index in the text of the pattern , or -1 if not found
*/
protected int regExpPosIn(String text, int start, int end, String p) {
int plen = p.length();
@@ -381,7 +381,7 @@ public class StringMatcher {
}
/**
- *
+ *
* @return boolean
* @param text a String to match
* @param tStart int that indicates the starting index of match, inclusive
@@ -418,12 +418,12 @@ public class StringMatcher {
return true;
}
- /**
+ /**
* @param text the string to match
* @param start the starting index in the text for search, inclusive
* @param end the stopping point of search, exclusive
* @param p a pattern string that has no wildcard
- * @return the starting index in the text of the pattern , or -1 if not found
+ * @return the starting index in the text of the pattern , or -1 if not found
*/
protected int textPosIn(String text, int start, int end, String p) {
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/model/ElementUtils.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/model/ElementUtils.java
index 93d64c234..278462b6f 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/model/ElementUtils.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/model/ElementUtils.java
@@ -30,7 +30,7 @@ import org.eclipse.equinox.p2.ui.ProvisioningUI;
/**
* Utility methods for manipulating model elements.
- *
+ *
* @since 3.4
*
*/
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/model/EmptyElementExplanation.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/model/EmptyElementExplanation.java
index 412dc2e69..53aba52ab 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/model/EmptyElementExplanation.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/model/EmptyElementExplanation.java
@@ -30,7 +30,7 @@ public class EmptyElementExplanation extends ProvElement {
/**
* Create an empty element explanation
- *
+ *
* @param parent the parent of this element
* @param severity the severity of the explanation {@link IStatus#INFO},
* @param explanation
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/model/IIUElement.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/model/IIUElement.java
index 57398a885..5e366d45f 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/model/IIUElement.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/model/IIUElement.java
@@ -20,7 +20,7 @@ import org.eclipse.equinox.p2.metadata.IRequirement;
/**
* Interface for elements that represent IU's.
- *
+ *
* @since 3.4
*/
public interface IIUElement {
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/model/IRepositoryElement.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/model/IRepositoryElement.java
index da3596b70..3a6dee516 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/model/IRepositoryElement.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/model/IRepositoryElement.java
@@ -7,7 +7,7 @@
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -19,7 +19,7 @@ import org.eclipse.equinox.p2.repository.IRepository;
/**
* Interface for elements that represent repositories.
- *
+ *
* @since 3.4
*/
public interface IRepositoryElement<T> {
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/model/QueriedElement.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/model/QueriedElement.java
index 4b31689e3..4bca06e9a 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/model/QueriedElement.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/model/QueriedElement.java
@@ -81,7 +81,7 @@ public abstract class QueriedElement extends ProvElement {
/**
* Return the query type that is appropriate for this element when there is no
* query context.
- *
+ *
* @return The integer query type
*/
protected abstract int getDefaultQueryType();
@@ -91,7 +91,7 @@ public abstract class QueriedElement extends ProvElement {
* element, the query type may take the query context into account. Subclasses
* should override this method if there are context-dependent decisions to be
* made to determine the query.
- *
+ *
* @return The integer query type
*/
public int getQueryType() {
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/model/QueriedElementWrapper.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/model/QueriedElementWrapper.java
index 8ea123228..9c3136446 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/model/QueriedElementWrapper.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/model/QueriedElementWrapper.java
@@ -28,7 +28,7 @@ import org.eclipse.osgi.util.NLS;
* A wrapper that assigns a query provider and the queryable
* who was performing the query to the wrapped elements
* as they are accepted.
- *
+ *
* @since 3.4
*/
public abstract class QueriedElementWrapper extends ElementWrapper {
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/model/RemedyElementCategory.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/model/RemedyElementCategory.java
index 50ab0d744..f93807ddd 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/model/RemedyElementCategory.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/model/RemedyElementCategory.java
@@ -7,7 +7,7 @@
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
- *
+ *
* Contributors:
* Red Hat, Inc. - initial API and implementation
*******************************************************************************/
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/model/RootElement.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/model/RootElement.java
index fdb8a9f7a..29fa1ecd3 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/model/RootElement.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/model/RootElement.java
@@ -7,7 +7,7 @@
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -21,7 +21,7 @@ import org.eclipse.equinox.p2.ui.ProvisioningUI;
/**
* Element class that represents the root of a viewer. It can be configured
* with its own ui and query context.
- *
+ *
* @since 3.5
*
*/
@@ -49,7 +49,7 @@ public abstract class RootElement extends RemoteQueriedElement {
/**
* Set the query context that is used when querying the receiver.
- *
+ *
* @param context the query context to use
*/
public void setQueryContext(IUViewQueryContext context) {
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/query/ArtifactKeyWrapper.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/query/ArtifactKeyWrapper.java
index 6a8e0c0c9..e33b0c50a 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/query/ArtifactKeyWrapper.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/query/ArtifactKeyWrapper.java
@@ -21,7 +21,7 @@ import org.eclipse.equinox.p2.repository.artifact.IArtifactRepository;
/**
* Wrapper that accepts artifact keys and wraps them in an ArtifactKeyElement.
- *
+ *
* @since 3.6
*/
public class ArtifactKeyWrapper extends QueriedElementWrapper {
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/query/ArtifactRepositoryElementWrapper.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/query/ArtifactRepositoryElementWrapper.java
index 3e0f103bd..5cf73e094 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/query/ArtifactRepositoryElementWrapper.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/query/ArtifactRepositoryElementWrapper.java
@@ -22,7 +22,7 @@ import org.eclipse.equinox.p2.query.IQueryable;
/**
* ElementWrapper that wraps a URI with an ArtifactRepositoryElement.
- *
+ *
* @since 3.4
*/
public class ArtifactRepositoryElementWrapper extends QueriedElementWrapper {
@@ -33,7 +33,7 @@ public class ArtifactRepositoryElementWrapper extends QueriedElementWrapper {
/**
* Accepts a result that matches the query criteria.
- *
+ *
* @param match an object matching the query
* @return <code>true</code> if the query should continue,
* or <code>false</code> to indicate the query should stop.
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/query/AvailableIUWrapper.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/query/AvailableIUWrapper.java
index 048dd3e9c..217ac6722 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/query/AvailableIUWrapper.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/query/AvailableIUWrapper.java
@@ -29,7 +29,7 @@ import org.eclipse.equinox.p2.query.QueryUtil;
/**
* A wrapper that examines available IU's and wraps them in an
* element representing either a category or a regular IU.
- *
+ *
* @since 3.4
*/
public class AvailableIUWrapper extends QueriedElementWrapper {
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/query/CategoryElementWrapper.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/query/CategoryElementWrapper.java
index 46c407772..7331c77b1 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/query/CategoryElementWrapper.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/query/CategoryElementWrapper.java
@@ -26,7 +26,7 @@ import org.eclipse.equinox.p2.query.IQueryable;
/**
* A collector that converts IU's to category elements as it accepts them.
* It can be configured so that it is never empty.
- *
+ *
* @since 3.4
*/
public class CategoryElementWrapper extends QueriedElementWrapper {
@@ -52,7 +52,7 @@ public class CategoryElementWrapper extends QueriedElementWrapper {
}
Iterator<?> iter = super.getCollection().iterator();
- // Don't add the same category IU twice.
+ // Don't add the same category IU twice.
while (iter.hasNext()) {
CategoryElement element = (CategoryElement) iter.next();
if (element.shouldMerge(iu)) {
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/query/InstalledIUElementWrapper.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/query/InstalledIUElementWrapper.java
index f58912d21..6b0578d1f 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/query/InstalledIUElementWrapper.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/query/InstalledIUElementWrapper.java
@@ -23,7 +23,7 @@ import org.eclipse.equinox.p2.query.IQueryable;
/**
* ElementWrapper that accepts the matched IU's and
* wraps them in an InstalledIUElement.
- *
+ *
* @since 3.4
*/
public class InstalledIUElementWrapper extends QueriedElementWrapper {
@@ -34,7 +34,7 @@ public class InstalledIUElementWrapper extends QueriedElementWrapper {
/**
* Accepts a result that matches the query criteria.
- *
+ *
* @param match an object matching the query
* @return <code>true</code> if the query should continue,
* or <code>false</code> to indicate the query should stop.
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/query/MetadataRepositoryElementWrapper.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/query/MetadataRepositoryElementWrapper.java
index bd5099bbe..98d1bb313 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/query/MetadataRepositoryElementWrapper.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/query/MetadataRepositoryElementWrapper.java
@@ -24,7 +24,7 @@ import org.eclipse.equinox.p2.ui.ProvisioningUI;
/**
* ElementWrapper that accepts the matched repo URLs and
* wraps them in a MetadataRepositoryElement.
- *
+ *
* @since 3.4
*/
public class MetadataRepositoryElementWrapper extends QueriedElementWrapper {
@@ -35,7 +35,7 @@ public class MetadataRepositoryElementWrapper extends QueriedElementWrapper {
/**
* Accepts a result that matches the query criteria.
- *
+ *
* @param match an object matching the query
* @return <code>true</code> if the query should continue,
* or <code>false</code> to indicate the query should stop.
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/query/ProfileElementWrapper.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/query/ProfileElementWrapper.java
index d3339634b..ee703eb8f 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/query/ProfileElementWrapper.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/query/ProfileElementWrapper.java
@@ -21,7 +21,7 @@ import org.eclipse.equinox.p2.engine.IProfile;
/**
* Collector that accepts the matched Profiles and
* wraps them in a ProfileElement.
- *
+ *
* @since 3.4
*/
public class ProfileElementWrapper extends QueriedElementWrapper {
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/query/RequiredIUsQuery.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/query/RequiredIUsQuery.java
index b5e87de48..6d7e34d71 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/query/RequiredIUsQuery.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/query/RequiredIUsQuery.java
@@ -7,7 +7,7 @@
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* Cloudsmith Inc. - converted into expression based query
@@ -29,8 +29,8 @@ import org.eclipse.equinox.p2.metadata.expression.IExpression;
* plan that are required by this IU. This is usually used in combination with
* other queries (such as show all Required IUs which also are visible to
* the user as available).
- *
- * @since 2.0
+ *
+ * @since 2.0
*/
public class RequiredIUsQuery extends ExpressionMatchQuery<IInstallableUnit> {
@@ -38,8 +38,8 @@ public class RequiredIUsQuery extends ExpressionMatchQuery<IInstallableUnit> {
/**
* Creates a new query that will return any IU that meets any
- * one of the requirements of the specified IU.
- *
+ * one of the requirements of the specified IU.
+ *
* @param iu The IU whose requirements are to be checked
*/
public RequiredIUsQuery(IInstallableUnit iu) {
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/viewers/DeferredQueryContentProvider.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/viewers/DeferredQueryContentProvider.java
index 27cff298c..75b8b61c0 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/viewers/DeferredQueryContentProvider.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/viewers/DeferredQueryContentProvider.java
@@ -25,9 +25,9 @@ import org.eclipse.jface.viewers.Viewer;
* Content provider that retrieves children asynchronously where
* possible using the IDeferredWorkbenchAdapter and provisioning
* query mechanisms.
- *
+ *
* @since 3.4
- *
+ *
*/
public class DeferredQueryContentProvider extends ProvElementContentProvider {
@@ -41,7 +41,7 @@ public class DeferredQueryContentProvider extends ProvElementContentProvider {
IDeferredQueryTreeListener onFetchingActionListener;
/**
- *
+ *
*/
public DeferredQueryContentProvider() {
// Default constructor
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/viewers/IDeferredQueryTreeListener.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/viewers/IDeferredQueryTreeListener.java
index 5e7dc3ea1..9c559d069 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/viewers/IDeferredQueryTreeListener.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/viewers/IDeferredQueryTreeListener.java
@@ -20,7 +20,7 @@ import java.util.EventListener;
* A listening interface used to signal when fetching begins and
* ends. Used by clients who wish to coordinate fetching with other
* capabilities of the viewer.
- *
+ *
* @since 3.4
*
*/
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/viewers/IInputChangeListener.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/viewers/IInputChangeListener.java
index 85b7f0b57..4a422300e 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/viewers/IInputChangeListener.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/viewers/IInputChangeListener.java
@@ -20,7 +20,7 @@ import org.eclipse.jface.viewers.Viewer;
/**
* A listening interface used to signal clients when input changes
* in a viewer.
- *
+ *
* @since 3.4
*
*/
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/viewers/IUColumnConfig.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/viewers/IUColumnConfig.java
index 91cccf749..d915bb990 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/viewers/IUColumnConfig.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/viewers/IUColumnConfig.java
@@ -7,7 +7,7 @@
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -20,9 +20,9 @@ import org.eclipse.swt.graphics.GC;
import org.eclipse.swt.widgets.Control;
/**
- * An IUColumnConfig describes a column in a viewer that is showing
- * information about an IIInstallableUnit.
- *
+ * An IUColumnConfig describes a column in a viewer that is showing
+ * information about an IIInstallableUnit.
+ *
* @since 3.4
*/
public class IUColumnConfig {
@@ -64,11 +64,11 @@ public class IUColumnConfig {
/**
* Create an IUColumnConfig describing a column with the specified title, type, and
* default width.
- *
+ *
* @param title the title that should appear for the column
* @param columnType the type of column represented. The type may be used to determine
* appropriate size or formatting of the column's content.
- * @param columnWidthInChars the width (in characters) that should be used for the column if no
+ * @param columnWidthInChars the width (in characters) that should be used for the column if no
* other width is specified by the client.
*/
@@ -82,7 +82,7 @@ public class IUColumnConfig {
/**
* Return the title of the column.
* @return the title that should be used for the column.
- *
+ *
* @since 3.6
*/
public String getColumnTitle() {
@@ -92,7 +92,7 @@ public class IUColumnConfig {
/**
* Set the title of the column
* @param title the String that should be used when the column's title is shown
- *
+ *
* @since 3.6
*/
public void setColumnTitle(String title) {
@@ -102,7 +102,7 @@ public class IUColumnConfig {
/**
* Return the width of the column in character width units
* @return the width (in characters) of the column
- *
+ *
* @since 3.6
*/
public int getWidthInChars() {
@@ -112,7 +112,7 @@ public class IUColumnConfig {
/**
* Set the width of the column in character width units
* @param columnWidth the width (in characters) of the column
- *
+ *
* @since 3.6
*/
public void setWidthInChars(int columnWidth) {
@@ -126,9 +126,9 @@ public class IUColumnConfig {
* width specified for the column.
* @param control
* @return the width in pixels that should be used for the column
- *
+ *
* @since 3.6
- *
+ *
* @see #setWidthInPixels(int)
*/
public int getWidthInPixels(Control control) {
@@ -146,9 +146,9 @@ public class IUColumnConfig {
* Set the width in pixels that should be used for this column. This width overrides
* any character width that has been specified. This method is useful when the column width
* is determined by user action.
- *
+ *
* @param width
- *
+ *
* @since 3.6
*/
public void setWidthInPixels(int width) {
@@ -158,7 +158,7 @@ public class IUColumnConfig {
/**
* Return the type of column.
* @return an Integer constant specifying the type of data being shown in the column.
- *
+ *
* @since 3.6
* @see #COLUMN_ID
* @see #COLUMN_NAME
@@ -172,9 +172,9 @@ public class IUColumnConfig {
/**
* Set the type of column.
* @param type an Integer constant specifying the type of data being shown in the column.
- *
+ *
* @since 3.6
- *
+ *
* @see #COLUMN_ID
* @see #COLUMN_NAME
* @see #COLUMN_SIZE
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/viewers/IUDetailsLabelProvider.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/viewers/IUDetailsLabelProvider.java
index 588cbba71..6e704c726 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/viewers/IUDetailsLabelProvider.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/viewers/IUDetailsLabelProvider.java
@@ -7,7 +7,7 @@
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -32,7 +32,7 @@ import org.eclipse.ui.dialogs.FilteredTree;
/**
* Label provider for showing IU's in a table. Clients can configure
* what is shown in each column.
- *
+ *
* @since 3.4
*/
public class IUDetailsLabelProvider extends ColumnLabelProvider implements ITableLabelProvider, IFontProvider {
@@ -102,7 +102,7 @@ public class IUDetailsLabelProvider extends ColumnLabelProvider implements ITabl
return name;
// If the iu name is not available, we return blank if we know know we are
// showing id in another column. Otherwise we return id so the user doesn't
- // see blank iu's.
+ // see blank iu's.
if (showingId)
return BLANK;
return iu.getId();
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/viewers/IUDragAdapter.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/viewers/IUDragAdapter.java
index 92fb9cd0b..c01e92ec8 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/viewers/IUDragAdapter.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/viewers/IUDragAdapter.java
@@ -7,7 +7,7 @@
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -23,7 +23,7 @@ import org.eclipse.swt.widgets.Control;
/**
* Implements drag behaviour when IU items are dragged from a repository view.
- *
+ *
* @since 3.4
*/
public class IUDragAdapter extends DragSourceAdapter {
@@ -32,7 +32,7 @@ public class IUDragAdapter extends DragSourceAdapter {
/**
* Constructs a new drag adapter.
- *
+ *
* @param provider
* The selection provider
*/
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/viewers/MetadataRepositoryElementComparator.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/viewers/MetadataRepositoryElementComparator.java
index bde96da77..ae16909bd 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/viewers/MetadataRepositoryElementComparator.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/viewers/MetadataRepositoryElementComparator.java
@@ -7,7 +7,7 @@
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -19,7 +19,7 @@ import org.eclipse.jface.viewers.Viewer;
import org.eclipse.jface.viewers.ViewerComparator;
/**
- *
+ *
* @since 3.5
*/
public class MetadataRepositoryElementComparator extends ViewerComparator {
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/viewers/ProvElementContentProvider.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/viewers/ProvElementContentProvider.java
index 9ef83636d..fb4504a66 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/viewers/ProvElementContentProvider.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/viewers/ProvElementContentProvider.java
@@ -7,7 +7,7 @@
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -25,9 +25,9 @@ import org.eclipse.ui.progress.*;
/**
* Content provider that retrieves children of a ProvElement.
- *
+ *
* @since 3.5
- *
+ *
*/
public class ProvElementContentProvider implements ITreeContentProvider {
@@ -38,7 +38,7 @@ public class ProvElementContentProvider implements ITreeContentProvider {
Object fetchFamily = new Object();
/**
- *
+ *
*/
public ProvElementContentProvider() {
// Default constructor
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/viewers/ProvElementLabelProvider.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/viewers/ProvElementLabelProvider.java
index 10242d11e..4f3a346ea 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/viewers/ProvElementLabelProvider.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/viewers/ProvElementLabelProvider.java
@@ -7,7 +7,7 @@
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -34,9 +34,9 @@ import org.eclipse.ui.PlatformUI;
/**
* Label provider for provisioning elements. Some provisioning objects are
* wrapped by ProvElements and some are not. This is the most generic of the
- * provisioning label providers. A two-column format for elements is
+ * provisioning label providers. A two-column format for elements is
* supported, with the content of the columns dependent on the type of object.
- *
+ *
* @since 3.4
*/
public class ProvElementLabelProvider extends LabelProvider implements ITableLabelProvider {
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/viewers/RepositoryContentProvider.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/viewers/RepositoryContentProvider.java
index c372c01bf..5c849597e 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/viewers/RepositoryContentProvider.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/viewers/RepositoryContentProvider.java
@@ -20,9 +20,9 @@ import org.eclipse.equinox.p2.repository.artifact.IArtifactDescriptor;
* Content provider for provisioning repositories. The repositories are the
* elements and the repository children are retrieved asynchronously
* using the IDeferredWorkbenchAdapter mechanism.
- *
+ *
* @since 3.4
- *
+ *
*/
public class RepositoryContentProvider extends DeferredQueryContentProvider {
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/viewers/RepositoryDetailsLabelProvider.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/viewers/RepositoryDetailsLabelProvider.java
index 959799bc6..a64f1355a 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/viewers/RepositoryDetailsLabelProvider.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/viewers/RepositoryDetailsLabelProvider.java
@@ -7,7 +7,7 @@
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -29,7 +29,7 @@ import org.eclipse.swt.graphics.Image;
/**
* Label provider for repository elements. The column structure is
* assumed to be known by the caller who sets up the columns
- *
+ *
* @since 3.5
*/
public class RepositoryDetailsLabelProvider extends LabelProvider implements ITableLabelProvider {
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/viewers/StructuredViewerProvisioningListener.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/viewers/StructuredViewerProvisioningListener.java
index b76c8d460..3e0f749f3 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/viewers/StructuredViewerProvisioningListener.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/internal/p2/ui/viewers/StructuredViewerProvisioningListener.java
@@ -7,7 +7,7 @@
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
*******************************************************************************/
@@ -29,7 +29,7 @@ import org.eclipse.ui.PlatformUI;
* model elements or the entire viewer based on the nature of the change and the
* changes that the client is interested in. Subclasses typically only need
* override when there is additional, specialized behavior required.
- *
+ *
* @since 3.4
*/
public class StructuredViewerProvisioningListener extends ProvUIProvisioningListener {
@@ -47,7 +47,7 @@ public class StructuredViewerProvisioningListener extends ProvUIProvisioningList
* A repository has been added. The default behavior is to
* refresh the viewer. Subclasses may override. May be called
* from a non-UI thread.
- *
+ *
* @param event the RepositoryEvent describing the details
*/
@Override
@@ -59,7 +59,7 @@ public class StructuredViewerProvisioningListener extends ProvUIProvisioningList
* A repository has been removed. The default behavior is to
* refresh the viewer. Subclasses may override. May be called
* from a non-UI thread.
- *
+ *
* @param event the RepositoryEvent describing the details
*/
@Override
@@ -70,7 +70,7 @@ public class StructuredViewerProvisioningListener extends ProvUIProvisioningList
/**
* A repository has been discovered. Subclasses may override. May be called
* from a non-UI thread.
- *
+ *
* @param event the RepositoryEvent describing the details
*/
@Override
@@ -81,7 +81,7 @@ public class StructuredViewerProvisioningListener extends ProvUIProvisioningList
/**
* A repository has changed. Subclasses may override. May be called
* from a non-UI thread.
- *
+ *
* @param event the RepositoryEvent describing the details
*/
@Override
@@ -95,7 +95,7 @@ public class StructuredViewerProvisioningListener extends ProvUIProvisioningList
* The specified profile has changed. The default behavior is to refresh the viewer
* with a profile element of the matching id. Subclasses may override. May be called
* from a non-UI thread.
- *
+ *
* @param profileId the id of the profile that changed.
*/
@Override
@@ -114,7 +114,7 @@ public class StructuredViewerProvisioningListener extends ProvUIProvisioningList
* The specified profile has been added. The default behavior is to fully
* refresh the associated viewer. Subclasses may override. May be called
* from a non-UI thread.
- *
+ *
* @param profileId the id of the profile that has been added.
*/
@Override
@@ -126,7 +126,7 @@ public class StructuredViewerProvisioningListener extends ProvUIProvisioningList
* The specified profile has been removed. The default behavior is to fully
* refresh the associated viewer. Subclasses may override. May be called
* from a non-UI thread.
- *
+ *
* @param profileId the id of the profile that has been removed.
*/
@Override
@@ -155,7 +155,7 @@ public class StructuredViewerProvisioningListener extends ProvUIProvisioningList
/**
* Refresh the entire structure of the viewer. Subclasses may
* override to ensure that any caching done in content providers or
- * model elements is refreshed before the viewer is refreshed. This will
+ * model elements is refreshed before the viewer is refreshed. This will
* always be called from the UI thread.
*/
protected void refreshViewer() {
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/p2/ui/ICopyable.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/p2/ui/ICopyable.java
index 2c2924131..8133760fe 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/p2/ui/ICopyable.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/p2/ui/ICopyable.java
@@ -19,14 +19,14 @@ import org.eclipse.swt.widgets.Control;
* ICopyable defines an interface for elements that provide
* copy support in a UI. The active control in the UI determines
* what should be copied.
- *
+ *
* @since 2.0
* @noimplement This interface is not intended to be implemented by clients.
*/
public interface ICopyable {
/**
* Copy text related to the active control to the clipboard.
- *
+ *
* @param activeControl the active control
*/
public void copyToClipboard(Control activeControl);
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/p2/ui/InstalledSoftwarePage.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/p2/ui/InstalledSoftwarePage.java
index 16da6c9aa..ec9414408 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/p2/ui/InstalledSoftwarePage.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/p2/ui/InstalledSoftwarePage.java
@@ -7,7 +7,7 @@
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* Sonatype, Inc. - ongoing development
@@ -45,9 +45,9 @@ import org.eclipse.ui.statushandlers.StatusManager;
* InstalledSoftwarePage displays a profile's IInstallableUnits in
* an Installation Page. Clients can use this class as the implementation
* class for an installationPages extension.
- *
+ *
* @see InstallationPage
- *
+ *
* @noextend This class is not intended to be subclassed by clients.
* @noinstantiate This class is not intended to be instantiated by clients.
* @since 2.0
@@ -267,7 +267,7 @@ public class InstalledSoftwarePage extends InstallationPage implements ICopyable
/**
* Set the provisioning UI to use with this page
- *
+ *
* @param value the provisioning ui to use
* @since 2.1
*/
@@ -276,14 +276,14 @@ public class InstalledSoftwarePage extends InstallationPage implements ICopyable
}
/**
- * Filters {@link InstalledIUElement}s from a viewer using a String pattern.
+ * Filters {@link InstalledIUElement}s from a viewer using a String pattern.
* Filtering is dependent on a given array of {@link IUColumnConfig}s :
* <ul>
* <li>if {@link IUColumnConfig#COLUMN_ID} is present, filters on the Installable Unit's id;</li>
* <li>if {@link IUColumnConfig#COLUMN_NAME} is present, filters on the Installable Unit's name;</li>
* <li>if {@link IUColumnConfig#COLUMN_PROVIDER} is present, filters on the Installable Unit's provider;</li>
- * </ul>
- *
+ * </ul>
+ *
* @since 2.3
*/
class IUPatternFilter extends ViewerFilter {
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/p2/ui/LicenseManager.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/p2/ui/LicenseManager.java
index b7ab8805c..288290edf 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/p2/ui/LicenseManager.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/p2/ui/LicenseManager.java
@@ -20,49 +20,49 @@ import org.eclipse.equinox.p2.metadata.ILicense;
* accepted in the course of installing or updating software. It can be used to determine
* whether a particular license should be presented to a user for acceptance, and
* to record the user's decision.
- *
+ *
* @since 2.0
*/
public abstract class LicenseManager {
/**
* Record the acceptance of the specified license.
- *
+ *
* @param license the license to be accepted
- *
+ *
* @return <code>true</code> if the license was recorded as accepted, <code>false</code> if
* it was not.
- *
+ *
*/
public abstract boolean accept(ILicense license);
/**
* Record the rejection of the specified license.
- *
+ *
* @param license the license to be rejected
- *
+ *
* @return <code>true</code> if the license was recorded as rejected, <code>false</code> if
* it was not.
- *
+ *
*/
public abstract boolean reject(ILicense license);
/**
* Return a boolean indicating whether a particular license has previously
* been accepted.
- *
+ *
* @param license the license in question
- *
+ *
* @return <code>true</code> if the license has previously been accepted,
* <code>false</code> if it has not been accepted before.
- *
+ *
*/
public abstract boolean isAccepted(ILicense license);
/**
* Return a boolean indicating whether any licenses have been
* accepted.
- *
+ *
* @return <code>true</code> if accepted licenses have been recorded,
* <code>false</code> if there have been no licenses accepted.
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/p2/ui/Policy.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/p2/ui/Policy.java
index e70403ec5..6d13d1570 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/p2/ui/Policy.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/p2/ui/Policy.java
@@ -31,17 +31,17 @@ import org.eclipse.ui.statushandlers.StatusManager;
* The Policy class is used to specify application specific policies that
* should be used in the standard p2 UI class libraries. The default policy
* is acquired using the OSGi service model.
- *
- * Policy allows clients to specify things such as how repositories
+ *
+ * Policy allows clients to specify things such as how repositories
* are manipulated in the standard wizards and dialogs, and how the repositories
* or the installation itself should be traversed when displaying content.
- *
+ *
* In some cases, the Policy is used only to define a default value that can
* be overridden by user choice and subsequently stored in dialog settings.
- *
+ *
* Client applications should ensure that their Policy is registered before
- * any of the p2 UI objects access the default Policy.
- *
+ * any of the p2 UI objects access the default Policy.
+ *
* @since 2.0
*/
public class Policy {
@@ -49,13 +49,13 @@ public class Policy {
/**
* A constant indicating that restart should be forced (without
* confirmation) immediately after completion of a provisioning operation.
- *
+ *
*/
public static final int RESTART_POLICY_FORCE = 1;
/**
* A constant indicating that the changes should be applied dynamically
- * to the profile (without confirmation) immediately after completion of
+ * to the profile (without confirmation) immediately after completion of
* a provisioning operation.
*/
public static final int RESTART_POLICY_FORCE_APPLY = 2;
@@ -67,7 +67,7 @@ public class Policy {
public static final int RESTART_POLICY_PROMPT = 3;
/**
- * A constant indicating that, where possible, the user should
+ * A constant indicating that, where possible, the user should
* be given the option to restart or dynamically apply the changes
* after completion of a provisioning operation.
*/
@@ -80,7 +80,7 @@ public class Policy {
* update will be used. This option is recommended when the user's view
* of the system is a set of component updates and the user is expected
* to have knowledge of the composition of the system.
- *
+ *
* @since 2.1
*/
public static final int UPDATE_STYLE_MULTIPLE_IUS = 1;
@@ -90,9 +90,9 @@ public class Policy {
* update wizard that shows detail about a single IU that can be
* updated. If more than one IU can be updated, the user will be shown
* a list; however, this option is recommended to be used only when
- * the user's view of the system is a single application that can be
+ * the user's view of the system is a single application that can be
* updated, and only one IU is expected to be available for update.
- *
+ *
* @since 2.1
*/
public static final int UPDATE_STYLE_SINGLE_IUS = 2;
@@ -116,7 +116,7 @@ public class Policy {
* Answer a boolean indicating whether the caller should continue to work with the
* specified operation. This method is used when an operation has been resolved, but
* the UI may have further restrictions on continuing with it.
- *
+ *
* @param operation the operation in question. It must already be resolved.
* @param shell the shell to use for any interaction with the user
* @return <code>true</code> if processing of the operation should continue, <code>false</code> if
@@ -158,7 +158,7 @@ public class Policy {
/**
* Return a query that can be used to obtain the IInstallableUnits that
* should be presented to the user from the software repositories.
- *
+ *
* @return the query used to retrieve user visible available IUs
*/
public IQuery<IInstallableUnit> getVisibleAvailableIUQuery() {
@@ -168,7 +168,7 @@ public class Policy {
/**
* Set the query that can be used to obtain the IInstallableUnits that
* should be presented to the user.
- *
+ *
* @param query the query used to retrieve user visible available IUs
*/
public void setVisibleAvailableIUQuery(IQuery<IInstallableUnit> query) {
@@ -178,7 +178,7 @@ public class Policy {
/**
* Return a query that can be used to obtain the IInstallableUnits in
* the profile that should be presented to the user.
- *
+ *
* @return the query used to retrieve user visible installed IUs
*/
public IQuery<IInstallableUnit> getVisibleInstalledIUQuery() {
@@ -188,7 +188,7 @@ public class Policy {
/**
* Set the query that can be used to obtain the IInstallableUnits in
* the profile that should be presented to the user.
- *
+ *
* @param query the query used to retrieve user visible installed IUs
*/
public void setVisibleInstalledIUQuery(IQuery<IInstallableUnit> query) {
@@ -198,9 +198,9 @@ public class Policy {
/**
* Get the restart policy that should be used when the provisioning UI
* determines that a restart is required.
- *
+ *
* @return an integer constant describing the restart policy
- *
+ *
* @see #RESTART_POLICY_FORCE
* @see #RESTART_POLICY_FORCE_APPLY
* @see #RESTART_POLICY_PROMPT
@@ -213,9 +213,9 @@ public class Policy {
/**
* Set the restart policy that should be used when the provisioning UI
* determines that a restart is required.
- *
+ *
* @param restartPolicy an integer constant describing the restart policy
- *
+ *
* @see #RESTART_POLICY_FORCE
* @see #RESTART_POLICY_FORCE_APPLY
* @see #RESTART_POLICY_PROMPT
@@ -229,7 +229,7 @@ public class Policy {
* Return a boolean indicating whether the repositories should
* be visible to the user, such that the user can add, remove, and
* otherwise manipulate the software site list.
- *
+ *
* @return <code>true</code> if repositories are visible to the end
* user, <code>false</code> if they are not.
*/
@@ -241,7 +241,7 @@ public class Policy {
* Set a boolean indicating whether the repositories should
* be visible to the user, such that the user can add, remove, and
* otherwise manipulate the software site list.
- *
+ *
* @param visible <code>true</code> if repositories are visible to the end
* user, <code>false</code> if they are not.
*/
@@ -252,7 +252,7 @@ public class Policy {
/**
* Return a boolean indicating whether only the latest versions of
* updates and available software should be shown to the user.
- *
+ *
* @return <code>true</code> if only the latest versions are shown,
* <code>false</code> if all versions should be shown.
*/
@@ -263,7 +263,7 @@ public class Policy {
/**
* Set a boolean indicating whether only the latest versions of
* updates and available software should be shown to the user.
- *
+ *
* @param showLatest <code>true</code> if only the latest versions are shown,
* <code>false</code> if all versions should be shown.
*/
@@ -274,7 +274,7 @@ public class Policy {
/**
* Return a boolean indicating whether the user should be allowed drill
* down from a visible update or installed item into the requirements.
- *
+ *
* @return <code>true</code> if drilldown is allowed,
* <code>false</code> if it is not.
*/
@@ -285,7 +285,7 @@ public class Policy {
/**
* Set a boolean indicating whether the user should be allowed drill
* down from a visible update or installed item into the requirements.
- *
+ *
* @param drilldown <code>true</code> if drilldown is allowed,
* <code>false</code> if it is not.
*/
@@ -296,8 +296,8 @@ public class Policy {
/**
* Return a boolean value indicating whether or not the list of available
* software should be filtered based on the environment settings of the profile.
- *
- * @return <code>true</code> if the results should be filtered
+ *
+ * @return <code>true</code> if the results should be filtered
* and <code>false</code> otherwise.
* @since 2.1
*/
@@ -308,8 +308,8 @@ public class Policy {
/**
* Set a boolean value indicating whether or not the list of available
* software should be filtered based on the environment settings of the profile.
- *
- * @param filterOnEnv <code>true</code> if the results should be filtered
+ *
+ * @param filterOnEnv <code>true</code> if the results should be filtered
* and <code>false</code> otherwise.
* @since 2.1
*/
@@ -320,7 +320,7 @@ public class Policy {
/**
* Return a boolean indicating whether available software should be
* grouped by category.
- *
+ *
* @return <code>true</code> if items should be grouped by category,
* <code>false</code> if categories should not be shown.
*/
@@ -331,7 +331,7 @@ public class Policy {
/**
* Set a boolean indicating whether available software should be
* grouped by category.
- *
+ *
* @param group <code>true</code> if items should be grouped by category,
* <code>false</code> if categories should not be shown.
*/
@@ -342,7 +342,7 @@ public class Policy {
/**
* Get the id of the preference page that should be used to link to the
* software sites page.
- *
+ *
* @return the preference page id, or <code>null</code> if there is no
* preference page id showing the software sites.
*/
@@ -353,7 +353,7 @@ public class Policy {
/**
* Set the id of the preference page that should be used to link to the
* software sites page.
- *
+ *
* @param id the preference page id, or <code>null</code> if there is no
* preference page id showing the software sites.
*/
@@ -365,7 +365,7 @@ public class Policy {
/**
* Get the localized name of the preference page that should be displayed in
* links to the software sites page.
- *
+ *
* @return the preference page name, or <code>null</code> if there is no
* preference page.
*/
@@ -377,10 +377,10 @@ public class Policy {
* Set the localized name of the preference page that should be displayed in
* links to the software sites page. This name is ignored if no id is specified
* for the preference page.
- *
+ *
* @param name the preference page name, or <code>null</code> if there is no
* preference page.
- *
+ *
* @see Policy#setRepositoryPreferencePageId(String)
*/
@@ -391,12 +391,12 @@ public class Policy {
/**
* Get the update wizard style that should be used to determine
* what to show the user when updates are available.
- *
+ *
* @return an integer constant describing the update wizard style
- *
+ *
* @see #UPDATE_STYLE_SINGLE_IUS
* @see #UPDATE_STYLE_MULTIPLE_IUS
- *
+ *
* @since 2.1
*/
@@ -407,12 +407,12 @@ public class Policy {
/**
* Get the update wizard style that should be used to determine
* what to show the user when updates are available.
- *
+ *
* @param updateWizardStyle an integer constant describing the update wizard style
- *
+ *
* @see #UPDATE_STYLE_SINGLE_IUS
* @see #UPDATE_STYLE_MULTIPLE_IUS
- *
+ *
* @since 2.1
*/
@@ -423,10 +423,10 @@ public class Policy {
/**
* Get a point describing the preferred size of the details area
* shown in single IU update wizards. This value may be null, in which case
- * the wizard may compute a default size.
- *
+ * the wizard may compute a default size.
+ *
* @return a Point describing the preferred size of the update wizard details area.
- *
+ *
* @see #UPDATE_STYLE_SINGLE_IUS
*
* @since 2.1
@@ -441,11 +441,11 @@ public class Policy {
* notify the user of a single update. Clients can use this value to ensure
* that their product's branded update notifier is sized to fit the expected
* content.
- *
+ *
* @param preferredSize a Point describing the preferred size
- *
+ *
* @see #UPDATE_STYLE_SINGLE_IUS
- *
+ *
* @since 2.1
*/
@@ -454,8 +454,8 @@ public class Policy {
}
/**
- * Get a boolean value indicating whether to contact all sites.
- *
+ * Get a boolean value indicating whether to contact all sites.
+ *
* @return <code>true</code> true if all sites need to be contacted,
* <code>false</code> otherwise.
*
@@ -467,7 +467,7 @@ public class Policy {
/**
* Set a boolean indicating whether all sites need to be contacted.
- *
+ *
* @param contactAll <code>true</code> if all sites need to be contacted,
* <code>false</code> otherwise.
*
@@ -479,7 +479,7 @@ public class Policy {
/**
* Get a boolean value indicating whether to hide already installed units.
- *
+ *
* @return <code>true</code> if already installed units are to be hidden,
* <code>false</code> otherwise.
*
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/p2/ui/ProvisioningUI.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/p2/ui/ProvisioningUI.java
index 3827456a1..36f2bde62 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/p2/ui/ProvisioningUI.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/p2/ui/ProvisioningUI.java
@@ -106,7 +106,7 @@ public class ProvisioningUI {
/**
* Return the license manager that should be used to remember accepted user
* licenses.
- *
+ *
* @return the license manager. May be <code>null</code> if licenses are not to
* be remembered.
*/
@@ -346,7 +346,7 @@ public class ProvisioningUI {
/**
* Open a UI that allows the user to manipulate the repositories.
- *
+ *
* @param shell the shell that should parent the UI
*/
public void manipulateRepositories(Shell shell) {
@@ -437,7 +437,7 @@ public class ProvisioningUI {
/**
* This method is for automated testing only.
- *
+ *
* @return the provisioning operation that can suppress restart for automated
* testing.
* @noreference This method is not intended to be referenced by clients.
diff --git a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/p2/ui/RepositoryManipulationPage.java b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/p2/ui/RepositoryManipulationPage.java
index f295541bd..78fb5398e 100644
--- a/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/p2/ui/RepositoryManipulationPage.java
+++ b/bundles/org.eclipse.equinox.p2.ui/src/org/eclipse/equinox/p2/ui/RepositoryManipulationPage.java
@@ -7,7 +7,7 @@
* https://www.eclipse.org/legal/epl-2.0/
*
* SPDX-License-Identifier: EPL-2.0
- *
+ *
* Contributors:
* IBM Corporation - initial API and implementation
* Ericsson AB (Pascal Rapicault) - bug 398539
@@ -52,10 +52,10 @@ import org.eclipse.ui.statushandlers.StatusManager;
/**
* Page that allows users to update, add, remove, import, and
* export repositories. This page can be hosted inside a preference
- * dialog or inside its own dialog.
- *
- * When hosting this page inside a non-preference dialog, some of the
- * dialog methods will likely have to call page methods. The following
+ * dialog or inside its own dialog.
+ *
+ * When hosting this page inside a non-preference dialog, some of the
+ * dialog methods will likely have to call page methods. The following
* snippet shows how to host this page inside a TitleAreaDialog.
* <pre>
* TitleAreaDialog dialog = new TitleAreaDialog(shell) {
@@ -83,9 +83,9 @@ import org.eclipse.ui.statushandlers.StatusManager;
* };
* dialog.open();
* </pre>
- *
+ *
* @noextend This class is not intended to be subclassed by clients.
- *
+ *
* @since 2.0
*/
public class RepositoryManipulationPage extends PreferencePage implements IWorkbenchPreferencePage, ICopyable {
@@ -193,9 +193,9 @@ public class RepositoryManipulationPage extends PreferencePage implements IWorkb
/**
* Set the provisioning UI that provides the session, policy, and other
- * services for the UI. This method must be called before the contents are
+ * services for the UI. This method must be called before the contents are
* created or it will have no effect.
- *
+ *
* @param ui the provisioning UI to use for this page.
*/
public void setProvisioningUI(ProvisioningUI ui) {

Back to the top