Skip to content

Commit

Permalink
Fix javadoc errors
Browse files Browse the repository at this point in the history
  • Loading branch information
johnsonlee committed Nov 16, 2017
1 parent 2d998a9 commit ce7bc5f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions src/main/java/com/android/gallery3d/exif/ExifInterface.java
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
* updated by: reading new ones from a file, deleting or adding existing ones,
* or building new ExifTags from a tag definition. These ExifTags can be written
* to a valid jpeg image as exif metadata.
* <p/>
* <p></p>
* Each ExifTag has a tag ID (TID) and is stored in a specific image file
* directory (IFD) as specified by the exif standard. A tag definition can be
* looked up with a constant that is a combination of TID and IFD. This
Expand Down Expand Up @@ -370,9 +370,9 @@ public static int getTrueIfd(int tag) {
* <li>TOP_RIGHT is a left-right mirror.</li>
* <li>BOTTOM_LEFT is a 180 degree rotation.</li>
* <li>BOTTOM_RIGHT is a top-bottom mirror.</li>
* <li>LEFT_TOP is mirrored about the top-left<->bottom-right axis.</li>
* <li>LEFT_TOP is mirrored about the top-left&lt;-&gt;bottom-right axis.</li>
* <li>RIGHT_TOP is a 90 degree clockwise rotation.</li>
* <li>LEFT_BOTTOM is mirrored about the top-right<->bottom-left axis.</li>
* <li>LEFT_BOTTOM is mirrored about the top-right&lt;-&gt;bottom-left axis.</li>
* <li>RIGHT_BOTTOM is a 270 degree clockwise rotation.</li>
* </ul>
*/
Expand Down Expand Up @@ -459,9 +459,9 @@ public static interface MeteringMode {
/**
* Constants for {@link TAG_FLASH} As the definition in Jeita EXIF 2.2
* standard, we can treat this constant as bitwise flag.
* <p/>
* <p></p>
* e.g.
* <p/>
* <p></p>
* short flash = FIRED | RETURN_STROBE_RETURN_LIGHT_DETECTED |
* MODE_AUTO_MODE
*/
Expand Down Expand Up @@ -1152,7 +1152,7 @@ public List<ExifTag> getTagsForTagId(short tagId) {

/**
* Returns a list of ExifTags that share an IFD (which can be obtained by
* calling {@link #getTrueIFD} on a defined tag constant) or null if none
* calling {@link #getTrueIfd(int)} on a defined tag constant) or null if none
* exist.
*
* @param ifdId an IFD as defined in the exif standard (or with
Expand Down Expand Up @@ -1466,7 +1466,7 @@ public short getDefinedTagType(int tagId) {
* Returns true if tag TID is one of the following: {@link TAG_EXIF_IFD},
* {@link TAG_GPS_IFD}, {@link TAG_JPEG_INTERCHANGE_FORMAT},
* {@link TAG_STRIP_OFFSETS}, {@link TAG_INTEROPERABILITY_IFD}
* <p/>
* <p></p>
* Note: defining tags with these TID's is disallowed.
*
* @param tag a tag's TID (can be obtained from a defined tag constant with
Expand Down
4 changes: 2 additions & 2 deletions src/main/java/com/android/gallery3d/exif/ExifTag.java
Original file line number Diff line number Diff line change
Expand Up @@ -835,7 +835,7 @@ protected void getBytes(byte[] buf) {
*
* @param buf the byte array in which to store the bytes read.
* @param offset the initial position in buffer to store the bytes.
* @param length the maximum number of bytes to store in buffer. If length >
* @param length the maximum number of bytes to store in buffer. If length &gt;
* component count, only the valid bytes will be stored.
* @throws IllegalArgumentException If the type is NOT
* {@link #TYPE_UNDEFINED} or {@link #TYPE_UNSIGNED_BYTE}.
Expand All @@ -850,7 +850,7 @@ protected void getBytes(byte[] buf, int offset, int length) {
}

/**
* Gets the offset of this tag. This is only valid if this data size > 4 and
* Gets the offset of this tag. This is only valid if this data size &gt; 4 and
* contains an offset to the location of the actual value.
*/
protected int getOffset() {
Expand Down

0 comments on commit ce7bc5f

Please sign in to comment.