struts-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mr...@apache.org
Subject svn commit: r615204 - /struts/struts2/trunk/plugins/jasperreports/src/main/java/org/apache/struts2/views/jasperreports/JasperReportsResult.java
Date Fri, 25 Jan 2008 12:30:28 GMT
Author: mrdon
Date: Fri Jan 25 04:30:27 2008
New Revision: 615204

URL: http://svn.apache.org/viewvc?rev=615204&view=rev
Log:
Fixing setters to return void (stupid ognl)
WW-2324

Modified:
    struts/struts2/trunk/plugins/jasperreports/src/main/java/org/apache/struts2/views/jasperreports/JasperReportsResult.java

Modified: struts/struts2/trunk/plugins/jasperreports/src/main/java/org/apache/struts2/views/jasperreports/JasperReportsResult.java
URL: http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/jasperreports/src/main/java/org/apache/struts2/views/jasperreports/JasperReportsResult.java?rev=615204&r1=615203&r2=615204&view=diff
==============================================================================
--- struts/struts2/trunk/plugins/jasperreports/src/main/java/org/apache/struts2/views/jasperreports/JasperReportsResult.java
(original)
+++ struts/struts2/trunk/plugins/jasperreports/src/main/java/org/apache/struts2/views/jasperreports/JasperReportsResult.java
Fri Jan 25 04:30:27 2008
@@ -151,34 +151,28 @@
         return imageServletUrl;
     }
 
-    public JasperReportsResult setImageServletUrl(final String imageServletUrl) {
+    public void setImageServletUrl(final String imageServletUrl) {
         this.imageServletUrl = imageServletUrl;
-        return this;
     }
 
-    public JasperReportsResult setDataSource(String dataSource) {
+    public void setDataSource(String dataSource) {
         this.dataSource = dataSource;
-        return this;
     }
 
-    public JasperReportsResult setFormat(String format) {
+    public void setFormat(String format) {
         this.format = format;
-        return this;
     }
 
-    public JasperReportsResult setDocumentName(String documentName) {
+    public void setDocumentName(String documentName) {
         this.documentName = documentName;
-        return this;
     }
 
-    public JasperReportsResult setContentDisposition(String contentDisposition) {
+    public void setContentDisposition(String contentDisposition) {
         this.contentDisposition = contentDisposition;
-        return this;
     }
 
-    public JasperReportsResult setDelimiter(String delimiter) {
+    public void setDelimiter(String delimiter) {
         this.delimiter = delimiter;
-        return this;
     }
 
     protected void doExecute(String finalLocation, ActionInvocation invocation) throws Exception
{



Mime
View raw message