Permalink
Browse files

Reduced memory consumption of artifact descriptor cache

  • Loading branch information...
1 parent c95e400 commit 8fdffd55f0a4b5a33785ac8d1abdfa8ad0da50a3 @bentmann bentmann committed Aug 19, 2012
Showing with 1 addition and 5 deletions.
  1. +1 −5 aether-impl/src/main/java/org/eclipse/aether/internal/impl/DataPool.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2010, 2011 Sonatype, Inc.
+ * Copyright (c) 2010, 2012 Sonatype, Inc.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -190,8 +190,6 @@ public void putNode( Object key, GraphNode node )
final Artifact artifact;
- final Map<String, Object> properties;
-
final List<Artifact> relocations;
final List<RemoteRepository> repositories;
@@ -203,7 +201,6 @@ public void putNode( Object key, GraphNode node )
public GoodDescriptor( ArtifactDescriptorResult result )
{
artifact = result.getArtifact();
- properties = result.getProperties();
relocations = result.getRelocations();
dependencies = result.getDependencies();
managedDependencies = result.getManagedDependencies();
@@ -214,7 +211,6 @@ public ArtifactDescriptorResult toResult( ArtifactDescriptorRequest request )
{
ArtifactDescriptorResult result = new ArtifactDescriptorResult( request );
result.setArtifact( artifact );
- result.setProperties( properties );
result.setRelocations( relocations );
result.setDependencies( dependencies );
result.setManagedDependencies( dependencies );

0 comments on commit 8fdffd5

Please sign in to comment.