summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkitfox2011-03-13 00:18:53 +0100
committerkitfox2011-03-13 00:18:53 +0100
commite78a888db9bfc676a70acb1c575599160d3ed031 (patch)
treecacf686376ff89f567612dbd8115fe807d8559bc
parent[maven-release-plugin] prepare release svg-core-1.0.8 (diff)
downloadsvg-salamander-core-e78a888db9bfc676a70acb1c575599160d3ed031.tar.gz
svg-salamander-core-e78a888db9bfc676a70acb1c575599160d3ed031.tar.xz
svg-salamander-core-e78a888db9bfc676a70acb1c575599160d3ed031.zip
Missing tag warning now only printed if verbose mode is on. Tweaking the pom.xml file to get $#!& Maven to work.
git-svn-id: https://svn.java.net/svn/svgsalamander~svn/trunk/svg-core@92 7dc7fa77-23fb-e6ad-8e2e-c86bd48ed22b
-rw-r--r--pom.xml2
-rw-r--r--src/main/java/com/kitfox/svg/SVGLoader.java5
2 files changed, 5 insertions, 2 deletions
diff --git a/pom.xml b/pom.xml
index 145e70a..908a6c7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -11,7 +11,7 @@
<!-- TODO Mark: replace with com.kitfox -->
<groupId>com.kitfox</groupId>
<artifactId>svg-core</artifactId>
- <version>1.0.8</version>
+ <version>1.0.8-SNAPSHOT</version>
<packaging>jar</packaging>
<name>${project.artifactId}</name>
diff --git a/src/main/java/com/kitfox/svg/SVGLoader.java b/src/main/java/com/kitfox/svg/SVGLoader.java
index ecace13..c86978d 100644
--- a/src/main/java/com/kitfox/svg/SVGLoader.java
+++ b/src/main/java/com/kitfox/svg/SVGLoader.java
@@ -168,7 +168,10 @@ public class SVGLoader extends DefaultHandler
{
if (!ignoreClasses.contains(sName))
{
- System.err.println("SVGLoader: Could not identify tag '" + sName + "'");
+ if (verbose)
+ {
+ System.err.println("SVGLoader: Could not identify tag '" + sName + "'");
+ }
}
return;
}