Board: GTL QA

Subject

CVS: gtl/src/org/paneris/gtl/controller Download.java,1.4,1.5 FileTransfer.java,1.13,1.14

Author

TimP (CVS User)

Status

Date

24/06/2003 01:52

Message

Update of /usr/cvsroot/gtl/src/org/paneris/gtl/controller
In directory ganesh.paneris.org:/tmp/cvs-serv16207
Modified Files:
Download.java FileTransfer.java
Log Message:
Javadoc and tidy
Index: Download.java
===================================================================
RCS file: /usr/cvsroot/gtl/src/org/paneris/gtl/controller/Download.java,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** Download.java 2003/06/19 08:55:22 1.4
--- Download.java 2003/06/24 00:52:05 1.5
***************
*** 62,65 ****
--- 62,70 ----
* Override PoemServlet's doConfiguredRequest so that only
* part of the work is done inside a database Session
+ *
+ * @param melatiIn the {@link Melati}
+ * @throws ServletException if the template engine fails to create a
+ * {@link TemplateContext}
+ * @throws IOException if something goeswrong with reading the file
*/
public void doConfiguredRequest (final Melati melatiIn) throws
***************
*** 143,159 ****
return file.getPath();
}
-
- // .51 -> .52 changes
-
- // protected void error(HttpServletResponse response, Exception e )
- // throws IOException {
- // super.error(response, e);
- // }
-
- // FIXME - this now public, is this correct?
- public void error(Melati melati, Exception e )
- throws IOException {
- super.error(melati, e);
- }

protected void _handleException1(Melati melati, Exception exception)
--- 148,151 ----
Index: FileTransfer.java
===================================================================
RCS file: /usr/cvsroot/gtl/src/org/paneris/gtl/controller/FileTransfer.java,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -r1.13 -r1.14
*** FileTransfer.java 2003/06/23 23:14:43 1.13
--- FileTransfer.java 2003/06/24 00:52:05 1.14
***************
*** 61,68 ****
import org.melati.poem.ValidationPoemException;
import org.melati.servlet.InvalidUsageException;
- import org.melati.servlet.MelatiContext;
import org.melati.servlet.MultipartFormField;
- import org.melati.servlet.PathInfoException;
- import org.melati.servlet.TemplateServlet;
import org.melati.template.TemplateContext;
import org.melati.template.TemplateEngine;
--- 61,65 ----
***************
*** 186,190 ****

/**
! * Work out which user account to use
*/
public User getAccount(Melati melati, TemplateContext context)
--- 183,192 ----

/**
! * Work out which user account to use.
! *
! * @param melati the {@link Melati}
! * @param context a {@link TemplateContext} to get field values from
! * @throws AccountNotSetException if the account is not set
! * @return a {@link User} of the system
*/
public User getAccount(Melati melati, TemplateContext context)

GTL QA Board

 

Post Follow-up

Search This Board

 



Home -  News -  Reference Sites -  Members -  Partners -  Guidelines -  Philosophy -  Your Details -  Logout