diff --git a/rtd_phosphonetx/source/java/ch/systemsx/cisd/openbis/plugin/phosphonetx/server/business/SampleLoader.java b/rtd_phosphonetx/source/java/ch/systemsx/cisd/openbis/plugin/phosphonetx/server/business/SampleLoader.java
index 1ce33e6907ce0a6b5a815ac7fa5368e8ae7fa46d..8e9b5c25422f0cb716b97645e45f8481256ea160 100644
--- a/rtd_phosphonetx/source/java/ch/systemsx/cisd/openbis/plugin/phosphonetx/server/business/SampleLoader.java
+++ b/rtd_phosphonetx/source/java/ch/systemsx/cisd/openbis/plugin/phosphonetx/server/business/SampleLoader.java
@@ -35,14 +35,14 @@ import ch.systemsx.cisd.openbis.generic.shared.dto.SampleTypePE;
 import ch.systemsx.cisd.openbis.generic.shared.dto.Session;
 
 /**
- * 
- *
  * @author Franz-Josef Elmer
  */
 public class SampleLoader implements ISampleLoader
 {
     private final Session session;
+
     private final IDAOFactory daoFactory;
+
     private final ICommonBusinessObjectFactory businessObjectFactory;
 
     public SampleLoader(Session session, IDAOFactory daoFactory,
@@ -51,9 +51,9 @@ public class SampleLoader implements ISampleLoader
         this.session = session;
         this.daoFactory = daoFactory;
         this.businessObjectFactory = businessObjectFactory;
-        
+
     }
-    
+
     public List<Sample> listSamplesWithParentsByTypeAndSpace(String sampleTypeCode, String spaceCode)
     {
         ISampleLister sampleLister = businessObjectFactory.createSampleLister(session);
@@ -109,13 +109,11 @@ public class SampleLoader implements ISampleLoader
                         }
                     });
         Set<Long> filteredSampleIDs = new HashSet<Long>();
-        Set<Long> parentIDs = new HashSet<Long>();
         for (SampleRelationShipSkeleton sampleRelationShipSkeleton : relationshipSkeletons)
         {
             filteredSampleIDs.add(sampleRelationShipSkeleton.getChildSampleID());
-            parentIDs.add(sampleRelationShipSkeleton.getParentSampleID());
         }
         return filteredSampleIDs;
     }
-    
+
 }