mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
cleanup
This commit is contained in:
@@ -16,8 +16,7 @@
|
||||
package com.intellij.openapi.ui.popup;
|
||||
|
||||
public class LightweightWindowEvent {
|
||||
|
||||
private LightweightWindow myWindow;
|
||||
private final LightweightWindow myWindow;
|
||||
|
||||
public LightweightWindowEvent(LightweightWindow window) {
|
||||
myWindow = window;
|
||||
|
||||
@@ -30,13 +30,13 @@ import java.util.List;
|
||||
|
||||
public class BalloonLayout {
|
||||
|
||||
private JLayeredPane myParent;
|
||||
private Insets myInsets;
|
||||
private final JLayeredPane myParent;
|
||||
private final Insets myInsets;
|
||||
|
||||
private List<Balloon> myBalloons = new ArrayList<Balloon>();
|
||||
private final List<Balloon> myBalloons = new ArrayList<Balloon>();
|
||||
|
||||
private Alarm myRelayoutAlarm = new Alarm();
|
||||
private Runnable myRelayoutRunnable = new Runnable() {
|
||||
private final Alarm myRelayoutAlarm = new Alarm();
|
||||
private final Runnable myRelayoutRunnable = new Runnable() {
|
||||
public void run() {
|
||||
relayout();
|
||||
}
|
||||
@@ -102,7 +102,7 @@ public class BalloonLayout {
|
||||
|
||||
|
||||
|
||||
private List<Integer> computeWidths(List<ArrayList<Balloon>> columns) {
|
||||
private static List<Integer> computeWidths(List<ArrayList<Balloon>> columns) {
|
||||
List<Integer> columnWidths = new ArrayList<Integer>();
|
||||
for (ArrayList<Balloon> eachColumn : columns) {
|
||||
int maxWidth = 0;
|
||||
|
||||
Reference in New Issue
Block a user