Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrey Loskutov2017-01-04 18:15:03 +0000
committerAndrey Loskutov2017-01-04 18:24:07 +0000
commit8abfce119e3408a32d261fcce5da53387320e5c4 (patch)
tree5614a24a8b868c21f5d693910da26fdfe8426225 /org.eclipse.ui.intro.quicklinks
parent680afa3b0b468c98737bb31e79cd9d2349cf508f (diff)
downloadeclipse.platform.ua-8abfce119e3408a32d261fcce5da53387320e5c4.tar.gz
eclipse.platform.ua-8abfce119e3408a32d261fcce5da53387320e5c4.tar.xz
eclipse.platform.ua-8abfce119e3408a32d261fcce5da53387320e5c4.zip
forever Applied Cleanup-> Remove trailing spaces on all help projects. Only those four projects had whitespace issues: org.eclipse.help.ui, org.eclipse.ui.intro.quicklinks, org.eclipse.ui.intro.universal, org.eclipse.ui.intro. Same four projects haven't automatic save actions enabled, therefore I've updated the settings too. Change-Id: If7f896ab4ceb6587af6f211057729f443fd016cb Signed-off-by: Andrey Loskutov <loskutov@gmx.de>
Diffstat (limited to 'org.eclipse.ui.intro.quicklinks')
-rw-r--r--org.eclipse.ui.intro.quicklinks/.settings/org.eclipse.jdt.ui.prefs59
-rw-r--r--org.eclipse.ui.intro.quicklinks/src/org/eclipse/ui/intro/quicklinks/QuicklinksViewer.java18
-rw-r--r--org.eclipse.ui.intro.quicklinks/src/org/eclipse/ui/intro/quicklinks/URLLabelProvider.java2
3 files changed, 68 insertions, 11 deletions
diff --git a/org.eclipse.ui.intro.quicklinks/.settings/org.eclipse.jdt.ui.prefs b/org.eclipse.ui.intro.quicklinks/.settings/org.eclipse.jdt.ui.prefs
index 30342114f..7ef179682 100644
--- a/org.eclipse.ui.intro.quicklinks/.settings/org.eclipse.jdt.ui.prefs
+++ b/org.eclipse.ui.intro.quicklinks/.settings/org.eclipse.jdt.ui.prefs
@@ -1,6 +1,63 @@
-#Sat Nov 12 22:58:47 EST 2005
eclipse.preferences.version=1
+editor_save_participant_org.eclipse.jdt.ui.postsavelistener.cleanup=true
formatter_profile=_UA
formatter_settings_version=9
internal.default.compliance=user
org.eclipse.jdt.ui.text.custom_code_templates=<?xml version\="1.0" encoding\="UTF-8"?><templates/>
+sp_cleanup.add_default_serial_version_id=true
+sp_cleanup.add_generated_serial_version_id=false
+sp_cleanup.add_missing_annotations=true
+sp_cleanup.add_missing_deprecated_annotations=true
+sp_cleanup.add_missing_methods=false
+sp_cleanup.add_missing_nls_tags=false
+sp_cleanup.add_missing_override_annotations=true
+sp_cleanup.add_missing_override_annotations_interface_methods=true
+sp_cleanup.add_serial_version_id=false
+sp_cleanup.always_use_blocks=true
+sp_cleanup.always_use_parentheses_in_expressions=false
+sp_cleanup.always_use_this_for_non_static_field_access=false
+sp_cleanup.always_use_this_for_non_static_method_access=false
+sp_cleanup.convert_functional_interfaces=false
+sp_cleanup.convert_to_enhanced_for_loop=false
+sp_cleanup.correct_indentation=false
+sp_cleanup.format_source_code=false
+sp_cleanup.format_source_code_changes_only=false
+sp_cleanup.insert_inferred_type_arguments=false
+sp_cleanup.make_local_variable_final=true
+sp_cleanup.make_parameters_final=false
+sp_cleanup.make_private_fields_final=true
+sp_cleanup.make_type_abstract_if_missing_method=false
+sp_cleanup.make_variable_declarations_final=false
+sp_cleanup.never_use_blocks=false
+sp_cleanup.never_use_parentheses_in_expressions=true
+sp_cleanup.on_save_use_additional_actions=true
+sp_cleanup.organize_imports=false
+sp_cleanup.qualify_static_field_accesses_with_declaring_class=false
+sp_cleanup.qualify_static_member_accesses_through_instances_with_declaring_class=true
+sp_cleanup.qualify_static_member_accesses_through_subtypes_with_declaring_class=true
+sp_cleanup.qualify_static_member_accesses_with_declaring_class=false
+sp_cleanup.qualify_static_method_accesses_with_declaring_class=false
+sp_cleanup.remove_private_constructors=true
+sp_cleanup.remove_redundant_type_arguments=true
+sp_cleanup.remove_trailing_whitespaces=true
+sp_cleanup.remove_trailing_whitespaces_all=true
+sp_cleanup.remove_trailing_whitespaces_ignore_empty=false
+sp_cleanup.remove_unnecessary_casts=true
+sp_cleanup.remove_unnecessary_nls_tags=false
+sp_cleanup.remove_unused_imports=true
+sp_cleanup.remove_unused_local_variables=false
+sp_cleanup.remove_unused_private_fields=true
+sp_cleanup.remove_unused_private_members=false
+sp_cleanup.remove_unused_private_methods=true
+sp_cleanup.remove_unused_private_types=true
+sp_cleanup.sort_members=false
+sp_cleanup.sort_members_all=false
+sp_cleanup.use_anonymous_class_creation=false
+sp_cleanup.use_blocks=false
+sp_cleanup.use_blocks_only_for_return_and_throw=false
+sp_cleanup.use_lambda=true
+sp_cleanup.use_parentheses_in_expressions=false
+sp_cleanup.use_this_for_non_static_field_access=false
+sp_cleanup.use_this_for_non_static_field_access_only_if_necessary=true
+sp_cleanup.use_this_for_non_static_method_access=false
+sp_cleanup.use_this_for_non_static_method_access_only_if_necessary=true
diff --git a/org.eclipse.ui.intro.quicklinks/src/org/eclipse/ui/intro/quicklinks/QuicklinksViewer.java b/org.eclipse.ui.intro.quicklinks/src/org/eclipse/ui/intro/quicklinks/QuicklinksViewer.java
index 23283bb28..3588e455c 100644
--- a/org.eclipse.ui.intro.quicklinks/src/org/eclipse/ui/intro/quicklinks/QuicklinksViewer.java
+++ b/org.eclipse.ui.intro.quicklinks/src/org/eclipse/ui/intro/quicklinks/QuicklinksViewer.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Manumitting Technologies Inc - initial API and implementation
*******************************************************************************/
@@ -70,7 +70,7 @@ import org.osgi.framework.FrameworkUtil;
* from an extension point. The appearance of these quicklinks is normally taken
* from the command metadata, including the image icon, but can be tailored.
* These tailorings can be made optional depending on the current theme.
- *
+ *
* This implementation is still experimental and subject to change. Feedback
* welcome as a <a href="http://eclip.se/9f">bug report on the Eclipse Bugzilla
* against Platform/User Assistance</a>.
@@ -160,7 +160,7 @@ public class QuicklinksViewer implements IIntroContentProvider {
/**
* Return the list of configured {@link Quicklink} that can be found.
- *
+ *
* @return
*/
public List<Quicklink> get() {
@@ -177,7 +177,7 @@ public class QuicklinksViewer implements IIntroContentProvider {
}
}
}
-
+
for (IExtension ext : extensions) {
if (productBundle == null || !productBundle.getSymbolicName().equals(ext.getNamespaceIdentifier())) {
for (IConfigurationElement ce : ext.getConfigurationElements()) {
@@ -247,7 +247,7 @@ public class QuicklinksViewer implements IIntroContentProvider {
/**
* Find {@link Quicklink}s whose {@code commandSpec} matches the simple
* wildcard pattern in {@code commandSpecPattern}
- *
+ *
* @param commandSpecPattern
* a simple wildcard pattern supporting *, ?
* @return the set of matching Quicklinks
@@ -326,7 +326,7 @@ public class QuicklinksViewer implements IIntroContentProvider {
/**
* Find the current Welcome/Intro identifier
- *
+ *
* @return the current identifier or {@code null} if no theme
*/
protected String getCurrentThemeId() {
@@ -396,7 +396,7 @@ public class QuicklinksViewer implements IIntroContentProvider {
* Rewrite or possible extract the icon at the given URL to a stable URL
* that can be embedded in HTML and rendered in a browser. May create
* temporary files that will be cleaned up on exit.
- *
+ *
* @param iconURL
* @return stable URL
*/
@@ -425,7 +425,7 @@ public class QuicklinksViewer implements IIntroContentProvider {
/**
* Write out the image as a data: URL if possible or to the file-system.
- *
+ *
* @param descriptor
* @return URL with the resulting image
*/
@@ -496,7 +496,7 @@ public class QuicklinksViewer implements IIntroContentProvider {
* Attempt to populate common fields given other information. For commands,
* we look up information in the ICommandService and ICommandImageService.
* Return false if this quicklink cannot be found and should not be shown.
- *
+ *
* @return true if should be included
*/
private boolean populateQuicklink(Quicklink ql) {
diff --git a/org.eclipse.ui.intro.quicklinks/src/org/eclipse/ui/intro/quicklinks/URLLabelProvider.java b/org.eclipse.ui.intro.quicklinks/src/org/eclipse/ui/intro/quicklinks/URLLabelProvider.java
index 20ec3abd1..8ba05557a 100644
--- a/org.eclipse.ui.intro.quicklinks/src/org/eclipse/ui/intro/quicklinks/URLLabelProvider.java
+++ b/org.eclipse.ui.intro.quicklinks/src/org/eclipse/ui/intro/quicklinks/URLLabelProvider.java
@@ -4,7 +4,7 @@
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
- *
+ *
* Contributors:
* Manumitting Technologies Inc - initial API and implementation
*******************************************************************************/

Back to the top