summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Salinas2012-05-09 12:18:51 (EDT)
committer Vivian Kong2012-05-09 12:18:51 (EDT)
commitf1dcf178a3b981bcb9fbcf3e92c0409c1efadfd0 (patch)
treef21cb5811884896559f1da45473028d1b7eaab97
parent2e27470c13c9d66befa5d86030177c83e8b4af72 (diff)
downloadorg.eclipse.cdt-f1dcf178a3b981bcb9fbcf3e92c0409c1efadfd0.zip
org.eclipse.cdt-f1dcf178a3b981bcb9fbcf3e92c0409c1efadfd0.tar.gz
org.eclipse.cdt-f1dcf178a3b981bcb9fbcf3e92c0409c1efadfd0.tar.bz2
Bug 375859 - remove extra try-catch block
-rw-r--r--build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/RefreshPolicyTab.java9
1 files changed, 2 insertions, 7 deletions
diff --git a/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/RefreshPolicyTab.java b/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/RefreshPolicyTab.java
index 02686a7..8c3839c 100644
--- a/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/RefreshPolicyTab.java
+++ b/build/org.eclipse.cdt.managedbuilder.ui/src/org/eclipse/cdt/managedbuilder/ui/properties/RefreshPolicyTab.java
@@ -131,13 +131,8 @@ public class RefreshPolicyTab extends AbstractCBuildPropertyTab {
List<RefreshExclusion> target_exclusions = new LinkedList<RefreshExclusion>();
for (RefreshExclusion exclusion : source_exclusions) {
// ADD each exclusion to the target exclusion list.
- try {
- RefreshExclusion target_exclusion = (RefreshExclusion) exclusion.clone();
- target_exclusions.add(target_exclusion);
- } catch (CloneNotSupportedException e) {
- // TODO Auto-generated catch block
- e.printStackTrace();
- }
+ RefreshExclusion target_exclusion = (RefreshExclusion) exclusion.clone();
+ target_exclusions.add(target_exclusion);
}
// ADD the exclusion list for this resource