commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dam...@apache.org
Subject svn commit: r1443072 - in /commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging: formats/tiff/TiffField.java util/DebugInputStream.java util/DebugOutputStream.java
Date Wed, 06 Feb 2013 17:11:41 GMT
Author: damjan
Date: Wed Feb  6 17:11:40 2013
New Revision: 1443072

URL: http://svn.apache.org/viewvc?rev=1443072&view=rev
Log:
Delete unused classes. Add some Javadocs.

Removed:
    commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/util/DebugInputStream.java
    commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/util/DebugOutputStream.java
Modified:
    commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/TiffField.java

Modified: commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/TiffField.java
URL: http://svn.apache.org/viewvc/commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/TiffField.java?rev=1443072&r1=1443071&r2=1443072&view=diff
==============================================================================
--- commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/TiffField.java
(original)
+++ commons/proper/imaging/trunk/src/main/java/org/apache/commons/imaging/formats/tiff/TiffField.java
Wed Feb  6 17:11:40 2013
@@ -37,19 +37,27 @@ import org.apache.commons.imaging.format
 import org.apache.commons.imaging.formats.tiff.fieldtypes.FieldType;
 import org.apache.commons.imaging.formats.tiff.taginfos.TagInfo;
 
+/**
+ * A TIFF field in a TIFF directory. 
+ */
 public class TiffField implements TiffConstants {
     public final TagInfo tagInfo;
     public final FieldType fieldType;
 
+    /// The tag, bytes 0-1.
     public final int tag;
     public final int directoryType;
+    /// The type, bytes 2-3.
     public final int type;
+    /// The count, bytes 4-7.
     public final int length;
+    /// The value offset, bytes 8-11, containing either the value, or its offset in the file.
     public final int valueOffset;
     public final byte valueOffsetBytes[];
 
     public byte oversizeValue[] = null;
     public final ByteOrder byteOrder;
+    private int sortHint = -1;
 
     public TiffField(final int tag, final int directoryType, final int type, final int Length,
             final int ValueOffset, final byte ValueOffsetBytes[], final ByteOrder byteOrder)
{
@@ -66,8 +74,6 @@ public class TiffField implements TiffCo
         tagInfo = getTag(directoryType, tag);
     }
 
-    private int sortHint = -1;
-
     public boolean isLocalValue() {
         return fieldType.isLocalValue(this);
     }



Mime
View raw message