summaryrefslogtreecommitdiffstats
path: root/archiva-modules/plugins/metadata-store-jcr
diff options
context:
space:
mode:
authorOlivier Lamy <olamy@apache.org>2014-03-26 06:02:09 +0000
committerOlivier Lamy <olamy@apache.org>2014-03-26 06:02:09 +0000
commit0bfb850c1b9b4c01980ffe60f4931bb97fd7183b (patch)
treecb471825abbd0cbd2b2bcf42e31337d8ba01011a /archiva-modules/plugins/metadata-store-jcr
parent07bae44727657923d378e9d981c6cb419b0059d9 (diff)
downloadarchiva-0bfb850c1b9b4c01980ffe60f4931bb97fd7183b.tar.gz
archiva-0bfb850c1b9b4c01980ffe60f4931bb97fd7183b.zip
some cleanup
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1581702 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'archiva-modules/plugins/metadata-store-jcr')
-rw-r--r--archiva-modules/plugins/metadata-store-jcr/src/main/java/org/apache/archiva/metadata/repository/jcr/JcrMetadataRepository.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/archiva-modules/plugins/metadata-store-jcr/src/main/java/org/apache/archiva/metadata/repository/jcr/JcrMetadataRepository.java b/archiva-modules/plugins/metadata-store-jcr/src/main/java/org/apache/archiva/metadata/repository/jcr/JcrMetadataRepository.java
index f7e4e8f88..2e51337dc 100644
--- a/archiva-modules/plugins/metadata-store-jcr/src/main/java/org/apache/archiva/metadata/repository/jcr/JcrMetadataRepository.java
+++ b/archiva-modules/plugins/metadata-store-jcr/src/main/java/org/apache/archiva/metadata/repository/jcr/JcrMetadataRepository.java
@@ -1148,8 +1148,8 @@ public class JcrMetadataRepository
for ( Node node : JcrUtils.getChildNodes( nodeAtPath ) )
{
- if ( node.isNodeType( PROJECT_VERSION_NODE_TYPE ) && StringUtils.equals( node.getName(),
- projectVersion ) )
+ if ( node.isNodeType( PROJECT_VERSION_NODE_TYPE ) //
+ && StringUtils.equals( node.getName(), projectVersion ) )
{
node.remove();
}