You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by sl...@apache.org on 2020/06/22 22:12:16 UTC
[maven-shared-utils] branch master updated: Remove unused containers
This is an automated email from the ASF dual-hosted git repository.
slachiewicz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-shared-utils.git
The following commit(s) were added to refs/heads/master by this push:
new 8159ddb Remove unused containers
8159ddb is described below
commit 8159ddbf5fc3317b85609c785011d8032815def6
Author: Piotrek Żygieło <pz...@users.noreply.github.com>
AuthorDate: Wed Jun 10 11:14:40 2020 +0200
Remove unused containers
This closes #55
---
.../maven/shared/utils/xml/Xpp3DomBuilder.java | 30 ----------------------
1 file changed, 30 deletions(-)
diff --git a/src/main/java/org/apache/maven/shared/utils/xml/Xpp3DomBuilder.java b/src/main/java/org/apache/maven/shared/utils/xml/Xpp3DomBuilder.java
index 8242208..bfa77f3 100644
--- a/src/main/java/org/apache/maven/shared/utils/xml/Xpp3DomBuilder.java
+++ b/src/main/java/org/apache/maven/shared/utils/xml/Xpp3DomBuilder.java
@@ -24,7 +24,6 @@ import org.apache.maven.shared.utils.xml.pull.XmlPullParserException;
import org.xml.sax.Attributes;
import org.xml.sax.InputSource;
import org.xml.sax.SAXException;
-import org.xml.sax.SAXParseException;
import org.xml.sax.XMLReader;
import org.xml.sax.helpers.DefaultHandler;
@@ -193,14 +192,6 @@ public class Xpp3DomBuilder
private final List<StringBuilder> values = new ArrayList<StringBuilder>();
- // Todo: Use these for something smart !
- private final List<SAXParseException> warnings = new ArrayList<SAXParseException>();
-
- private final List<SAXParseException> errors = new ArrayList<SAXParseException>();
-
- private final List<SAXParseException> fatals = new ArrayList<SAXParseException>();
-
-
Xpp3Dom result = null;
private final boolean trim;
@@ -250,27 +241,6 @@ public class Xpp3DomBuilder
}
}
- @Override
- public void warning( SAXParseException e )
- throws SAXException
- {
- warnings.add( e );
- }
-
- @Override
- public void error( SAXParseException e )
- throws SAXException
- {
- errors.add( e );
- }
-
- @Override
- public void fatalError( SAXParseException e )
- throws SAXException
- {
- fatals.add( e );
- }
-
private Xpp3Dom pop()
{
int depth = elemStack.size() - 1;