Ignore:
Timestamp:
2019-12-13T00:48:33+01:00 (5 years ago)
Author:
Don-vip
Message:

code cleanup

Location:
trunk/src/org/openstreetmap/josm/plugins
Files:
2 edited

Legend:

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

    r15508 r15586  
    487487        }
    488488
    489         ButtonSpec[] options = new ButtonSpec[] {
     489        ButtonSpec[] options = {
    490490                new ButtonSpec(
    491491                        tr("Update plugins"),
     
    564564          .append(Utils.joinAsHtmlUnorderedList(missingRequiredPlugin))
    565565          .append("</html>");
    566         ButtonSpec[] specs = new ButtonSpec[] {
     566        ButtonSpec[] specs = {
    567567                new ButtonSpec(
    568568                        tr("Download and restart"),
     
    12071207     */
    12081208    public static boolean confirmDisablePlugin(Component parent, String reason, String name) {
    1209         ButtonSpec[] options = new ButtonSpec[] {
     1209        ButtonSpec[] options = {
    12101210                new ButtonSpec(
    12111211                        tr("Disable plugin"),
     
    14201420
    14211421    private static int askUpdateDisableKeepPluginAfterException(PluginProxy plugin) {
    1422         final ButtonSpec[] options = new ButtonSpec[] {
     1422        final ButtonSpec[] options = {
    14231423                new ButtonSpec(
    14241424                        tr("Update plugin"),
  • trunk/src/org/openstreetmap/josm/plugins/PluginInformation.java

    r15221 r15586  
    439439        Collection<String> locations = getPluginLocations();
    440440
    441         String[] nameCandidates = new String[] {
     441        String[] nameCandidates = {
    442442                pluginName,
    443443                pluginName + "-" + PlatformManager.getPlatform().getPlatform().name().toLowerCase(Locale.ENGLISH)};
Note: See TracChangeset for help on using the changeset viewer.