From b786facb37247a00e58bff754989c25baca3edec Mon Sep 17 00:00:00 2001 From: Pavel Bezliapovich Date: Wed, 4 Dec 2024 10:36:01 +0100 Subject: [PATCH] chore: fixed sonar issues Refs: #285 --- .../extension/pdf_exporter/util/DocumentDataHelper.java | 4 ---- .../pdf_exporter/widgets/BulkPdfExportWidgetRenderer.java | 1 - 2 files changed, 5 deletions(-) diff --git a/src/main/java/ch/sbb/polarion/extension/pdf_exporter/util/DocumentDataHelper.java b/src/main/java/ch/sbb/polarion/extension/pdf_exporter/util/DocumentDataHelper.java index ac808e0..eb712bf 100644 --- a/src/main/java/ch/sbb/polarion/extension/pdf_exporter/util/DocumentDataHelper.java +++ b/src/main/java/ch/sbb/polarion/extension/pdf_exporter/util/DocumentDataHelper.java @@ -1,6 +1,5 @@ package ch.sbb.polarion.extension.pdf_exporter.util; -import ch.sbb.polarion.extension.generic.util.ObjectUtils; import ch.sbb.polarion.extension.pdf_exporter.rest.model.DocumentData; import ch.sbb.polarion.extension.pdf_exporter.rest.model.conversion.DocumentType; import ch.sbb.polarion.extension.pdf_exporter.rest.model.conversion.ExportParams; @@ -10,7 +9,6 @@ import com.polarion.alm.projects.model.IProject; import com.polarion.alm.projects.model.IUniqueObject; import com.polarion.alm.server.api.model.document.ProxyDocument; -import com.polarion.alm.shared.api.model.baselinecollection.BaselineCollectionReference; import com.polarion.alm.shared.api.model.document.Document; import com.polarion.alm.shared.api.model.document.DocumentReference; import com.polarion.alm.shared.api.model.rp.RichPage; @@ -33,8 +31,6 @@ import com.polarion.alm.tracker.model.ITestRun; import com.polarion.alm.tracker.model.ITrackerProject; import com.polarion.alm.tracker.model.IWikiPage; -import com.polarion.alm.tracker.model.baselinecollection.IBaselineCollection; -import com.polarion.alm.tracker.model.baselinecollection.internal.BaselineCollection; import com.polarion.alm.tracker.model.ipi.IInternalBaselinesManager; import com.polarion.platform.persistence.model.IPObject; import com.polarion.subterra.base.location.ILocation; diff --git a/src/main/java/ch/sbb/polarion/extension/pdf_exporter/widgets/BulkPdfExportWidgetRenderer.java b/src/main/java/ch/sbb/polarion/extension/pdf_exporter/widgets/BulkPdfExportWidgetRenderer.java index 39736c4..c6067c8 100644 --- a/src/main/java/ch/sbb/polarion/extension/pdf_exporter/widgets/BulkPdfExportWidgetRenderer.java +++ b/src/main/java/ch/sbb/polarion/extension/pdf_exporter/widgets/BulkPdfExportWidgetRenderer.java @@ -26,7 +26,6 @@ import java.util.Iterator; import java.util.List; -import java.util.stream.Collectors; public class BulkPdfExportWidgetRenderer extends AbstractWidgetRenderer { @NotNull