Make public static members final [thanks to Kui Liu]. This close #78.
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@1812234 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
e1571c9130
commit
16125ab3cc
@ -52,7 +52,7 @@ import org.apache.poi.ss.usermodel.FillPatternType;
|
||||
public class SVTableCellRenderer extends JLabel
|
||||
implements TableCellRenderer, Serializable
|
||||
{
|
||||
protected static Border noFocusBorder = new EmptyBorder(1, 1, 1, 1);
|
||||
protected static final Border noFocusBorder = new EmptyBorder(1, 1, 1, 1);
|
||||
protected SVBorder cellBorder = new SVBorder();
|
||||
|
||||
|
||||
|
@ -41,7 +41,7 @@ public class SVTableUtils {
|
||||
/** Description of the Field */
|
||||
public final static Color white = getAWTColor(HSSFColorPredefined.WHITE);
|
||||
/** Description of the Field */
|
||||
public static Border noFocusBorder = new EmptyBorder(1, 1, 1, 1);
|
||||
public static final Border noFocusBorder = new EmptyBorder(1, 1, 1, 1);
|
||||
|
||||
|
||||
/**
|
||||
|
@ -35,8 +35,8 @@ import org.apache.poi.util.StringUtil;
|
||||
*/
|
||||
public final class FeatProtection implements SharedFeature {
|
||||
@SuppressWarnings("RedundantFieldInitialization")
|
||||
public static long NO_SELF_RELATIVE_SECURITY_FEATURE = 0;
|
||||
public static long HAS_SELF_RELATIVE_SECURITY_FEATURE = 1;
|
||||
public static final long NO_SELF_RELATIVE_SECURITY_FEATURE = 0;
|
||||
public static final long HAS_SELF_RELATIVE_SECURITY_FEATURE = 1;
|
||||
|
||||
private int fSD;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user