You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ofbiz.apache.org by mr...@apache.org on 2011/03/05 15:12:44 UTC

svn commit: r1078289 - /ofbiz/trunk/framework/birt/src/org/ofbiz/birt/report/service/OFBizBirtViewerReportService.java

Author: mrisaliti
Date: Sat Mar  5 14:12:43 2011
New Revision: 1078289

URL: http://svn.apache.org/viewvc?rev=1078289&view=rev
Log:
Suppress some warning due to current Birt API in OFBizBirtViewerReportService (OFBIZ-4102)

Modified:
    ofbiz/trunk/framework/birt/src/org/ofbiz/birt/report/service/OFBizBirtViewerReportService.java

Modified: ofbiz/trunk/framework/birt/src/org/ofbiz/birt/report/service/OFBizBirtViewerReportService.java
URL: http://svn.apache.org/viewvc/ofbiz/trunk/framework/birt/src/org/ofbiz/birt/report/service/OFBizBirtViewerReportService.java?rev=1078289&r1=1078288&r2=1078289&view=diff
==============================================================================
--- ofbiz/trunk/framework/birt/src/org/ofbiz/birt/report/service/OFBizBirtViewerReportService.java (original)
+++ ofbiz/trunk/framework/birt/src/org/ofbiz/birt/report/service/OFBizBirtViewerReportService.java Sat Mar  5 14:12:43 2011
@@ -50,6 +50,7 @@ import org.ofbiz.base.util.Debug;
 import org.ofbiz.base.util.UtilGenerics;
 import org.ofbiz.birt.container.BirtContainer;
 
+@SuppressWarnings("deprecation")
 public class OFBizBirtViewerReportService extends BirtViewerReportService {
 
     public final static String module = OFBizBirtViewerReportService.class.getName();
@@ -58,6 +59,7 @@ public class OFBizBirtViewerReportServic
         super(servletContext);
     }
 
+    @SuppressWarnings("unchecked")
     @Override
     public String runReport(IViewerReportDesignHandle design, String outputDocName, InputOptions runOptions, Map parameters,
             Map displayTexts, List<Exception> errorList) throws ReportServiceException {
@@ -132,6 +134,7 @@ public class OFBizBirtViewerReportServic
      * @return list of exceptions which occured during the run or null
      * @throws RemoteException
      */
+    @SuppressWarnings("unchecked")
     public List<Exception> runReport(HttpServletRequest request,
             IReportRunnable runnable, String documentName, Locale locale,
             TimeZone timeZone, Map parameters, Map displayTexts, Integer maxRows)
@@ -212,6 +215,7 @@ public class OFBizBirtViewerReportServic
      *      java.lang.String, org.eclipse.birt.report.service.api.InputOptions,
      *      java.util.Map, java.io.OutputStream, java.util.List, java.util.Map)
      */
+    @SuppressWarnings("unchecked")
     @Override
     public void runAndRenderReport(IViewerReportDesignHandle design,
             String outputDocName, InputOptions options, Map parameters,