Ignore:
Timestamp:
2017-02-02T00:08:08+01:00 (7 years ago)
Author:
Don-vip
Message:

see #14319 - update to latest version of svgSalamander (2017-01-07, patched)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/com/kitfox/svg/SVGDiagram.java

    r8084 r11525  
    6262   
    6363    //Indexes elements within this SVG diagram
    64     final HashMap idMap = new HashMap();
     64    final HashMap<String, SVGElement> idMap = new HashMap<>();
    6565
    6666    SVGRoot root;
     
    116116     * @return the passed in list
    117117     */
    118     public List pick(Point2D point, List retVec) throws SVGException
     118    public List<List<SVGElement>> pick(Point2D point, List<List<SVGElement>> retVec) throws SVGException
    119119    {
    120120        return pick(point, false, retVec);
    121121    }
    122122   
    123     public List pick(Point2D point, boolean boundingBox, List retVec) throws SVGException
     123    public List<List<SVGElement>> pick(Point2D point, boolean boundingBox, List<List<SVGElement>> retVec) throws SVGException
    124124    {
    125125        if (retVec == null)
    126126        {
    127             retVec = new ArrayList();
     127            retVec = new ArrayList<>();
    128128        }
    129129       
     
    133133    }
    134134
    135     public List pick(Rectangle2D pickArea, List retVec) throws SVGException
     135    public List<List<SVGElement>> pick(Rectangle2D pickArea, List<List<SVGElement>> retVec) throws SVGException
    136136    {
    137137        return pick(pickArea, false, retVec);
    138138    }
    139139   
    140     public List pick(Rectangle2D pickArea, boolean boundingBox, List retVec) throws SVGException
     140    public List<List<SVGElement>> pick(Rectangle2D pickArea, boolean boundingBox, List<List<SVGElement>> retVec) throws SVGException
    141141    {
    142142        if (retVec == null)
    143143        {
    144             retVec = new ArrayList();
     144            retVec = new ArrayList<>();
    145145        }
    146146       
Note: See TracChangeset for help on using the changeset viewer.