From ed33d1d4928dc9886eaace62d3c62ea4305efdac Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Mon, 3 May 2021 09:59:08 +0200 Subject: clean up some Java warnings Change-Id: Id54e8fd6803c3a6c0d924338d1781679ed0b1bfd Reviewed-on: https://gerrit.libreoffice.org/c/core/+/115025 Tested-by: Jenkins Reviewed-by: Noel Grandin --- .../java/org/libreoffice/report/pentaho/SOReportJobFactory.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'reportbuilder') diff --git a/reportbuilder/java/org/libreoffice/report/pentaho/SOReportJobFactory.java b/reportbuilder/java/org/libreoffice/report/pentaho/SOReportJobFactory.java index 3c52473e3d3c..322c2ac1ccfa 100644 --- a/reportbuilder/java/org/libreoffice/report/pentaho/SOReportJobFactory.java +++ b/reportbuilder/java/org/libreoffice/report/pentaho/SOReportJobFactory.java @@ -205,7 +205,7 @@ public class SOReportJobFactory { if (exception instanceof ReportDataFactoryException == false) return; - exception = ((ReportDataFactoryException)exception).getParent(); + exception = ((ReportDataFactoryException)exception).getCause(); if (exception instanceof DataSourceException == false) return; exception = ((DataSourceException)exception).getCause(); -- cgit