Author: grobmeier
Date: Mon Apr 27 17:22:52 2009
New Revision: 769062

URL: http://svn.apache.org/viewvc?rev=769062&view=rev
Log:
fixed codeflow

Modified:
    
commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/AbstractUnicodeExtraField.java

Modified: 
commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/AbstractUnicodeExtraField.java
URL: 
http://svn.apache.org/viewvc/commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/AbstractUnicodeExtraField.java?rev=769062&r1=769061&r2=769062&view=diff
==============================================================================
--- 
commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/AbstractUnicodeExtraField.java
 (original)
+++ 
commons/proper/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/AbstractUnicodeExtraField.java
 Mon Apr 27 17:22:52 2009
@@ -46,8 +46,7 @@
      * @param len The length of the encoded filename or commentin
      * <code>bytes</code>.
      */
-    protected AbstractUnicodeExtraField(String text, byte[] bytes, int off,
-                                        int len) {
+    protected AbstractUnicodeExtraField(String text, byte[] bytes, int off, 
int len) {
         CRC32 crc32 = new CRC32();
         crc32.update(bytes, off, len);
         nameCRC32 = crc32.getValue();
@@ -55,8 +54,7 @@
         try {
             unicodeName = text.getBytes("UTF-8");
         } catch (UnsupportedEncodingException e) {
-            throw new RuntimeException("FATAL: UTF-8 encoding not supported.",
-                                       e);
+            throw new RuntimeException("FATAL: UTF-8 encoding not supported.", 
e);
         }
     }
 
@@ -69,7 +67,6 @@
      * file.
      */
     protected AbstractUnicodeExtraField(String text, byte[] bytes) {
-
         this(text, bytes, 0, bytes.length);
     }
 
@@ -143,8 +140,7 @@
         throws ZipException {
 
         if (length < 5) {
-            throw new ZipException("UniCode path extra data must have at least"
-                                   + " 5 bytes.");
+            throw new ZipException("UniCode path extra data must have at least 
5 bytes.");
         }
 
         int version = buffer[offset];


Reply via email to