Skip to content

Commit

Permalink
cleanup: remove unused class, remove unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
syjer committed Jun 13, 2020
1 parent 5fb570d commit 3d9fd91
Show file tree
Hide file tree
Showing 15 changed files with 3 additions and 879 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,19 +20,15 @@
package com.openhtmltopdf.render;

import java.awt.BasicStroke;
import java.awt.Polygon;
import java.awt.Rectangle;
import java.awt.RenderingHints;
import java.awt.Shape;
import java.awt.Stroke;
import java.awt.geom.AffineTransform;
import java.awt.geom.Arc2D;
import java.awt.geom.Area;
import java.awt.geom.Path2D;
import java.awt.geom.Point2D;

import com.openhtmltopdf.css.constants.IdentValue;
import com.openhtmltopdf.css.parser.FSColor;
import com.openhtmltopdf.css.parser.FSRGBColor;
import com.openhtmltopdf.css.style.BorderRadiusCorner;
import com.openhtmltopdf.css.style.derived.BorderPropertySet;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;

import javax.swing.BorderFactory;
import javax.swing.ImageIcon;
import javax.swing.JButton;
import javax.swing.JComponent;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ protected String[] getFieldValues() {
}


private class TextAreaFieldJTextArea extends JTextArea {
private static class TextAreaFieldJTextArea extends JTextArea {
int columnWidth = 0;

public TextAreaFieldJTextArea(int rows, int columns) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@

import java.util.ArrayList;
import java.util.Iterator;
import java.util.LinkedList;
import java.util.List;

import org.w3c.dom.Element;
Expand All @@ -42,9 +41,9 @@ public XhtmlForm(String action, String method) {
_method = method;
}

protected List<FormControl> _controls = new ArrayList<FormControl>();
protected List<FormControl> _controls = new ArrayList<>();

private List<FormListener> _listeners = new ArrayList<FormListener>();
private List<FormListener> _listeners = new ArrayList<>();

public void addFormListener(FormListener listener) {
_listeners.add(listener);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@
import java.awt.image.BufferedImage;
import java.util.logging.Level;

import com.openhtmltopdf.extend.ReplacedElement;
import com.openhtmltopdf.layout.LayoutContext;
import com.openhtmltopdf.resource.ImageResource;
import com.openhtmltopdf.util.Configuration;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,6 @@
import com.openhtmltopdf.util.ImageUtil;
import com.openhtmltopdf.util.XRLog;

import javax.swing.*;

import java.awt.*;
import java.awt.image.BufferedImage;
import java.util.logging.Level;
Expand Down

This file was deleted.

This file was deleted.

105 changes: 0 additions & 105 deletions openhtmltopdf-core/src/main/java/com/openhtmltopdf/test/XLayout.java

This file was deleted.

Loading

0 comments on commit 3d9fd91

Please sign in to comment.