[jobexftp~subversion:29] removed .trim() into downloadFile(), it removes last \n char from content

  • From: MrPatol@kenai.com
  • To: commits@jobexftp.kenai.com
  • Subject: [jobexftp~subversion:29] removed .trim() into downloadFile(), it removes last \n char from content
  • Date: Tue, 26 Jan 2010 17:18:09 +0000

Project:    jobexftp
Repository: subversion
Revision:   29
Author:     MrPatol
Date:       2010-01-26 17:17:59 UTC
Link:       

Log Message:
------------
removed .trim() into downloadFile(), it removes last \n char from content.


Revisions:
----------
29


Modified Paths:
---------------
JObexFTP/src/org/lhf/obexftp/JObexFTP.java


Diffs:
------
Index: JObexFTP/src/org/lhf/obexftp/JObexFTP.java
===================================================================
--- JObexFTP/src/org/lhf/obexftp/JObexFTP.java  (revision 28)
+++ JObexFTP/src/org/lhf/obexftp/JObexFTP.java  (revision 29)
@@ -185,7 +185,7 @@
         FileOutputStream f = null;
         String content = "";
         try {
-            content = obexComm.getFile(path).trim();
+            content = obexComm.getFile(path);
         } catch (OBEXException ex) {
             System.out.println("### Error: " + ex.getMessage());
         }





[jobexftp~subversion:29] removed .trim() into downloadFile(), it removes last \n char from content

MrPatol 01/26/2010
  • Mysql
  • Glassfish
  • Jruby
  • Rails
  • Nblogo
Terms of Use; Privacy Policy;
© 2010, Oracle Corporation and/or its affiliates
(revision 20120518.3c65429)
 
 
Close
loading
Please Confirm
Close