You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by el...@apache.org on 2021/05/31 10:39:00 UTC

[maven-doxia] branch master updated: remove unused code

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

elharo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-doxia.git


The following commit(s) were added to refs/heads/master by this push:
     new 587212b  remove unused code
587212b is described below

commit 587212b0b43fca836532a397080ec6e3a433fc6f
Author: Elliotte Rusty Harold <el...@ibiblio.org>
AuthorDate: Sun May 30 16:14:43 2021 -0400

    remove unused code
---
 .../java/org/apache/maven/doxia/module/itext/ITextSink.java | 13 -------------
 .../apache/maven/doxia/module/itext/SinkActionContext.java  |  2 --
 2 files changed, 15 deletions(-)

diff --git a/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextSink.java b/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextSink.java
index 357d5e5..ead9b3b 100644
--- a/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextSink.java
+++ b/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/ITextSink.java
@@ -2002,19 +2002,6 @@ public class ITextSink
         return sb.toString().trim();
     }
 
-    private void startChunk( String fontName, int fontSize, String fontStyle, int fontColorBlue, int fontColorGreen,
-                             int fontColorRed, String localDestination )
-    {
-        writeStartElement( ElementTags.CHUNK );
-        writeAddAttribute( ElementTags.FONT, fontName );
-        writeAddAttribute( ElementTags.SIZE, fontSize );
-        writeAddAttribute( ElementTags.STYLE, fontStyle );
-        writeAddAttribute( ElementTags.BLUE, fontColorBlue );
-        writeAddAttribute( ElementTags.GREEN, fontColorGreen );
-        writeAddAttribute( ElementTags.RED, fontColorRed );
-//        writeAddAttribute( ElementTags.LOCALDESTINATION, localDestination );
-    }
-
     /**
      * If debug mode is enabled, log the <code>msg</code> as is, otherwise add unique msg in <code>warnMessages</code>.
      *
diff --git a/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/SinkActionContext.java b/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/SinkActionContext.java
index 4ae0228..6852896 100644
--- a/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/SinkActionContext.java
+++ b/doxia-modules/doxia-module-itext/src/main/java/org/apache/maven/doxia/module/itext/SinkActionContext.java
@@ -115,8 +115,6 @@ public class SinkActionContext
 
     private Stack<Integer> stack = new Stack<>();
 
-    private int currentAction;
-
     /**
      * <p>Getter for the field <code>currentAction</code>.</p>
      *