From c199b76d882619bf9c4169631bc265e5bd2ca7fe Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Fri, 5 Dec 2014 11:03:50 +0200 Subject: java: remove some unused local variables Change-Id: Ia01528460e2f4b610d123e29cad66520abc6a965 --- reportbuilder/java/org/libreoffice/report/pentaho/PentahoReportJob.java | 1 - .../libreoffice/report/pentaho/output/OfficeDocumentReportTarget.java | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'reportbuilder/java') diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/PentahoReportJob.java b/reportbuilder/java/org/libreoffice/report/pentaho/PentahoReportJob.java index a0547946b4b2..fba3625785a5 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/PentahoReportJob.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/PentahoReportJob.java @@ -135,7 +135,6 @@ public class PentahoReportJob implements ReportJob this.masterValues = (ArrayList) jobProperties.getProperty(ReportEngineParameterNames.INPUT_MASTER_VALUES); this.detailColumns = (ArrayList) jobProperties.getProperty(ReportEngineParameterNames.INPUT_DETAIL_COLUMNS); - Integer maxRows=(Integer) jobProperties.getProperty(ReportEngineParameterNames.MAXROWS); this.resourceManager = new ResourceManager(); this.resourceManager.registerDefaults(); diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/output/OfficeDocumentReportTarget.java b/reportbuilder/java/org/libreoffice/report/pentaho/output/OfficeDocumentReportTarget.java index 9c579e84df18..9f07ace82656 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/output/OfficeDocumentReportTarget.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/output/OfficeDocumentReportTarget.java @@ -1037,7 +1037,7 @@ public abstract class OfficeDocumentReportTarget extends AbstractReportTarget DocumentBuilder dBuilder = dbFactory.newDocumentBuilder(); Document document = dBuilder.parse(new InputSource(inputStream)); - NodeList nl = document.getElementsByTagName("document-meta/meta/generator"); + document.getElementsByTagName("document-meta/meta/generator"); Node node = document.getFirstChild().getFirstChild().getFirstChild().getFirstChild(); String creator = node.getNodeValue(); node.setNodeValue(creator + "/report_builder"); -- cgit v1.2.3