Revision: 3111
          http://vexi.svn.sourceforge.net/vexi/?rev=3111&view=rev
Author:   mkpg2
Date:     2008-09-24 16:29:16 +0000 (Wed, 24 Sep 2008)

Log Message:
-----------
Eliminating compiler warnings.

Modified Paths:
--------------
    trunk/core/org.ibex.util/src/org/ibex/util/Tar.java
    trunk/core/org.ibex.util/src/org/ibex/util/XML.java

Modified: trunk/core/org.ibex.util/src/org/ibex/util/Tar.java
===================================================================
--- trunk/core/org.ibex.util/src/org/ibex/util/Tar.java 2008-09-24 16:28:58 UTC 
(rev 3110)
+++ trunk/core/org.ibex.util/src/org/ibex/util/Tar.java 2008-09-24 16:29:16 UTC 
(rev 3111)
@@ -739,28 +739,28 @@
         * @return The temporary file's path.
         */
 
-       private String
-       getTempFilePath( File eFile )
-               {
-               String pathStr =
-                       this.tempPath + File.separator
-                               + eFile.getName() + ".tmp";
+//     private String
+//     getTempFilePath( File eFile )
+//             {
+//             String pathStr =
+//                     this.tempPath + File.separator
+//                             + eFile.getName() + ".tmp";
+//
+//             for ( int i = 1 ; i < 5 ; ++i )
+//                     {
+//                     File f = new File( pathStr );
+//
+//                     if ( ! f.exists() )
+//                             break;
+//
+//                     pathStr =
+//                             this.tempPath + File.separator
+//                                     + eFile.getName() + "-" + i + ".tmp";
+//                     }
+//
+//             return pathStr;
+//             }
 
-               for ( int i = 1 ; i < 5 ; ++i )
-                       {
-                       File f = new File( pathStr );
-
-                       if ( ! f.exists() )
-                               break;
-
-                       pathStr =
-                               this.tempPath + File.separator
-                                       + eFile.getName() + "-" + i + ".tmp";
-                       }
-
-               return pathStr;
-               }
-
        /**
         * Close the archive. This simply calls the underlying
         * tar stream's close() method.

Modified: trunk/core/org.ibex.util/src/org/ibex/util/XML.java
===================================================================
--- trunk/core/org.ibex.util/src/org/ibex/util/XML.java 2008-09-24 16:28:58 UTC 
(rev 3110)
+++ trunk/core/org.ibex.util/src/org/ibex/util/XML.java 2008-09-24 16:29:16 UTC 
(rev 3111)
@@ -1255,12 +1255,12 @@
     }
 
     /** Char - XML Specification 1.0 [2] */
-    private static final boolean Char(char c) {
+    /*private static final boolean Char(char c) {
         // u000A == r and u000D == n, but the javac compiler can't handle the 
\ u form
         return c == '\u0009' || c == '\r' || c == '\n'
             || (c >= '\u0020' && c <= '\uD7FF')
             || (c >= '\uE000' && c <= '\uFFFD');
-    }
+    }*/
 
     /** BaseChar - XML Specification 1.0 [85] */
     private static final boolean BaseChar(char c) {


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Vexi-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/vexi-svn

Reply via email to