From 36f1b98df0788a9d8366fb7db7d5f10344d45a51 Mon Sep 17 00:00:00 2001
From: tpylak <tpylak>
Date: Wed, 18 May 2011 11:54:03 +0000
Subject: [PATCH] LMS-2256 minor: remove GWT specific code from DTO

SVN: 21369
---
 .../dto/MaterialAllReplicasFeatureVectors.java | 18 +++++-------------
 1 file changed, 5 insertions(+), 13 deletions(-)

diff --git a/screening/source/java/ch/systemsx/cisd/openbis/plugin/screening/server/logic/dto/MaterialAllReplicasFeatureVectors.java b/screening/source/java/ch/systemsx/cisd/openbis/plugin/screening/server/logic/dto/MaterialAllReplicasFeatureVectors.java
index c509cde17e6..98a03b169b9 100644
--- a/screening/source/java/ch/systemsx/cisd/openbis/plugin/screening/server/logic/dto/MaterialAllReplicasFeatureVectors.java
+++ b/screening/source/java/ch/systemsx/cisd/openbis/plugin/screening/server/logic/dto/MaterialAllReplicasFeatureVectors.java
@@ -2,7 +2,6 @@ package ch.systemsx.cisd.openbis.plugin.screening.server.logic.dto;
 
 import java.util.List;
 
-import ch.systemsx.cisd.openbis.generic.shared.basic.ISerializable;
 import ch.systemsx.cisd.openbis.generic.shared.basic.dto.CodeAndLabel;
 import ch.systemsx.cisd.openbis.generic.shared.basic.dto.ServiceVersionHolder;
 import ch.systemsx.cisd.openbis.plugin.screening.shared.basic.dto.MaterialFeatureVectorSummary;
@@ -12,26 +11,20 @@ import ch.systemsx.cisd.openbis.plugin.screening.shared.basic.dto.MaterialFeatur
  * 
  * @author Tomasz Pylak
  */
-public class MaterialAllReplicasFeatureVectors implements ISerializable
+public class MaterialAllReplicasFeatureVectors
 {
     private static final long serialVersionUID = ServiceVersionHolder.VERSION;
 
     // NOTE: has the same length as feature vectors in all summaries
-    private List<CodeAndLabel> featureDescriptions;
+    private final List<CodeAndLabel> featureDescriptions;
 
-    private MaterialFeatureVectorSummary generalSummary;
+    private final MaterialFeatureVectorSummary generalSummary;
 
     // NOTE: Can be empty.
-    private List<MaterialBiologicalReplicateFeatureVector> biologicalReplicates;
+    private final List<MaterialBiologicalReplicateFeatureVector> biologicalReplicates;
 
     // NOTE: Can be empty. Used for replicas which have no subgroups
-    private List<MaterialTechnicalReplicateFeatureVector> directTechnicalReplicates;
-
-    // GWT only
-    @SuppressWarnings("unused")
-    private MaterialAllReplicasFeatureVectors()
-    {
-    }
+    private final List<MaterialTechnicalReplicateFeatureVector> directTechnicalReplicates;
 
     public MaterialAllReplicasFeatureVectors(List<CodeAndLabel> featureDescriptions,
             MaterialFeatureVectorSummary generalSummary,
@@ -63,5 +56,4 @@ public class MaterialAllReplicasFeatureVectors implements ISerializable
     {
         return directTechnicalReplicates;
     }
-
 }
\ No newline at end of file
-- 
GitLab