GT-2913: launch.properties can now take platform-specific VMARGS.

This commit is contained in:
Ryan Kurtz 2019-07-25 11:31:08 -04:00
parent 8c689a0099
commit fa20ba3762
7 changed files with 87 additions and 75 deletions

View file

@ -41,12 +41,7 @@ public abstract class AbstractGCellRenderer extends GDHtmlLabel {
protected static boolean systemAlternateRowColors = getAlternateRowColors();
private static boolean getAlternateRowColors() {
String disable = System.getProperty(DISABLE_ALTERNATING_ROW_COLORS_PROPERTY);
if (disable == null) {
return true;
}
return !Boolean.parseBoolean(disable);
return !Boolean.getBoolean(DISABLE_ALTERNATING_ROW_COLORS_PROPERTY);
}
protected final Border focusBorder;