Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Vogel2019-06-24 10:35:56 +0000
committerKarsten Thoms2019-06-24 21:09:22 +0000
commite299fbad367294c21a840fdc54abb65aa0c86539 (patch)
treea694ad0dae3f2f87afacdba07645f7cd6559a3af /bundles/org.eclipse.e4.ui.css.swt/src/org/eclipse/e4/ui/css/swt/helpers/CSSSWTColorHelper.java
parent94862c91580e8a0d38efbb72864bcd4661d7e847 (diff)
downloadeclipse.platform.ui-e299fbad367294c21a840fdc54abb65aa0c86539.tar.gz
eclipse.platform.ui-e299fbad367294c21a840fdc54abb65aa0c86539.tar.xz
eclipse.platform.ui-e299fbad367294c21a840fdc54abb65aa0c86539.zip
Use multi-catchI20190624-1800
Change-Id: Ie41a31d3554b31719b2e2dc290595f9786b514b6 Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
Diffstat (limited to 'bundles/org.eclipse.e4.ui.css.swt/src/org/eclipse/e4/ui/css/swt/helpers/CSSSWTColorHelper.java')
-rw-r--r--bundles/org.eclipse.e4.ui.css.swt/src/org/eclipse/e4/ui/css/swt/helpers/CSSSWTColorHelper.java5
1 files changed, 1 insertions, 4 deletions
diff --git a/bundles/org.eclipse.e4.ui.css.swt/src/org/eclipse/e4/ui/css/swt/helpers/CSSSWTColorHelper.java b/bundles/org.eclipse.e4.ui.css.swt/src/org/eclipse/e4/ui/css/swt/helpers/CSSSWTColorHelper.java
index 708d0b21a5c..4bd707b68fd 100644
--- a/bundles/org.eclipse.e4.ui.css.swt/src/org/eclipse/e4/ui/css/swt/helpers/CSSSWTColorHelper.java
+++ b/bundles/org.eclipse.e4.ui.css.swt/src/org/eclipse/e4/ui/css/swt/helpers/CSSSWTColorHelper.java
@@ -116,10 +116,7 @@ public class CSSSWTColorHelper {
return display.getSystemColor(field.getInt(null)).getRGBA();
}
}
- } catch (IllegalArgumentException e) {
- // no op - shouldnt happen. We check for static before calling
- // getInt(null)
- } catch (IllegalAccessException e) {
+ } catch (IllegalArgumentException | IllegalAccessException e) {
// no op - shouldnt happen. We check for public before calling
// getInt(null)
}

Back to the top