mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-09 18:56: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>();
|
||||
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
|
||||
|
|
Loading…
Add table
Reference in a new issue