aboutsummaryrefslogtreecommitdiffstats
path: root/archiva-modules/archiva-base/archiva-xml-tools
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2012-12-31 14:13:56 +0000
committerOlivier Lamy <olamy@apache.org>2012-12-31 14:13:56 +0000
commit7afb00d1c8088c6cf777d3db72bffaaf980e587a (patch)
tree8ebcff2d0365f8fec5d5cecd29184f3d420e8fa2 /archiva-modules/archiva-base/archiva-xml-tools
parent0daef64c18b2a5f4cf9da278f430aae020982213 (diff)
downloadarchiva-7afb00d1c8088c6cf777d3db72bffaaf980e587a.tar.gz
archiva-7afb00d1c8088c6cf777d3db72bffaaf980e587a.zip
non necessary local variable
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1427126 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/archiva-base/archiva-xml-tools')
-rw-r--r--archiva-modules/archiva-base/archiva-xml-tools/src/main/java/org/apache/archiva/xml/XMLReader.java3
1 files changed, 1 insertions, 2 deletions
diff --git a/archiva-modules/archiva-base/archiva-xml-tools/src/main/java/org/apache/archiva/xml/XMLReader.java b/archiva-modules/archiva-base/archiva-xml-tools/src/main/java/org/apache/archiva/xml/XMLReader.java
index 3e5269bf9..d87c176f7 100644
--- a/archiva-modules/archiva-base/archiva-xml-tools/src/main/java/org/apache/archiva/xml/XMLReader.java
+++ b/archiva-modules/archiva-base/archiva-xml-tools/src/main/java/org/apache/archiva/xml/XMLReader.java
@@ -158,8 +158,7 @@ public class XMLReader
if ( evaluated instanceof Element )
{
- Element evalElem = (Element) evaluated;
- return evalElem;
+ return (Element) evaluated;
}
else
{