Changeset 8538 in josm for trunk


Ignore:
Timestamp:
2015-06-26T18:33:33+02:00 (6 years ago)
Author:
akks
Message:

some more debugging output, see #11209

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/dialogs/properties/TagEditHelper.java

    r8510 r8538  
    258258            };
    259259
    260         private transient ListCellRenderer<AutoCompletionListItem> cellRenderer = new ListCellRenderer<AutoCompletionListItem>() {
     260        private final transient ListCellRenderer<AutoCompletionListItem> cellRenderer = new ListCellRenderer<AutoCompletionListItem>() {
    261261            private final DefaultListCellRenderer def = new DefaultListCellRenderer();
    262262            @Override
     
    505505                   List<AutoCompletionListItem> valueList = autocomplete.getValues(getAutocompletionKeys(key));
    506506                   Collections.sort(valueList, comparator);
    507 
     507                   if (Main.isDebugEnabled()) {
     508                       Main.debug("Focus gained by {0}, e={1}", values, e);
     509                   }
    508510                   values.setPossibleACItems(valueList);
    509511                   values.getEditor().selectAll();
     
    516518
    517519        protected JPopupMenu popupMenu = new JPopupMenu() {
    518             private JCheckBoxMenuItem fixTagLanguageCb = new JCheckBoxMenuItem(
     520            private final JCheckBoxMenuItem fixTagLanguageCb = new JCheckBoxMenuItem(
    519521                new AbstractAction(tr("Use English language for tag by default")) {
    520522                @Override
Note: See TracChangeset for help on using the changeset viewer.