commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bode...@apache.org
Subject svn commit: r749344 - in /commons/sandbox/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip: Simple8BitZipEncoding.java Simple8BitZipEnoding.java ZipEncodingHelper.java
Date Mon, 02 Mar 2009 16:21:30 GMT
Author: bodewig
Date: Mon Mar  2 16:21:30 2009
New Revision: 749344

URL: http://svn.apache.org/viewvc?rev=749344&view=rev
Log:
typo in class name

Added:
    commons/sandbox/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/Simple8BitZipEncoding.java
  (contents, props changed)
      - copied, changed from r749342, commons/sandbox/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/Simple8BitZipEnoding.java
Removed:
    commons/sandbox/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/Simple8BitZipEnoding.java
Modified:
    commons/sandbox/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/ZipEncodingHelper.java

Copied: commons/sandbox/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/Simple8BitZipEncoding.java
(from r749342, commons/sandbox/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/Simple8BitZipEnoding.java)
URL: http://svn.apache.org/viewvc/commons/sandbox/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/Simple8BitZipEncoding.java?p2=commons/sandbox/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/Simple8BitZipEncoding.java&p1=commons/sandbox/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/Simple8BitZipEnoding.java&r1=749342&r2=749344&rev=749344&view=diff
==============================================================================
--- commons/sandbox/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/Simple8BitZipEnoding.java
(original)
+++ commons/sandbox/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/Simple8BitZipEncoding.java
Mon Mar  2 16:21:30 2009
@@ -44,7 +44,7 @@
  * 
  * <p>The methods of this class are reentrant.</p>
  */
-class Simple8BitZipEnoding implements ZipEncoding {
+class Simple8BitZipEncoding implements ZipEncoding {
 
     /**
      * A character entity, which is put to the reverse mapping table
@@ -88,7 +88,7 @@
      * @param highChars The characters for byte values of 128 to 255
      * stored as an array of 128 chars.
      */
-    public Simple8BitZipEnoding(char[] highChars) {
+    public Simple8BitZipEncoding(char[] highChars) {
         this.highChars = highChars;
         this.reverseMapping = new ArrayList(this.highChars.length);
 

Propchange: commons/sandbox/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/Simple8BitZipEncoding.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: commons/sandbox/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/Simple8BitZipEncoding.java
------------------------------------------------------------------------------
    svn:mergeinfo = 

Modified: commons/sandbox/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/ZipEncodingHelper.java
URL: http://svn.apache.org/viewvc/commons/sandbox/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/ZipEncodingHelper.java?rev=749344&r1=749343&r2=749344&view=diff
==============================================================================
--- commons/sandbox/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/ZipEncodingHelper.java
(original)
+++ commons/sandbox/compress/trunk/src/main/java/org/apache/commons/compress/archivers/zip/ZipEncodingHelper.java
Mon Mar  2 16:21:30 2009
@@ -31,20 +31,20 @@
 
     /**
      * A class, which holds the high characters of a simple encoding
-     * and lazily instantiates a Simple8BitZipEnoding instance in a
+     * and lazily instantiates a Simple8BitZipEncoding instance in a
      * thread-safe manner.
      */
     private static class SimpleEncodingHolder {
 
         private final char [] highChars;
-        private Simple8BitZipEnoding encoding;
+        private Simple8BitZipEncoding encoding;
 
         /**
          * Instantiate a simple encoding holder.
          * 
          * @param highChars The characters for byte codes 128 to 255.
          * 
-         * @see Simple8BitZipEnoding#Simple8BitZipEnoding(char[])
+         * @see Simple8BitZipEncoding#Simple8BitZipEncoding(char[])
          */
         SimpleEncodingHolder(char [] highChars) {
             this.highChars = highChars;
@@ -54,9 +54,9 @@
          * @return The associated {@see Simple8BitZipEncoding}, which
          *         is instantiated if not done so far.
          */
-        public synchronized Simple8BitZipEnoding getEncoding() {
+        public synchronized Simple8BitZipEncoding getEncoding() {
             if (this.encoding == null) {
-                this.encoding = new Simple8BitZipEnoding(this.highChars);
+                this.encoding = new Simple8BitZipEncoding(this.highChars);
             }
             return this.encoding;
         }



Mime
View raw message