Skip to content

Commit

Permalink
Remove a few redundant interface usages
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosame committed Jun 20, 2024
1 parent e830e12 commit 5bb6643
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 14 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
import io.sf.carte.echosvg.css.engine.CSSNavigableNode;
import io.sf.carte.echosvg.dom.AbstractAttr;
import io.sf.carte.echosvg.dom.AbstractDocument;
import io.sf.carte.echosvg.dom.events.NodeEventTarget;
import io.sf.carte.echosvg.dom.svg.LiveAttributeValue;
import io.sf.carte.echosvg.util.DoublyIndexedTable;
import io.sf.carte.echosvg.util.SVGConstants;
Expand All @@ -41,7 +40,7 @@
* @version $Id$
*/
public abstract class AbstractElement extends io.sf.carte.echosvg.dom.AbstractElement
implements NodeEventTarget, CSSNavigableNode, SVGConstants {
implements CSSNavigableNode, SVGConstants {

private static final long serialVersionUID = 1L;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
import io.sf.carte.echosvg.anim.values.AnimatableLengthValue;
import io.sf.carte.echosvg.anim.values.AnimatableValue;
import io.sf.carte.echosvg.dom.svg.LiveAttributeException;
import io.sf.carte.echosvg.dom.svg.LiveAttributeValue;
import io.sf.carte.echosvg.parser.UnitProcessor;

/**
Expand All @@ -38,7 +37,7 @@
* @version $Id$
*/
public abstract class AbstractSVGAnimatedLength extends AbstractSVGAnimatedValue
implements SVGAnimatedLength, LiveAttributeValue {
implements SVGAnimatedLength {

/**
* This constant represents horizontal lengths.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
/**
* Internal representation of the item SVGPathSeg.
*/
public class SVGPathSegItem extends AbstractSVGItem implements SVGPathSeg, SVGPathSegClosePath {
public class SVGPathSegItem extends AbstractSVGItem implements SVGPathSegClosePath {

protected short type;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,6 @@

import org.w3c.dom.Element;

import io.sf.carte.echosvg.constants.XMLConstants;

/**
* This class provides a default implementation of the ImageHandler interface
* simply puts a place holder in the xlink:href attribute and sets the width and
Expand All @@ -36,7 +34,7 @@
* @version $Id$
* @see io.sf.carte.echosvg.svggen.SVGGraphics2D
*/
public class DefaultImageHandler implements ImageHandler, ErrorConstants, XMLConstants {
public class DefaultImageHandler implements ImageHandler, ErrorConstants {

/**
* Build a <code>DefaultImageHandler</code>.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
* @see io.sf.carte.echosvg.svggen.ExtensionHandler
* @see org.w3c.dom.Document
*/
public class SVGGraphics2D extends AbstractGraphics2D implements Cloneable, SVGSyntax, ErrorConstants {
public class SVGGraphics2D extends AbstractGraphics2D implements SVGSyntax, ErrorConstants {

/*
* Constants definitions
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
import java.util.HashSet;
import java.util.Set;

import io.sf.carte.echosvg.constants.XMLConstants;
import io.sf.carte.echosvg.svggen.font.table.CmapFormat;
import io.sf.carte.echosvg.svggen.font.table.Feature;
import io.sf.carte.echosvg.svggen.font.table.FeatureTags;
Expand All @@ -47,7 +46,7 @@
* @version $Id$
* @author <a href="mailto:[email protected]">David Schweinsberg</a>
*/
public class SVGFont implements XMLConstants, SVGConstants, ScriptTags, FeatureTags {
public class SVGFont implements SVGConstants, ScriptTags, FeatureTags {
static final String EOL;

static final String PROPERTY_LINE_SEPARATOR = "line.separator";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,6 @@
*/
package io.sf.carte.echosvg.ext.awt.image.codec.util;

import java.io.Serializable;

/**
* An empty (marker) interface to be implemented by all image encoder parameter
* classes.
Expand All @@ -31,5 +29,5 @@
* @author For later modifications, see Git history.
* @version $Id$
*/
public interface ImageEncodeParam extends ImageDecodeParam, Cloneable, Serializable {
public interface ImageEncodeParam extends ImageDecodeParam {
}

0 comments on commit 5bb6643

Please sign in to comment.