You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2023/07/04 19:21:35 UTC

[commons-imaging] 11/33: Use Java camel-case naming conventions

This is an automated email from the ASF dual-hosted git repository.

ggregory pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/commons-imaging.git

commit 59234d03b4c4eb10060e8214792b393328a3a478
Author: Gary Gregory <ga...@gmail.com>
AuthorDate: Tue Jul 4 14:56:03 2023 -0400

    Use Java camel-case naming conventions
---
 .../apache/commons/imaging/formats/jpeg/exif/ExifRewriter.java    | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/main/java/org/apache/commons/imaging/formats/jpeg/exif/ExifRewriter.java b/src/main/java/org/apache/commons/imaging/formats/jpeg/exif/ExifRewriter.java
index fcaab153..60bd2d20 100644
--- a/src/main/java/org/apache/commons/imaging/formats/jpeg/exif/ExifRewriter.java
+++ b/src/main/java/org/apache/commons/imaging/formats/jpeg/exif/ExifRewriter.java
@@ -132,7 +132,7 @@ public class ExifRewriter extends BinaryFileParser {
         super(byteOrder);
     }
 
-    private JFIFPieces analyzeJFIF(final ByteSource byteSource) throws ImagingException, IOException {
+    private JFIFPieces analyzeJfif(final ByteSource byteSource) throws ImagingException, IOException {
         final List<JFIFPiece> pieces = new ArrayList<>();
         final List<JFIFPiece> exifPieces = new ArrayList<>();
 
@@ -220,7 +220,7 @@ public class ExifRewriter extends BinaryFileParser {
      */
     public void removeExifMetadata(final ByteSource byteSource, final OutputStream os)
             throws ImagingException, IOException, ImagingException {
-        final JFIFPieces jfifPieces = analyzeJFIF(byteSource);
+        final JFIFPieces jfifPieces = analyzeJfif(byteSource);
         final List<JFIFPiece> pieces = jfifPieces.pieces;
 
         // Debug.debug("pieces", pieces);
@@ -327,7 +327,7 @@ public class ExifRewriter extends BinaryFileParser {
             final OutputStream os, final TiffOutputSet outputSet)
             throws ImagingException, IOException, ImagingException {
         // List outputDirectories = outputSet.getDirectories();
-        final JFIFPieces jfifPieces = analyzeJFIF(byteSource);
+        final JFIFPieces jfifPieces = analyzeJfif(byteSource);
         final List<JFIFPiece> pieces = jfifPieces.pieces;
 
         TiffImageWriterBase writer;
@@ -453,7 +453,7 @@ public class ExifRewriter extends BinaryFileParser {
     public void updateExifMetadataLossy(final ByteSource byteSource, final OutputStream os,
             final TiffOutputSet outputSet) throws ImagingException, IOException,
             ImagingException {
-        final JFIFPieces jfifPieces = analyzeJFIF(byteSource);
+        final JFIFPieces jfifPieces = analyzeJfif(byteSource);
         final List<JFIFPiece> pieces = jfifPieces.pieces;
 
         final TiffImageWriterBase writer = new TiffImageWriterLossy(