From c4e2f13e72daeb2c2d21c55def886bce3e6c3da0 Mon Sep 17 00:00:00 2001
From: tpylak <tpylak>
Date: Fri, 11 Feb 2011 12:37:31 +0000
Subject: [PATCH] minor: field name refactoring

SVN: 19905
---
 .../dss/generic/shared/dto/DataSetInformation.java | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/datastore_server/source/java/ch/systemsx/cisd/openbis/dss/generic/shared/dto/DataSetInformation.java b/datastore_server/source/java/ch/systemsx/cisd/openbis/dss/generic/shared/dto/DataSetInformation.java
index 06b3963273f..1ce68d289ed 100644
--- a/datastore_server/source/java/ch/systemsx/cisd/openbis/dss/generic/shared/dto/DataSetInformation.java
+++ b/datastore_server/source/java/ch/systemsx/cisd/openbis/dss/generic/shared/dto/DataSetInformation.java
@@ -50,10 +50,10 @@ public class DataSetInformation implements Serializable
     private String sampleCode;
 
     // top sample properties
-    private IEntityProperty[] properties = IEntityProperty.EMPTY_ARRAY;
+    private IEntityProperty[] topSampleProperties = IEntityProperty.EMPTY_ARRAY;
 
     private DataSetType dataSetType;
-    
+
     private String shareId;
 
     /**
@@ -90,7 +90,7 @@ public class DataSetInformation implements Serializable
      * Email of uploading user.
      */
     private String uploadingUserEmailOrNull;
-    
+
     private String uploadingUserIdOrNull;
 
     /** This constructor is for serialization. */
@@ -145,12 +145,12 @@ public class DataSetInformation implements Serializable
      */
     public final IEntityProperty[] getProperties()
     {
-        return properties == null ? new IEntityProperty[0] : properties;
+        return topSampleProperties == null ? new IEntityProperty[0] : topSampleProperties;
     }
 
     public final void setProperties(final IEntityProperty[] properties)
     {
-        this.properties = properties;
+        this.topSampleProperties = properties;
     }
 
     public DataSetType getDataSetType()
@@ -332,8 +332,8 @@ public class DataSetInformation implements Serializable
                     sampleCode);
         } else
         {
-            return String.format("CODE('%s') SAMPLE_CODE('%s') EXPERIMENT('%s')", extractableData
-                    .getCode(), sampleCode, experimentIdentifier.describe());
+            return String.format("CODE('%s') SAMPLE_CODE('%s') EXPERIMENT('%s')",
+                    extractableData.getCode(), sampleCode, experimentIdentifier.describe());
         }
     }
 
-- 
GitLab