]> source.dussan.org Git - archiva.git/commitdiff
remove commented code
authorOlivier Lamy <olamy@apache.org>
Tue, 26 Jun 2012 17:24:21 +0000 (17:24 +0000)
committerOlivier Lamy <olamy@apache.org>
Tue, 26 Jun 2012 17:24:21 +0000 (17:24 +0000)
git-svn-id: https://svn.apache.org/repos/asf/archiva/trunk@1354117 13f79535-47bb-0310-9956-ffa450edef68

archiva-modules/plugins/metadata-store-jcr/src/main/java/org/apache/archiva/metadata/repository/jcr/JcrMetadataRepository.java

index e5be2d2b38987a116f86b2e6b6d9107f1c2381d6..5322e2d918295351036c5b9b8fc79bc527c4a148 100644 (file)
@@ -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<String, String> entry : facet.toProperties().entrySet() )
-                {
-                    n.setProperty( entry.getKey(), entry.getValue() );
-                }
-            }
-            */
         }
         catch ( RepositoryException e )
         {