From c441268085bd6b7369645469834fc109605ca414 Mon Sep 17 00:00:00 2001 From: Alexander Fedorov Date: Sat, 28 Sep 2024 14:03:56 +0300 Subject: [PATCH] Update ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/plugin/ExportPackageVisibilitySection.java formatting change Co-authored-by: Hannes Wellmann --- .../ui/editor/plugin/ExportPackageVisibilitySection.java | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/plugin/ExportPackageVisibilitySection.java b/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/plugin/ExportPackageVisibilitySection.java index 403598212a..f6924f51d1 100644 --- a/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/plugin/ExportPackageVisibilitySection.java +++ b/ui/org.eclipse.pde.ui/src/org/eclipse/pde/internal/ui/editor/plugin/ExportPackageVisibilitySection.java @@ -382,10 +382,8 @@ private void update(ExportPackageObject[] objects) { } private String description(ExportPackageObject[] packages) { - return Arrays.stream(packages)// - .filter(Objects::nonNull)// - .map(ExportPackageObject::getName) - .collect(Collectors.joining(", ")); //$NON-NLS-1$ + return Arrays.stream(packages).filter(Objects::nonNull).map(ExportPackageObject::getName) + .collect(Collectors.joining(", ")); //$NON-NLS-1$ } private BundleInputContext getBundleContext() {