Removes unnecessary brackets around lambdas
Change-Id: I5fea479c8f7bcea9a6391ceb75c9b3dbd2e62635
Signed-off-by: Lars Vogel <Lars.Vogel@vogella.com>
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/about/AboutBundleData.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/about/AboutBundleData.java
index ba5a4c4..cbe1abf 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/about/AboutBundleData.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/about/AboutBundleData.java
@@ -113,7 +113,7 @@
*/
public SignedContent getSignedContent() throws IllegalStateException {
final SignedContent[] result = new SignedContent[1];
- ServiceCaller.callOnce(getClass(), SignedContentFactory.class, (contentFactory) -> {
+ ServiceCaller.callOnce(getClass(), SignedContentFactory.class, contentFactory -> {
try {
result[0] = contentFactory.getSignedContent(bundle);
} catch (IOException | GeneralSecurityException e) {
diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/about/ConfigurationLogDefaultSection.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/about/ConfigurationLogDefaultSection.java
index 3370acc..2a90949 100644
--- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/about/ConfigurationLogDefaultSection.java
+++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/about/ConfigurationLogDefaultSection.java
@@ -56,7 +56,7 @@
try {
if (!ServiceCaller.callOnce(getClass(), ISystemInformation.class,
AboutSections.createSectionFilter(section),
- (systemInformation) -> systemInformation.append(writer))) {
+ systemInformation -> systemInformation.append(writer))) {
throw new IllegalStateException();
}
} catch (Exception e) {