Changeset 19139 in josm for trunk/src/org/openstreetmap


Ignore:
Timestamp:
2024-07-12T13:36:39+02:00 (4 months ago)
Author:
taylor.smock
Message:

PMD and checkstyle fixes

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

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/gui/progress/swing/ProgressMonitorExecutor.java

    r18549 r19139  
    1515/**
    1616 * Executor that displays the progress monitor to the user.
    17  *
     17 * <p>
    1818 * Similar to Executors.newSingleThreadExecutor(), but displays the
    1919 * progress monitor whenever a new task is executed.
     
    2929    public ProgressMonitorExecutor(final String nameFormat, final int threadPriority) {
    3030        super(1, 1, 0L, TimeUnit.MILLISECONDS,
    31                 new LinkedBlockingQueue<Runnable>(),
     31                new LinkedBlockingQueue<>(),
    3232                Utils.newThreadFactory(nameFormat, threadPriority));
    3333    }
  • trunk/src/org/openstreetmap/josm/tools/PlatformHook.java

    r19120 r19139  
    404404        if (missingArguments.length() > 0) {
    405405            final String args = missingArguments.toString();
    406             messages.add(tr("Missing JVM Arguments:<br>{0}<br>These arguments should be added in the command line or start script before the -jar parameter.", args));
     406            messages.add(tr("Missing JVM Arguments:<br>{0}<br>" +
     407                    "These arguments should be added in the command line or start script before the -jar parameter.", args));
    407408        }
    408409        if (!messages.isEmpty()) {
Note: See TracChangeset for help on using the changeset viewer.