From: Olivier Lamy Date: Tue, 26 Jun 2012 17:24:21 +0000 (+0000) Subject: remove commented code X-Git-Tag: archiva-1.4-M3~597 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d4caedfafb1f824a85171cab3a4f3b0abd96bc4b;p=archiva.git remove commented code git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1354117 13f79535-47bb-0310-9956-ffa450edef68 --- 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 e5be2d2b3..5322e2d91 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 @@ -216,24 +216,6 @@ public class JcrMetadataRepository } } } - /* - for ( MetadataFacet facet : artifactMeta.getFacetList() ) - { - if ( node.hasNode( facet.getFacetId() ) ) - { - node.getNode( facet.getFacetId() ).remove(); - } - - // recreate, to ensure properties are removed - Node n = node.addNode( facet.getFacetId() ); - n.addMixin( FACET_NODE_TYPE ); - - for ( Map.Entry entry : facet.toProperties().entrySet() ) - { - n.setProperty( entry.getKey(), entry.getValue() ); - } - } - */ } catch ( RepositoryException e ) {