Ignore:
Timestamp:
2015-10-10T15:47:41+02:00 (9 years ago)
Author:
Don-vip
Message:

sonar - squid:S1149 - Synchronized classes Vector, Hashtable, Stack and StringBuffer should not be used

File:
1 edited

Legend:

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

    r8846 r8851  
    1010import java.lang.reflect.Method;
    1111import java.lang.reflect.Modifier;
     12import java.util.ArrayDeque;
     13import java.util.Deque;
    1214import java.util.HashMap;
    1315import java.util.Iterator;
     
    1618import java.util.Locale;
    1719import java.util.Map;
    18 import java.util.Stack;
    1920
    2021import javax.xml.XMLConstants;
     
    6465
    6566    private class Parser extends DefaultHandler {
    66         private Stack<Object> current = new Stack<>();
     67        private Deque<Object> current = new ArrayDeque<>();
    6768        private StringBuilder characters = new StringBuilder(64);
    6869
Note: See TracChangeset for help on using the changeset viewer.