Changeset 11018 in josm


Ignore:
Timestamp:
2016-09-17T23:32:09+02:00 (8 years ago)
Author:
Don-vip
Message:

sonar - pmd:UseVarargs - Use Varargs

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

Legend:

Unmodified
Added
Removed
  • trunk/src/org/openstreetmap/josm/data/imagery/GetCapabilitiesParseHelper.java

    r11013 r11018  
    120120     * @throws XMLStreamException See {@link XMLStreamReader}
    121121     */
    122     public static boolean moveReaderToTag(XMLStreamReader reader, QName[] tags) throws XMLStreamException {
     122    public static boolean moveReaderToTag(XMLStreamReader reader, QName ... tags) throws XMLStreamException {
    123123        QName stopTag = reader.getName();
    124124        int currentLevel = 0;
  • trunk/src/org/openstreetmap/josm/tools/ListenerList.java

    r10939 r11018  
    207207        }
    208208
    209         private static void dumpStack(StackTraceElement[] stackTraceElements) {
     209        private static void dumpStack(StackTraceElement ... stackTraceElements) {
    210210            if (stackTraceElements == null) {
    211211                Main.trace("  - (no trace recorded)");
Note: See TracChangeset for help on using the changeset viewer.