git://source.jalview.org
/
jalview.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
JAL-3026 GD#91 "final" keyword deprecated
[jalview.git]
/
src
/
jalview
/
gui
/
FeatureTypeSettings.java
diff --git
a/src/jalview/gui/FeatureTypeSettings.java
b/src/jalview/gui/FeatureTypeSettings.java
index
0f997bf
..
fa9833b
100644
(file)
--- a/
src/jalview/gui/FeatureTypeSettings.java
+++ b/
src/jalview/gui/FeatureTypeSettings.java
@@
-843,10
+843,10
@@
public class FeatureTypeSettings extends JalviewDialog
* @param key
* message bundle key for the dialog title
*/
* @param key
* message bundle key for the dialog title
*/
- private void showColourChooser(final JPanel colourPanel, String key)
+ private void showColourChooser(JPanel colourPanel, String key)
{
// TODO 'final' is (currently) required here for SwingJS to work
{
// TODO 'final' is (currently) required here for SwingJS to work
- final JColorChooser colorChooser = new JColorChooser();
+ JColorChooser colorChooser = new JColorChooser();
colorChooser.setColor(colourPanel.getBackground());
ActionListener listener = new ActionListener()
colorChooser.setColor(colourPanel.getBackground());
ActionListener listener = new ActionListener()
@@
-962,7
+962,7
@@
public class FeatureTypeSettings extends JalviewDialog
*/
float minValue = min;
float maxValue = max;
*/
float minValue = min;
float maxValue = max;
- final int thresholdOption = threshold.getSelectedIndex();
+ int thresholdOption = threshold.getSelectedIndex();
if (thresholdIsMin.isSelected()
&& thresholdOption == ABOVE_THRESHOLD_OPTION)
{
if (thresholdIsMin.isSelected()
&& thresholdOption == ABOVE_THRESHOLD_OPTION)
{
@@
-1345,7
+1345,7
@@
public class FeatureTypeSettings extends JalviewDialog
* drop-down choice of attribute, with description as a tooltip
* if we can obtain it
*/
* drop-down choice of attribute, with description as a tooltip
* if we can obtain it
*/
- final JComboBox<String> attCombo = populateAttributesDropdown(attNames,
+ JComboBox<String> attCombo = populateAttributesDropdown(attNames,
true, true);
String filterBy = setSelectedAttribute(attCombo, filter);
true, true);
String filterBy = setSelectedAttribute(attCombo, filter);