mirror of
https://github.com/JFormDesigner/FlatLaf.git
synced 2026-02-10 22:17:13 -06:00
minor code cleanup:
- remove redundant semicolon - create array with curly
This commit is contained in:
@@ -290,10 +290,10 @@ class DataComponentsPanel
|
||||
"Not editable", "Text", "Combo", "Combo Editable", "Integer", "Boolean"
|
||||
}
|
||||
) {
|
||||
Class<?>[] columnTypes = new Class<?>[] {
|
||||
Class<?>[] columnTypes = {
|
||||
Object.class, Object.class, String.class, String.class, Integer.class, Boolean.class
|
||||
};
|
||||
boolean[] columnEditable = new boolean[] {
|
||||
boolean[] columnEditable = {
|
||||
false, true, true, true, true, true
|
||||
};
|
||||
@Override
|
||||
|
||||
@@ -511,7 +511,7 @@ class MoreComponentsPanel
|
||||
// JFormDesigner - End of component initialization //GEN-END:initComponents
|
||||
|
||||
if( FlatLafDemo.screenshotsMode ) {
|
||||
Component[] components = new Component[] {
|
||||
Component[] components = {
|
||||
indeterminateCheckBox,
|
||||
toolTipLabel, toolTip1, toolTip2,
|
||||
toolBarLabel, toolBar1, toolBar2,
|
||||
|
||||
@@ -889,7 +889,7 @@ class TabsPanel
|
||||
// JFormDesigner - End of component initialization //GEN-END:initComponents
|
||||
|
||||
if( FlatLafDemo.screenshotsMode ) {
|
||||
Component[] components = new Component[] {
|
||||
Component[] components = {
|
||||
tabPlacementLabel, tabPlacementToolBar, tabPlacementTabbedPane,
|
||||
iconBottomTabbedPane, iconTrailingTabbedPane,
|
||||
alignLeadingTabbedPane, alignTrailingTabbedPane, alignFillTabbedPane,
|
||||
|
||||
Reference in New Issue
Block a user