@@ -190,12 +190,12 @@ private void initComponents() {
190
190
tblBasePermissions = new javax .swing .JTable ();
191
191
if (applyTo .size () > 1 ) {
192
192
tblBasePermissions .setDefaultRenderer (Boolean .class , new TristateCheckBoxTableCellRenderer <Boolean >(bool -> Tuple (null , TristateState .fromBoolean (bool ))));
193
- tblBasePermissions .setDefaultEditor (Boolean .class , new TristateCheckboxTableCellEditor <Boolean >(bool -> Tuple (null , TristateState .fromBoolean (bool )), state -> TristateState .toBoolean (state ._2 )));
193
+ tblBasePermissions .setDefaultEditor (Boolean .class , new TristateCheckboxTableCellEditor <>(bool -> Tuple (null , TristateState .fromBoolean (bool )), state -> TristateState .toBoolean (state ._2 )));
194
194
tblBasePermissions .setDefaultRenderer (LabelledBoolean .class , new TristateCheckBoxTableCellRenderer <LabelledBoolean >(labelledBool -> Tuple (labelledBool .getLabel (), TristateState .fromBoolean (labelledBool .isSet ()))));
195
- tblBasePermissions .setDefaultEditor (LabelledBoolean .class , new TristateCheckboxTableCellEditor <LabelledBoolean >(labelledBool -> Tuple (labelledBool .getLabel (), TristateState .fromBoolean (labelledBool .isSet ())), state -> new LabelledBoolean (state ._1 , TristateState .toBoolean (state ._2 ))));
195
+ tblBasePermissions .setDefaultEditor (LabelledBoolean .class , new TristateCheckboxTableCellEditor <>(labelledBool -> Tuple (labelledBool .getLabel (), TristateState .fromBoolean (labelledBool .isSet ())), state -> new LabelledBoolean (state ._1 , TristateState .toBoolean (state ._2 ))));
196
196
} else {
197
197
tblBasePermissions .setDefaultRenderer (LabelledBoolean .class , new CheckboxTableCellRenderer <LabelledBoolean >(labelledBoolean -> Tuple (labelledBoolean .getLabel (), labelledBoolean .isSet ())));
198
- tblBasePermissions .setDefaultEditor (LabelledBoolean .class , new CheckboxTableCellEditor <LabelledBoolean >(labelledBoolean -> Tuple (labelledBoolean .getLabel (), labelledBoolean .isSet ()), state -> new LabelledBoolean (state ._1 , state ._2 )));
198
+ tblBasePermissions .setDefaultEditor (LabelledBoolean .class , new CheckboxTableCellEditor <>(labelledBoolean -> Tuple (labelledBoolean .getLabel (), labelledBoolean .isSet ()), state -> new LabelledBoolean (state ._1 , state ._2 )));
199
199
}
200
200
lblAccessControlList = new javax .swing .JLabel ();
201
201
jSeparator1 = new javax .swing .JSeparator ();
0 commit comments