@@ -407,7 +407,10 @@ private void initializeGeneralTab() {
407
407
* {@code PrisonerStatus.FREE} enumeration.
408
408
*
409
409
* @return a {@link DefaultComboBoxModel} containing the prisoner status options.
410
+ *
411
+ * @deprecated unused, no alternative necessary
410
412
*/
413
+ @ Deprecated (since = "0.50.05" , forRemoval = true )
411
414
private DefaultComboBoxModel <PrisonerStatus > getPrisonerStatusOptions () {
412
415
final DefaultComboBoxModel <PrisonerStatus > prisonerStatusModel = new DefaultComboBoxModel <>(PrisonerStatus .values ());
413
416
// we don't want this as a standard use case for prisoners
@@ -668,7 +671,8 @@ JPanel createAwardsGeneralOptionsPanel() {
668
671
lblAwardBonusStyle = new CampaignOptionsLabel ("AwardBonusStyle" );
669
672
comboAwardBonusStyle .setRenderer (new DefaultListCellRenderer () {
670
673
@ Override
671
- public Component getListCellRendererComponent (final JList <?> list , final Object value , final int index , final boolean isSelected , final boolean cellHasFocus ) {
674
+ public Component getListCellRendererComponent (final JList <?> list , final Object value , final int index ,
675
+ final boolean isSelected , final boolean cellHasFocus ) {
672
676
super .getListCellRendererComponent (list , value , index , isSelected , cellHasFocus );
673
677
if (value instanceof AwardBonus ) {
674
678
list .setToolTipText (((AwardBonus ) value ).getToolTipText ());
@@ -1048,7 +1052,8 @@ private JPanel createPrisonersPanel() {
1048
1052
lblPrisonerCaptureStyle = new CampaignOptionsLabel ("PrisonerCaptureStyle" );
1049
1053
comboPrisonerCaptureStyle .setRenderer (new DefaultListCellRenderer () {
1050
1054
@ Override
1051
- public Component getListCellRendererComponent (final JList <?> list , final Object value , final int index , final boolean isSelected , final boolean cellHasFocus ) {
1055
+ public Component getListCellRendererComponent (final JList <?> list , final Object value , final int index ,
1056
+ final boolean isSelected , final boolean cellHasFocus ) {
1052
1057
super .getListCellRendererComponent (list , value , index , isSelected , cellHasFocus );
1053
1058
if (value instanceof PrisonerCaptureStyle ) {
1054
1059
list .setToolTipText (wordWrap (((PrisonerCaptureStyle ) value ).getTooltip ()));
0 commit comments