mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Make a few key fields protected rather than private
https://partner-android-review.googlesource.com/#/c/30207/4
This commit is contained in:
+1
-1
@@ -21,7 +21,7 @@ import java.awt.*;
|
||||
* @author Alexander Lobas
|
||||
*/
|
||||
public class InsertFeedback extends LineInsertFeedback {
|
||||
private boolean myCross;
|
||||
protected boolean myCross;
|
||||
|
||||
public InsertFeedback(Color color) {
|
||||
super(color, false);
|
||||
|
||||
+1
-1
@@ -24,7 +24,7 @@ import java.awt.*;
|
||||
public class LineFeedback extends JComponent {
|
||||
protected final Color myColor;
|
||||
private final int myLine;
|
||||
private boolean myHorizontal;
|
||||
protected boolean myHorizontal;
|
||||
|
||||
public LineFeedback(Color color, int line, boolean horizontal) {
|
||||
myColor = color;
|
||||
|
||||
+3
-3
@@ -28,10 +28,10 @@ import java.awt.*;
|
||||
* @author Alexander Lobas
|
||||
*/
|
||||
public class DirectionResizePoint extends ResizePoint {
|
||||
private int myDirection;
|
||||
protected int myDirection;
|
||||
final private Object myType;
|
||||
private double myXSeparator;
|
||||
private double myYSeparator;
|
||||
protected double myXSeparator;
|
||||
protected double myYSeparator;
|
||||
private final String myDescription;
|
||||
|
||||
public DirectionResizePoint(int direction, Object type, @Nullable String description) {
|
||||
|
||||
Reference in New Issue
Block a user