blackears / svgSalamander

155 stars 56 forks source link

Possible typo in the code #49

Closed mgarin closed 4 years ago

mgarin commented 4 years ago

I was checking the source code of SVGUniverse and found this line: https://github.com/blackears/svgSalamander/blob/master/svg-core/src/main/java/com/kitfox/svg/SVGUniverse.java#L393

Was it supposed to be:

url = SVGUniverse.class.getResource( xmlBase.getPath() );

Instead of the:

url = SVGUniverse.class.getResource("xmlBase.getPath()");

by any chance?

blackears commented 4 years ago

Yes, that looks like bug. Thanks for the catch.