[jsword-svn] jsword-web/java/main/org/crosswire/jsword/view/web s

jswordcvs at crosswire.org jswordcvs at crosswire.org
Sun Nov 7 15:00:11 MST 2004


Update of /cvs/jsword/jsword-web/java/main/org/crosswire/jsword/view/web
In directory www.crosswire.org:/tmp/cvs-serv10314/java/main/org/crosswire/jsword/view/web

Modified Files:
	DownloadSet.java DemoServlet.java 
Log Message:
various tidyups from trying intelij

Index: DemoServlet.java
===================================================================
RCS file: /cvs/jsword/jsword-web/java/main/org/crosswire/jsword/view/web/DemoServlet.java,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** DemoServlet.java	9 Oct 2004 21:45:31 -0000	1.6
--- DemoServlet.java	7 Nov 2004 22:00:09 -0000	1.7
***************
*** 49,56 ****
  public class DemoServlet extends HttpServlet
  {
-     private static final String FIELD_VIEW = "view"; //$NON-NLS-1$
-     private static final String FIELD_MATCH = "match"; //$NON-NLS-1$
-     private static final String FIELD_SEARCH = "search"; //$NON-NLS-1$
- 
      /**
       * @see javax.servlet.Servlet#init(ServletConfig)
--- 49,52 ----
***************
*** 153,159 ****
--- 149,164 ----
      private SimpleWebConverter style = new SimpleWebConverter();
  
+     private static final String FIELD_VIEW = "view"; //$NON-NLS-1$
+     private static final String FIELD_MATCH = "match"; //$NON-NLS-1$
+     private static final String FIELD_SEARCH = "search"; //$NON-NLS-1$
+ 
      /**
       * The log stream
       */
      private static final Logger log = Logger.getLogger(DemoServlet.class);
+ 
+     /**
+      * Serialization ID
+      */
+     private static final long serialVersionUID = 3257006549032777012L;
  }

Index: DownloadSet.java
===================================================================
RCS file: /cvs/jsword/jsword-web/java/main/org/crosswire/jsword/view/web/DownloadSet.java,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** DownloadSet.java	16 Aug 2004 22:08:58 -0000	1.3
--- DownloadSet.java	7 Nov 2004 22:00:09 -0000	1.4
***************
*** 16,20 ****
  /**
   * A helper for the download.jsp page.
!  * 
   * <p><table border='1' cellPadding='3' cellSpacing='0'>
   * <tr><td bgColor='white' class='TableRowColor'><font size='-7'>
--- 16,20 ----
  /**
   * A helper for the download.jsp page.
!  *
   * <p><table border='1' cellPadding='3' cellSpacing='0'>
   * <tr><td bgColor='white' class='TableRowColor'><font size='-7'>
***************
*** 154,159 ****
      {
          File file = new File(localprefix, TEST_PREFIX + setname + extension);
!         String size = NF.format(file.length() / (1024F * 1024F));
!         String reply = "<a href='" + webprefix + "/" + TEST_PREFIX + setname + extension + "'>" + size + " Mb</a>"; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$
  
          log.debug("link=" + reply); //$NON-NLS-1$
--- 154,159 ----
      {
          File file = new File(localprefix, TEST_PREFIX + setname + extension);
!         String size = NF.format(file.length() / (1024.0F * 1024.0F));
!         String reply = "<a href='" + webprefix + '/' + TEST_PREFIX + setname + extension + "'>" + size + " Mb</a>"; //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$
  
          log.debug("link=" + reply); //$NON-NLS-1$



More information about the jsword-svn mailing list