Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Tarassov2014-10-29 14:24:01 -0400
committerEugene Tarassov2014-10-29 14:24:01 -0400
commit62c7929af0b09ff3a595b1f278ca8b2f27316e37 (patch)
treec892f1567f22a6e0475bc5563af180ad2d14cc5e /plugins/org.eclipse.tcf.debug.ui
parent6f824d213ede71b92b50bcbfdc64e216d4d9c836 (diff)
downloadorg.eclipse.tcf-62c7929af0b09ff3a595b1f278ca8b2f27316e37.tar.gz
org.eclipse.tcf-62c7929af0b09ff3a595b1f278ca8b2f27316e37.tar.xz
org.eclipse.tcf-62c7929af0b09ff3a595b1f278ca8b2f27316e37.zip
TCF Core: code cleanup
Diffstat (limited to 'plugins/org.eclipse.tcf.debug.ui')
-rw-r--r--plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/ImageCache.java6
-rw-r--r--plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFDetailPane.java4
2 files changed, 5 insertions, 5 deletions
diff --git a/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/ImageCache.java b/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/ImageCache.java
index 357bbae19..397d33a66 100644
--- a/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/ImageCache.java
+++ b/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/ImageCache.java
@@ -92,7 +92,7 @@ public class ImageCache {
for (String e : ext) {
IPath path = new Path(name).removeFileExtension().addFileExtension(e);
Bundle bundle = Platform.getBundle(Activator.PLUGIN_ID);
- if (bundle != null){
+ if (bundle != null) {
URL url = FileLocator.find(bundle, path, null);
if (url != null) {
descriptor = ImageDescriptor.createFromURL(url);
@@ -100,7 +100,7 @@ public class ImageCache {
}
}
bundle = Platform.getBundle("org.eclipse.debug.ui");
- if (bundle != null){
+ if (bundle != null) {
URL url = FileLocator.find(bundle, path, null);
if (url != null) {
descriptor = ImageDescriptor.createFromURL(url);
@@ -108,7 +108,7 @@ public class ImageCache {
}
}
bundle = Platform.getBundle("org.eclipse.cdt.debug.ui");
- if (bundle != null){
+ if (bundle != null) {
URL url = FileLocator.find(bundle, path, null);
if (url != null) {
descriptor = ImageDescriptor.createFromURL(url);
diff --git a/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFDetailPane.java b/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFDetailPane.java
index e8f12b3bb..cf0c75ca0 100644
--- a/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFDetailPane.java
+++ b/plugins/org.eclipse.tcf.debug.ui/src/org/eclipse/tcf/internal/debug/ui/model/TCFDetailPane.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2008, 2013 Wind River Systems, Inc. and others.
+ * Copyright (c) 2008, 2014 Wind River Systems, Inc. and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -126,7 +126,7 @@ public class TCFDetailPane implements IDetailPane, IPropertyChangeListener {
return action_map.get(id);
}
- private void setGlobalAction(String id, IAction action){
+ private void setGlobalAction(String id, IAction action) {
if (part_site instanceof IViewSite) {
((IViewSite)part_site).getActionBars().setGlobalActionHandler(id, action);
}

Back to the top