Changeset 15801 in josm


Ignore:
Timestamp:
2020-01-30T12:48:42+01:00 (4 weeks ago)
Author:
simon04
Message:

UpdatePluginsMessagePanel.toString for logging

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/plugins/PluginHandler.java

    r15737 r15801  
    16591659        }
    16601660
     1661        /**
     1662         * Returns the text. Useful for logging in {@link HelpAwareOptionPane#showOptionDialog}
     1663         * @return the text
     1664         */
     1665        @Override
     1666        public String toString() {
     1667            return Utils.stripHtml(lblMessage.getText());
     1668        }
     1669
    16611670        public void initDontShowAgain(String preferencesKey) {
    16621671            String policy = Config.getPref().get(preferencesKey, "ask");
Note: See TracChangeset for help on using the changeset viewer.