mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-09 10:46:02 +02:00
Bug 375859 - remove extra try-catch block
This commit is contained in:
parent
2e27470c13
commit
f1dcf178a3
1 changed files with 2 additions and 7 deletions
|
@ -131,13 +131,8 @@ public class RefreshPolicyTab extends AbstractCBuildPropertyTab {
|
||||||
List<RefreshExclusion> target_exclusions = new LinkedList<RefreshExclusion>();
|
List<RefreshExclusion> target_exclusions = new LinkedList<RefreshExclusion>();
|
||||||
for (RefreshExclusion exclusion : source_exclusions) {
|
for (RefreshExclusion exclusion : source_exclusions) {
|
||||||
// ADD each exclusion to the target exclusion list.
|
// ADD each exclusion to the target exclusion list.
|
||||||
try {
|
RefreshExclusion target_exclusion = (RefreshExclusion) exclusion.clone();
|
||||||
RefreshExclusion target_exclusion = (RefreshExclusion) exclusion.clone();
|
target_exclusions.add(target_exclusion);
|
||||||
target_exclusions.add(target_exclusion);
|
|
||||||
} catch (CloneNotSupportedException e) {
|
|
||||||
// TODO Auto-generated catch block
|
|
||||||
e.printStackTrace();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// ADD the exclusion list for this resource
|
// ADD the exclusion list for this resource
|
||||||
|
|
Loading…
Add table
Reference in a new issue