Changeset 17333 in josm for trunk/src/com/kitfox/svg/xml


Ignore:
Timestamp:
2020-11-23T16:28:11+01:00 (4 years ago)
Author:
Don-vip
Message:

see #20129 - Fix typos and misspellings in the code (patch by gaben)

Location:
trunk/src/com/kitfox/svg/xml
Files:
2 edited

Legend:

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

    r15901 r17333  
    5555    static final Pattern patternUrl = Pattern.compile("\\s*url\\((.*)\\)\\s*");
    5656    static final Matcher matchFpNumUnits = Pattern.compile("\\s*([-+]?((\\d*\\.\\d+)|(\\d+))([-+]?[eE]\\d+)?)\\s*(px|cm|mm|in|pc|pt|em|ex)\\s*").matcher("");
    57    
     57
    5858    String name;
    5959    String stringValue;
    6060
    61     boolean colorCompatable = false;
    62     boolean urlCompatable = false;
     61    boolean colorCompatible = false;
     62    boolean urlCompatible = false;
    6363
    6464    /** Creates a new instance of StyleAttribute */
     
    6767        this(null, null);
    6868    }
    69    
    70     public StyleAttribute(String name) 
     69
     70    public StyleAttribute(String name)
    7171    {
    7272        this(name, null);
     
    239239        return getURIValue(null);
    240240    }
    241    
     241
    242242    /**
    243      * Parse this sytle attribute as a URL and return it in URI form resolved
     243     * Parse this style attribute as a URL and return it in URI form resolved
    244244     * against the passed base.
    245245     *
  • trunk/src/com/kitfox/svg/xml/XMLParseUtil.java

    r15912 r17333  
    168168     * Scans an input string for double values.  For each value found, places
    169169     * in a list.  This method regards any characters not part of a floating
    170      * point value to be seperators.  Thus this will parse whitespace seperated,
    171      * comma seperated, and many other separation schemes correctly.
     170     * point value to be separators.  Thus this will parse whitespace separated,
     171     * comma separated, and many other separation schemes correctly.
    172172     */
    173173    public synchronized static double[] parseDoubleList(String list)
Note: See TracChangeset for help on using the changeset viewer.