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


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
Files:
5 edited

Legend:

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

    r8084 r17333  
    3838
    3939/**
    40  * A convienience singleton for allowing all classes to access a common SVG universe.
     40 * A convenient singleton for allowing all classes to access a common SVG universe.
    4141 *
    4242 * @author kitfox
  • trunk/src/com/kitfox/svg/SVGElement.java

    r15912 r17333  
    8888    protected String cssClass = null;
    8989    /**
    90      * Styles defined for this elemnt via the <b>style</b> attribute.
     90     * Styles defined for this element via the <b>style</b> attribute.
    9191     */
    9292    private Map<String, String> inlineStyles = Collections.emptyMap();
     
    115115     * This element may override the URI we resolve against with an xml:base
    116116     * attribute. If so, a copy is placed here. Otherwise, we defer to our
    117      * parent for the reolution base
     117     * parent for the resolution base
    118118     */
    119119    protected URI xmlBase = null;
  • trunk/src/com/kitfox/svg/pathcmd/Arc.java

    r14328 r17333  
    4343/**
    4444 * This is a little used SVG function, as most editors will save curves as
    45  * Beziers.  To reduce the need to rely on the Batik library, this functionallity
     45 * Beziers.  To reduce the need to rely on the Batik library, this functionality
    4646 * is being bypassed for the time being.  In the future, it would be nice to
    4747 * extend the GeneralPath command to include the arcTo ability provided by Batik.
  • 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.