Skip to content

Commit

Permalink
Merge pull request #512 from syjer/remove-unused-code-3
Browse files Browse the repository at this point in the history
remove unused classes/code, raw parameter type, misc. cleanup
  • Loading branch information
danfickle authored Jul 16, 2020
2 parents e44fb86 + 4b3dc85 commit 9891184
Show file tree
Hide file tree
Showing 65 changed files with 152 additions and 1,049 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@
import java.util.logging.Level;

import com.openhtmltopdf.css.extend.StylesheetFactory;
import com.openhtmltopdf.css.parser.CSSErrorHandler;
import com.openhtmltopdf.css.parser.CSSParser;
import com.openhtmltopdf.css.sheet.Ruleset;
import com.openhtmltopdf.css.sheet.Stylesheet;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@
import java.util.Objects;
import java.util.logging.Level;

import com.openhtmltopdf.css.parser.CSSErrorHandler;
import com.openhtmltopdf.css.parser.CSSParser;
import com.openhtmltopdf.css.parser.PropertyValue;
import com.openhtmltopdf.css.parser.property.BackgroundPropertyBuilder;
Expand Down Expand Up @@ -62,22 +61,22 @@ public final class CSSName implements Comparable<CSSName> {
/**
* marker var, used for initialization
*/
private static final Integer PRIMITIVE = new Integer(0);
private static final Integer PRIMITIVE = Integer.valueOf(0);

/**
* marker var, used for initialization
*/
private static final Integer SHORTHAND = new Integer(1);
private static final Integer SHORTHAND = Integer.valueOf(1);

/**
* marker var, used for initialization
*/
private static final Integer INHERITS = new Integer(2);
private static final Integer INHERITS = Integer.valueOf(2);

/**
* marker var, used for initialization
*/
private static final Integer NOT_INHERITED = new Integer(3);
private static final Integer NOT_INHERITED = Integer.valueOf(3);

/**
* Used to assing unique int id values to new CSSNames created in this class
Expand Down
Loading

0 comments on commit 9891184

Please sign in to comment.