Index: trunk/src/org/openstreetmap/josm/command/SequenceCommand.java
===================================================================
--- trunk/src/org/openstreetmap/josm/command/SequenceCommand.java	(revision 10679)
+++ trunk/src/org/openstreetmap/josm/command/SequenceCommand.java	(revision 10680)
@@ -117,5 +117,5 @@
     }
 
-    protected final void setSequence(Command[] sequence) {
+    protected final void setSequence(Command ... sequence) {
         this.sequence = Utils.copyArray(sequence);
     }
Index: trunk/src/org/openstreetmap/josm/data/Bounds.java
===================================================================
--- trunk/src/org/openstreetmap/josm/data/Bounds.java	(revision 10679)
+++ trunk/src/org/openstreetmap/josm/data/Bounds.java	(revision 10680)
@@ -150,5 +150,5 @@
     }
 
-    public Bounds(double[] coords) {
+    public Bounds(double ... coords) {
         this(coords, true);
     }
Index: trunk/src/org/openstreetmap/josm/data/gpx/GpxData.java
===================================================================
--- trunk/src/org/openstreetmap/josm/data/gpx/GpxData.java	(revision 10679)
+++ trunk/src/org/openstreetmap/josm/data/gpx/GpxData.java	(revision 10680)
@@ -361,5 +361,5 @@
      * over all routes
      */
-    public Iterable<Collection<WayPoint>> getLinesIterable(final boolean[] trackVisibility) {
+    public Iterable<Collection<WayPoint>> getLinesIterable(final boolean ... trackVisibility) {
         return () -> new LinesIterator(this, trackVisibility);
     }
@@ -414,5 +414,5 @@
          * included in the iteration. Can be null, then all tracks are included.
          */
-        public LinesIterator(GpxData data, boolean[] trackVisibility) {
+        public LinesIterator(GpxData data, boolean ... trackVisibility) {
             itTracks = data.tracks.iterator();
             idxTracks = -1;
Index: trunk/src/org/openstreetmap/josm/data/imagery/WMTSTileSource.java
===================================================================
--- trunk/src/org/openstreetmap/josm/data/imagery/WMTSTileSource.java	(revision 10679)
+++ trunk/src/org/openstreetmap/josm/data/imagery/WMTSTileSource.java	(revision 10680)
@@ -601,5 +601,5 @@
      * @throws XMLStreamException See {@link XMLStreamReader}
      */
-    private static boolean moveReaderToTag(XMLStreamReader reader, QName[] tags) throws XMLStreamException {
+    private static boolean moveReaderToTag(XMLStreamReader reader, QName ... tags) throws XMLStreamException {
         QName stopTag = reader.getName();
         int currentLevel = 0;
Index: trunk/src/org/openstreetmap/josm/data/osm/TagMap.java
===================================================================
--- trunk/src/org/openstreetmap/josm/data/osm/TagMap.java	(revision 10679)
+++ trunk/src/org/openstreetmap/josm/data/osm/TagMap.java	(revision 10680)
@@ -48,5 +48,5 @@
          * @param tags The tags array. It is never changed but should also not be changed by you.
          */
-        TagEntryInterator(String[] tags) {
+        TagEntryInterator(String ... tags) {
             super();
             this.tags = tags;
@@ -87,5 +87,5 @@
          * @param tags The tags array. It is never changed but should also not be changed by you.
          */
-        TagEntrySet(String[] tags) {
+        TagEntrySet(String ... tags) {
             super();
             this.tags = tags;
@@ -140,5 +140,5 @@
      * @param tags The tags array. It is not modified by this map.
      */
-    public TagMap(String[] tags) {
+    public TagMap(String ... tags) {
         if (tags == null || tags.length == 0) {
             this.tags = EMPTY_TAGS;
Index: trunk/src/org/openstreetmap/josm/data/projection/Ellipsoid.java
===================================================================
--- trunk/src/org/openstreetmap/josm/data/projection/Ellipsoid.java	(revision 10679)
+++ trunk/src/org/openstreetmap/josm/data/projection/Ellipsoid.java	(revision 10680)
@@ -322,5 +322,5 @@
      * @return The corresponding latitude and longitude in degrees
      */
-    public LatLon cart2LatLon(double[] xyz) {
+    public LatLon cart2LatLon(double ... xyz) {
         return cart2LatLon(xyz, 1e-11);
     }
Index: trunk/src/org/openstreetmap/josm/data/projection/datum/NTV2GridShiftFile.java
===================================================================
--- trunk/src/org/openstreetmap/josm/data/projection/datum/NTV2GridShiftFile.java	(revision 10679)
+++ trunk/src/org/openstreetmap/josm/data/projection/datum/NTV2GridShiftFile.java	(revision 10680)
@@ -167,5 +167,5 @@
      * @return an array of top level Sub Grids with lower level Sub Grids set.
      */
-    private static NTV2SubGrid[] createSubGridTree(NTV2SubGrid[] subGrid) {
+    private static NTV2SubGrid[] createSubGridTree(NTV2SubGrid ... subGrid) {
         int topLevelCount = 0;
         Map<String, List<NTV2SubGrid>> subGridMap = new HashMap<>();
Index: trunk/src/org/openstreetmap/josm/data/projection/datum/NTV2SubGrid.java
===================================================================
--- trunk/src/org/openstreetmap/josm/data/projection/datum/NTV2SubGrid.java	(revision 10679)
+++ trunk/src/org/openstreetmap/josm/data/projection/datum/NTV2SubGrid.java	(revision 10680)
@@ -281,5 +281,5 @@
      * @param subGrid subgrids
      */
-    public void setSubGridArray(NTV2SubGrid[] subGrid) {
+    public void setSubGridArray(NTV2SubGrid ... subGrid) {
         this.subGrid = Utils.copyArray(subGrid);
     }
Index: trunk/src/org/openstreetmap/josm/data/validation/routines/DomainValidator.java
===================================================================
--- trunk/src/org/openstreetmap/josm/data/validation/routines/DomainValidator.java	(revision 10679)
+++ trunk/src/org/openstreetmap/josm/data/validation/routines/DomainValidator.java	(revision 10680)
@@ -1831,5 +1831,5 @@
      * @since 1.5.0
      */
-    public static synchronized void updateTLDOverride(ArrayType table, String[] tlds) {
+    public static synchronized void updateTLDOverride(ArrayType table, String ... tlds) {
         if (inUse) {
             throw new IllegalStateException("Can only invoke this method before calling getInstance");
Index: trunk/src/org/openstreetmap/josm/data/validation/routines/RegexValidator.java
===================================================================
--- trunk/src/org/openstreetmap/josm/data/validation/routines/RegexValidator.java	(revision 10679)
+++ trunk/src/org/openstreetmap/josm/data/validation/routines/RegexValidator.java	(revision 10680)
@@ -102,5 +102,5 @@
      * validate against
      */
-    public RegexValidator(String[] regexs) {
+    public RegexValidator(String ... regexs) {
         this(regexs, true);
     }
Index: trunk/src/org/openstreetmap/josm/data/validation/routines/UrlValidator.java
===================================================================
--- trunk/src/org/openstreetmap/josm/data/validation/routines/UrlValidator.java	(revision 10679)
+++ trunk/src/org/openstreetmap/josm/data/validation/routines/UrlValidator.java	(revision 10680)
@@ -218,5 +218,5 @@
      *        ignore the contents of schemes.
      */
-    public UrlValidator(String[] schemes) {
+    public UrlValidator(String ... schemes) {
         this(schemes, 0L);
     }
Index: trunk/src/org/openstreetmap/josm/data/validation/tests/ConditionalKeys.java
===================================================================
--- trunk/src/org/openstreetmap/josm/data/validation/tests/ConditionalKeys.java	(revision 10679)
+++ trunk/src/org/openstreetmap/josm/data/validation/tests/ConditionalKeys.java	(revision 10680)
@@ -79,14 +79,14 @@
     }
 
-    private static boolean isKeyValid3Parts(String[] parts) {
+    private static boolean isKeyValid3Parts(String ... parts) {
         return parts.length == 3 && isRestrictionType(parts[0]) && isTransportationMode(parts[1]) && isDirection(parts[2]);
     }
 
-    private static boolean isKeyValid2Parts(String[] parts) {
+    private static boolean isKeyValid2Parts(String ... parts) {
         return parts.length == 2 && ((isRestrictionType(parts[0]) && (isTransportationMode(parts[1]) || isDirection(parts[1])))
                                   || (isTransportationMode(parts[0]) && isDirection(parts[1])));
     }
 
-    private static boolean isKeyValid1Part(String[] parts) {
+    private static boolean isKeyValid1Part(String ... parts) {
         return parts.length == 1 && (isRestrictionType(parts[0]) || isTransportationMode(parts[0]));
     }
Index: trunk/src/org/openstreetmap/josm/data/validation/tests/SimilarNamedWays.java
===================================================================
--- trunk/src/org/openstreetmap/josm/data/validation/tests/SimilarNamedWays.java	(revision 10679)
+++ trunk/src/org/openstreetmap/josm/data/validation/tests/SimilarNamedWays.java	(revision 10680)
@@ -251,5 +251,5 @@
         private final String replacement;
 
-        public SynonymRule(String replacement, String[] words) {
+        public SynonymRule(String replacement, String ... words) {
             this.replacement = replacement.toLowerCase(Locale.ENGLISH);
             this.words = words;
Index: trunk/src/org/openstreetmap/josm/gui/ExtendedDialog.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/ExtendedDialog.java	(revision 10679)
+++ trunk/src/org/openstreetmap/josm/gui/ExtendedDialog.java	(revision 10680)
@@ -131,5 +131,5 @@
      * @param buttonTexts  String Array of the text that will appear on the buttons. The first button is the default one.
      */
-    public ExtendedDialog(Component parent, String title, String[] buttonTexts) {
+    public ExtendedDialog(Component parent, String title, String ... buttonTexts) {
         this(parent, title, buttonTexts, true, true);
     }
@@ -170,5 +170,5 @@
      * @return {@code this}
      */
-    public ExtendedDialog setButtonIcons(Icon[] buttonIcons) {
+    public ExtendedDialog setButtonIcons(Icon ... buttonIcons) {
         this.bIcons = Utils.copyArray(buttonIcons);
         return this;
@@ -180,5 +180,5 @@
      * @return {@code this}
      */
-    public ExtendedDialog setButtonIcons(String[] buttonIcons) {
+    public ExtendedDialog setButtonIcons(String ... buttonIcons) {
         bIcons = new Icon[buttonIcons.length];
         for (int i = 0; i < buttonIcons.length; ++i) {
@@ -195,5 +195,5 @@
      * @return {@code this}
      */
-    public ExtendedDialog setToolTipTexts(String[] toolTipTexts) {
+    public ExtendedDialog setToolTipTexts(String ... toolTipTexts) {
         this.bToolTipTexts = Utils.copyArray(toolTipTexts);
         return this;
Index: trunk/src/org/openstreetmap/josm/gui/MainApplication.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/MainApplication.java	(revision 10679)
+++ trunk/src/org/openstreetmap/josm/gui/MainApplication.java	(revision 10680)
@@ -242,5 +242,5 @@
      * @return command-line argument map
      */
-    public static Map<Option, Collection<String>> buildCommandLineArgumentMap(String[] args) {
+    public static Map<Option, Collection<String>> buildCommandLineArgumentMap(String ... args) {
 
         List<LongOpt> los = new ArrayList<>();
Index: trunk/src/org/openstreetmap/josm/gui/conflict/pair/ComparePairType.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/conflict/pair/ComparePairType.java	(revision 10679)
+++ trunk/src/org/openstreetmap/josm/gui/conflict/pair/ComparePairType.java	(revision 10680)
@@ -33,5 +33,5 @@
     private ListRole[] participatingRoles;
 
-    ComparePairType(String displayName, ListRole[] participatingRoles) {
+    ComparePairType(String displayName, ListRole ... participatingRoles) {
         this.displayName = displayName;
         this.participatingRoles = Utils.copyArray(participatingRoles);
Index: trunk/src/org/openstreetmap/josm/gui/conflict/pair/ListMergeModel.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/conflict/pair/ListMergeModel.java	(revision 10679)
+++ trunk/src/org/openstreetmap/josm/gui/conflict/pair/ListMergeModel.java	(revision 10680)
@@ -273,5 +273,5 @@
     }
 
-    protected void copyToTop(ListRole role, int[] rows) {
+    protected void copyToTop(ListRole role, int ... rows) {
         copy(role, rows, 0);
         mergedEntriesSelectionModel.setSelectionInterval(0, rows.length -1);
@@ -285,5 +285,5 @@
      * @param rows the indices
      */
-    public void copyMyToTop(int[] rows) {
+    public void copyMyToTop(int ... rows) {
         copyToTop(MY_ENTRIES, rows);
     }
@@ -296,5 +296,5 @@
      * @param rows the indices
      */
-    public void copyTheirToTop(int[] rows) {
+    public void copyTheirToTop(int ... rows) {
         copyToTop(THEIR_ENTRIES, rows);
     }
@@ -309,5 +309,5 @@
      */
 
-    public void copyToEnd(ListRole source, int[] rows) {
+    public void copyToEnd(ListRole source, int ... rows) {
         copy(source, rows, getMergedEntriesSize());
         mergedEntriesSelectionModel.setSelectionInterval(getMergedEntriesSize()-rows.length, getMergedEntriesSize() -1);
@@ -322,5 +322,5 @@
      * @param rows the indices
      */
-    public void copyMyToEnd(int[] rows) {
+    public void copyMyToEnd(int ... rows) {
         copyToEnd(MY_ENTRIES, rows);
     }
@@ -333,5 +333,5 @@
      * @param rows the indices
      */
-    public void copyTheirToEnd(int[] rows) {
+    public void copyTheirToEnd(int ... rows) {
         copyToEnd(THEIR_ENTRIES, rows);
     }
@@ -491,5 +491,5 @@
      *
      */
-    public void moveUpMerged(int[] rows) {
+    public void moveUpMerged(int ... rows) {
         if (rows == null || rows.length == 0)
             return;
@@ -516,5 +516,5 @@
      * @param rows the indices
      */
-    public void moveDownMerged(int[] rows) {
+    public void moveDownMerged(int ... rows) {
         if (rows == null || rows.length == 0)
             return;
@@ -542,5 +542,5 @@
      * @param rows the indices
      */
-    public void removeMerged(int[] rows) {
+    public void removeMerged(int ... rows) {
         if (rows == null || rows.length == 0)
             return;
Index: trunk/src/org/openstreetmap/josm/gui/conflict/pair/tags/TagMerger.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/conflict/pair/tags/TagMerger.java	(revision 10679)
+++ trunk/src/org/openstreetmap/josm/gui/conflict/pair/tags/TagMerger.java	(revision 10680)
@@ -238,5 +238,5 @@
     }
 
-    private void selectNextConflict(int[] rows) {
+    private void selectNextConflict(int ... rows) {
         int max = rows[0];
         for (int row: rows) {
Index: trunk/src/org/openstreetmap/josm/gui/dialogs/OsmIdSelectionDialog.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/dialogs/OsmIdSelectionDialog.java	(revision 10679)
+++ trunk/src/org/openstreetmap/josm/gui/dialogs/OsmIdSelectionDialog.java	(revision 10680)
@@ -52,5 +52,5 @@
     protected final transient GroupLayout layout = new GroupLayout(panel);
 
-    public OsmIdSelectionDialog(Component parent, String title, String[] buttonTexts) {
+    public OsmIdSelectionDialog(Component parent, String title, String ... buttonTexts) {
         super(parent, title, buttonTexts);
     }
Index: trunk/src/org/openstreetmap/josm/gui/dialogs/UserListDialog.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/dialogs/UserListDialog.java	(revision 10679)
+++ trunk/src/org/openstreetmap/josm/gui/dialogs/UserListDialog.java	(revision 10680)
@@ -343,5 +343,5 @@
         }
 
-        public void selectPrimitivesOwnedBy(int[] rows) {
+        public void selectPrimitivesOwnedBy(int ... rows) {
             Set<User> users = new HashSet<>();
             for (int index: rows) {
@@ -358,5 +358,5 @@
         }
 
-        public List<User> getSelectedUsers(int[] rows) {
+        public List<User> getSelectedUsers(int ... rows) {
             List<User> ret = new LinkedList<>();
             if (rows == null || rows.length == 0)
Index: trunk/src/org/openstreetmap/josm/gui/dialogs/properties/PropertiesDialog.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/dialogs/properties/PropertiesDialog.java	(revision 10679)
+++ trunk/src/org/openstreetmap/josm/gui/dialogs/properties/PropertiesDialog.java	(revision 10680)
@@ -958,5 +958,5 @@
         }
 
-        protected void deleteTags(int[] rows) {
+        protected void deleteTags(int ... rows) {
             // convert list of rows to HashMap (and find gap for nextKey)
             Map<String, String> tags = new HashMap<>(rows.length);
Index: trunk/src/org/openstreetmap/josm/gui/dialogs/properties/TagEditHelper.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/dialogs/properties/TagEditHelper.java	(revision 10679)
+++ trunk/src/org/openstreetmap/josm/gui/dialogs/properties/TagEditHelper.java	(revision 10680)
@@ -529,5 +529,5 @@
         protected AutoCompletingComboBox values;
 
-        AbstractTagsDialog(Component parent, String title, String[] buttonTexts) {
+        AbstractTagsDialog(Component parent, String title, String ... buttonTexts) {
             super(parent, title, buttonTexts);
             addMouseListener(new PopupMenuLauncher(popupMenu));
Index: trunk/src/org/openstreetmap/josm/gui/dialogs/relation/MemberTableModel.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/dialogs/relation/MemberTableModel.java	(revision 10679)
+++ trunk/src/org/openstreetmap/josm/gui/dialogs/relation/MemberTableModel.java	(revision 10680)
@@ -254,5 +254,5 @@
     }
 
-    public void moveUp(int[] selectedRows) {
+    public void moveUp(int ... selectedRows) {
         if (!canMoveUp(selectedRows))
             return;
@@ -275,5 +275,5 @@
     }
 
-    public void moveDown(int[] selectedRows) {
+    public void moveDown(int ... selectedRows) {
         if (!canMoveDown(selectedRows))
             return;
@@ -298,5 +298,5 @@
     }
 
-    public void remove(int[] selectedRows) {
+    public void remove(int ... selectedRows) {
         if (!canRemove(selectedRows))
             return;
@@ -312,5 +312,5 @@
     }
 
-    public boolean canMoveUp(int[] rows) {
+    public boolean canMoveUp(int ... rows) {
         if (rows == null || rows.length == 0)
             return false;
@@ -319,5 +319,5 @@
     }
 
-    public boolean canMoveDown(int[] rows) {
+    public boolean canMoveDown(int ... rows) {
         if (rows == null || rows.length == 0)
             return false;
@@ -326,5 +326,5 @@
     }
 
-    public boolean canRemove(int[] rows) {
+    public boolean canRemove(int ... rows) {
         if (rows == null || rows.length == 0)
             return false;
Index: trunk/src/org/openstreetmap/josm/gui/history/TwoColumnDiff.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/history/TwoColumnDiff.java	(revision 10679)
+++ trunk/src/org/openstreetmap/josm/gui/history/TwoColumnDiff.java	(revision 10680)
@@ -64,5 +64,5 @@
     boolean referenceReversed;
 
-    TwoColumnDiff(Object[] reference, Object[] current) {
+    TwoColumnDiff(Object[] reference, Object ... current) {
         this.reference = Utils.copyArray(reference);
         this.current = Utils.copyArray(current);
Index: trunk/src/org/openstreetmap/josm/gui/io/UploadSelectionDialog.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/io/UploadSelectionDialog.java	(revision 10679)
+++ trunk/src/org/openstreetmap/josm/gui/io/UploadSelectionDialog.java	(revision 10680)
@@ -239,5 +239,5 @@
         }
 
-        public List<OsmPrimitive> getPrimitives(int[] indices) {
+        public List<OsmPrimitive> getPrimitives(int ... indices) {
             if (indices == null || indices.length == 0)
                 return Collections.emptyList();
Index: trunk/src/org/openstreetmap/josm/gui/layer/gpx/ChooseTrackVisibilityAction.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/layer/gpx/ChooseTrackVisibilityAction.java	(revision 10679)
+++ trunk/src/org/openstreetmap/josm/gui/layer/gpx/ChooseTrackVisibilityAction.java	(revision 10680)
@@ -128,5 +128,5 @@
      * @return non-editable table
      */
-    private JTable buildTable(Object[][] content) {
+    private JTable buildTable(Object[]... content) {
         final String[] headers = {tr("Name"), tr("Description"), tr("Timespan"), tr("Length"), tr("URL")};
         DefaultTableModel model = new DefaultTableModel(content, headers);
Index: trunk/src/org/openstreetmap/josm/gui/layer/gpx/ImportImagesAction.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/layer/gpx/ImportImagesAction.java	(revision 10679)
+++ trunk/src/org/openstreetmap/josm/gui/layer/gpx/ImportImagesAction.java	(revision 10680)
@@ -41,5 +41,5 @@
     }
 
-    private static void addRecursiveFiles(List<File> files, File[] sel) {
+    private static void addRecursiveFiles(List<File> files, File ... sel) {
         if (sel == null) { // listFiles might return null
             return;
Index: trunk/src/org/openstreetmap/josm/gui/mappaint/styleelement/NodeElement.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/mappaint/styleelement/NodeElement.java	(revision 10679)
+++ trunk/src/org/openstreetmap/josm/gui/mappaint/styleelement/NodeElement.java	(revision 10680)
@@ -142,5 +142,5 @@
     }
 
-    public static MapImage createIcon(final Environment env, final String[] keys) {
+    public static MapImage createIcon(final Environment env, final String ... keys) {
         CheckParameterUtil.ensureParameterNotNull(env, "env");
         CheckParameterUtil.ensureParameterNotNull(keys, "keys");
Index: trunk/src/org/openstreetmap/josm/gui/tagging/TagEditorModel.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/tagging/TagEditorModel.java	(revision 10679)
+++ trunk/src/org/openstreetmap/josm/gui/tagging/TagEditorModel.java	(revision 10680)
@@ -272,5 +272,5 @@
      * @param tagIndices a list of tag indices
      */
-    public void deleteTagNames(int[] tagIndices) {
+    public void deleteTagNames(int ... tagIndices) {
         if (tags == null)
             return;
@@ -291,5 +291,5 @@
      * @param tagIndices the lit of tag indices
      */
-    public void deleteTagValues(int[] tagIndices) {
+    public void deleteTagValues(int ... tagIndices) {
         if (tags == null)
             return;
@@ -334,5 +334,5 @@
      * @param tagIndices the list of tag indices
      */
-    public void deleteTags(int[] tagIndices) {
+    public void deleteTags(int ... tagIndices) {
         if (tags == null)
             return;
Index: trunk/src/org/openstreetmap/josm/gui/tagging/presets/TaggingPresetSelector.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/tagging/presets/TaggingPresetSelector.java	(revision 10679)
+++ trunk/src/org/openstreetmap/josm/gui/tagging/presets/TaggingPresetSelector.java	(revision 10680)
@@ -118,5 +118,5 @@
         }
 
-        private static int isMatching(Collection<String> values, String[] searchString) {
+        private static int isMatching(Collection<String> values, String ... searchString) {
             int sum = 0;
             for (String word: searchString) {
@@ -142,13 +142,13 @@
         }
 
-        int isMatchingGroup(String[] words) {
+        int isMatchingGroup(String ... words) {
             return isMatching(groups, words);
         }
 
-        int isMatchingName(String[] words) {
+        int isMatchingName(String ... words) {
             return isMatching(names, words);
         }
 
-        int isMatchingTags(String[] words) {
+        int isMatchingTags(String ... words) {
             return isMatching(tags, words);
         }
Index: trunk/src/org/openstreetmap/josm/gui/tagging/presets/items/ComboMultiSelect.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/tagging/presets/items/ComboMultiSelect.java	(revision 10679)
+++ trunk/src/org/openstreetmap/josm/gui/tagging/presets/items/ComboMultiSelect.java	(revision 10680)
@@ -158,5 +158,5 @@
         private final String delimiter;
 
-        protected ConcatenatingJList(String del, PresetListEntry[] o) {
+        protected ConcatenatingJList(String del, PresetListEntry ... o) {
             super(o);
             delimiter = del;
Index: trunk/src/org/openstreetmap/josm/gui/widgets/QuadStateCheckBox.java
===================================================================
--- trunk/src/org/openstreetmap/josm/gui/widgets/QuadStateCheckBox.java	(revision 10679)
+++ trunk/src/org/openstreetmap/josm/gui/widgets/QuadStateCheckBox.java	(revision 10680)
@@ -53,5 +53,5 @@
      * @param allowed The allowed states
      */
-    public QuadStateCheckBox(String text, Icon icon, State initial, State[] allowed) {
+    public QuadStateCheckBox(String text, Icon icon, State initial, State ... allowed) {
         super(text, icon);
         this.allowed = Utils.copyArray(allowed);
@@ -86,5 +86,5 @@
      * @param allowed The allowed states
      */
-    public QuadStateCheckBox(String text, State initial, State[] allowed) {
+    public QuadStateCheckBox(String text, State initial, State ... allowed) {
         this(text, null, initial, allowed);
     }
Index: trunk/src/org/openstreetmap/josm/tools/Diff.java
===================================================================
--- trunk/src/org/openstreetmap/josm/tools/Diff.java	(revision 10679)
+++ trunk/src/org/openstreetmap/josm/tools/Diff.java	(revision 10680)
@@ -567,5 +567,5 @@
          * @see #equivCount()
          */
-        private byte[] discardable(final int[] counts) {
+        private byte[] discardable(final int ... counts) {
             final int end = bufferedLines;
             final byte[] discards = new byte[end];
Index: trunk/src/org/openstreetmap/josm/tools/ImageProvider.java
===================================================================
--- trunk/src/org/openstreetmap/josm/tools/ImageProvider.java	(revision 10679)
+++ trunk/src/org/openstreetmap/josm/tools/ImageProvider.java	(revision 10680)
@@ -1838,5 +1838,5 @@
     }
 
-    private static Color parseRGB(String[] s) {
+    private static Color parseRGB(String ... s) {
         int[] rgb = new int[3];
         try {
Index: trunk/src/org/openstreetmap/josm/tools/Utils.java
===================================================================
--- trunk/src/org/openstreetmap/josm/tools/Utils.java	(revision 10679)
+++ trunk/src/org/openstreetmap/josm/tools/Utils.java	(revision 10680)
@@ -405,5 +405,5 @@
      * @since 6222
      */
-    public static char[] copyArray(char[] array) {
+    public static char[] copyArray(char ... array) {
         if (array != null) {
             return Arrays.copyOf(array, array.length);
@@ -418,5 +418,5 @@
      * @since 7436
      */
-    public static int[] copyArray(int[] array) {
+    public static int[] copyArray(int ... array) {
         if (array != null) {
             return Arrays.copyOf(array, array.length);
@@ -928,5 +928,5 @@
     }
 
-    private static String strip(final String str, final char[] skipChars) {
+    private static String strip(final String str, final char ... skipChars) {
 
         int start = 0;
Index: trunk/src/org/openstreetmap/josm/tools/template_engine/CompoundTemplateEntry.java
===================================================================
--- trunk/src/org/openstreetmap/josm/tools/template_engine/CompoundTemplateEntry.java	(revision 10679)
+++ trunk/src/org/openstreetmap/josm/tools/template_engine/CompoundTemplateEntry.java	(revision 10680)
@@ -13,5 +13,5 @@
     }
 
-    private CompoundTemplateEntry(TemplateEntry[] entries) {
+    private CompoundTemplateEntry(TemplateEntry ... entries) {
         this.entries = entries;
     }
