Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove unused classes/code, raw parameter type, misc. cleanup #512

Merged
merged 1 commit into from
Jul 16, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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