diff options
author | Lars Vogel | 2020-10-05 08:45:06 +0000 |
---|---|---|
committer | Lars Vogel | 2020-10-09 10:05:00 +0000 |
commit | 84dda3f422859d49d2ef2394ad6efa2cc29b2602 (patch) | |
tree | 3a42c29c57af03e51c3615fddbb13c436d6cc536 | |
parent | 7a711982ff599842f6c049d59d58f2fbc2bd4eb3 (diff) | |
download | eclipse.platform.debug-Y20201019-1200.tar.gz eclipse.platform.debug-Y20201019-1200.tar.xz eclipse.platform.debug-Y20201019-1200.zip |
Combine catch statement in BuilderPropertyPageY20201020-1200Y20201019-1200Y20201018-1200Y20201017-1200Y20201016-1200Y20201015-1200Y20201014-1200Y20201013-1200Y20201012-1200Y20201011-1200Y20201010-1200Y20201009-1200I20201020-0240I20201019-1800I20201018-1800I20201017-1800I20201016-1800I20201016-0000I20201015-1800I20201014-1800I20201013-1800I20201012-1800I20201012-0750I20201011-1800I20201010-1800I20201009-1800I20201009-0800
Change-Id: I6ebb97a0eb4550f8be3382044c8e882f3c27f089
Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
-rw-r--r-- | org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/ui/BuilderPropertyPage.java | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/ui/BuilderPropertyPage.java b/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/ui/BuilderPropertyPage.java index 439b641f3..2bee78fc2 100644 --- a/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/ui/BuilderPropertyPage.java +++ b/org.eclipse.ui.externaltools/External Tools Base/org/eclipse/ui/externaltools/internal/ui/BuilderPropertyPage.java @@ -939,9 +939,7 @@ public final class BuilderPropertyPage extends PropertyPage implements ICheckSta IProgressService service= PlatformUI.getWorkbench().getProgressService(); try { service.busyCursorWhile(runnable); - } catch (InvocationTargetException e) { - return false; - } catch (InterruptedException e) { + } catch (InvocationTargetException | InterruptedException e) { return false; } return super.performOk(); |