Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordonald.g.dunne2018-05-29 11:36:05 -0400
committerdonald.g.dunne2018-05-29 11:37:22 -0400
commite99584fedb1b4cd358686213e11aaec73f609988 (patch)
tree49d27ae2b056b68fa8ca8b2aad98c19cffbcf4ec
parent1498783a198690f4c15b8c5914c5fd3c24433ebf (diff)
downloadorg.eclipse.osee-e99584fedb1b4cd358686213e11aaec73f609988.tar.gz
org.eclipse.osee-e99584fedb1b4cd358686213e11aaec73f609988.tar.xz
org.eclipse.osee-e99584fedb1b4cd358686213e11aaec73f609988.zip
refinement: Reduce logging in ExportChangeReportOperation
-rw-r--r--plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/operation/ExportChangeReportOperation.java7
1 files changed, 5 insertions, 2 deletions
diff --git a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/operation/ExportChangeReportOperation.java b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/operation/ExportChangeReportOperation.java
index c51a7dc3d6..54154df3ec 100644
--- a/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/operation/ExportChangeReportOperation.java
+++ b/plugins/org.eclipse.osee.ats/src/org/eclipse/osee/ats/operation/ExportChangeReportOperation.java
@@ -64,6 +64,7 @@ public final class ExportChangeReportOperation extends AbstractOperation {
private final boolean writeChangeReports;
private final IArtifactType[] DISALLOW_TYPES = {CoreArtifactTypes.ImplementationDetails};
private final String overrideDataRightsClassification;
+ boolean debug = false;
public ExportChangeReportOperation(List<TeamWorkFlowArtifact> workflows, boolean reverse, boolean writeChangeReports, String overrideDataRightsClassification, Appendable resultFolder, OperationLogger logger) {
super("Exporting Change Report(s)", Activator.PLUGIN_ID, logger);
@@ -118,8 +119,10 @@ public final class ExportChangeReportOperation extends AbstractOperation {
DISALLOW_TYPES) || !artifactType.inheritsFrom(ExportChangeReportUtil.ARTIFACT_ALLOW_TYPES)) {
it.remove();
artIds.remove(endArtifact.getArtId());
- logf("skipping: [" + endArtifact.getName().replaceAll("%",
- "%%") + "] type: [" + endArtifact.getArtifactTypeName() + "] branch: [" + endArtifact.getBranch().getIdString() + "] artId: [" + endArtifact.getArtId() + "]");
+ if (debug) {
+ logf("skipping: [" + endArtifact.getName().replaceAll("%",
+ "%%") + "] type: [" + endArtifact.getArtifactTypeName() + "] branch: [" + endArtifact.getBranch().getIdString() + "] artId: [" + endArtifact.getArtId() + "]");
+ }
skippedTypes.add(endArtifact.getArtifactTypeName());
}
}

Back to the top