Ignore:
Timestamp:
2020-06-14T14:55:18+02:00 (4 years ago)
Author:
simon04
Message:

see #19334 - Use @SuppressWarnings to ignore seldom occurring error-prone warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/tools/Utils.java

    r16545 r16624  
    11831183     * @return a new {@link ThreadFactory}
    11841184     */
     1185    @SuppressWarnings("ThreadPriorityCheck")
    11851186    public static ThreadFactory newThreadFactory(final String nameFormat, final int threadPriority) {
    11861187        return new ThreadFactory() {
     
    12931294     * @return a {@link ForkJoinPool}
    12941295     */
     1296    @SuppressWarnings("ThreadPriorityCheck")
    12951297    public static ForkJoinPool newForkJoinPool(String pref, final String nameFormat, final int threadPriority) {
    12961298        int noThreads = Config.getPref().getInt(pref, Runtime.getRuntime().availableProcessors());
Note: See TracChangeset for help on using the changeset viewer.