You are viewing a plain text version of this content. The canonical link for it is here.
Posted to xindice-dev@xml.apache.org by vg...@apache.org on 2006/11/08 00:46:51 UTC

svn commit: r472332 - /xml/xindice/trunk/java/src/org/apache/xindice/core/data/Record.java

Author: vgritsenko
Date: Tue Nov  7 15:46:50 2006
New Revision: 472332

URL: http://svn.apache.org/viewvc?view=rev&rev=472332
Log:
cleanup

Modified:
    xml/xindice/trunk/java/src/org/apache/xindice/core/data/Record.java

Modified: xml/xindice/trunk/java/src/org/apache/xindice/core/data/Record.java
URL: http://svn.apache.org/viewvc/xml/xindice/trunk/java/src/org/apache/xindice/core/data/Record.java?view=diff&rev=472332&r1=472331&r2=472332
==============================================================================
--- xml/xindice/trunk/java/src/org/apache/xindice/core/data/Record.java (original)
+++ xml/xindice/trunk/java/src/org/apache/xindice/core/data/Record.java Tue Nov  7 15:46:50 2006
@@ -13,7 +13,7 @@
  * See the License for the specific language governing permissions and
  * limitations under the License.
  *
- * CVS $Id$
+ * $Id$
  */
 
 package org.apache.xindice.core.data;
@@ -24,7 +24,7 @@
  * Record is a container for Key/Value pair.  Record also provides
  * metadata for a Value stored in the database.
  *
- * @version CVS $Revision$, $Date$
+ * @version $Revision$, $Date$
  */
 public final class Record {
     public static final String CREATED = "created";
@@ -32,11 +32,14 @@
     public static final String OWNER = "owner";
     public static final String GROUP = "group";
 
-    private Key key = null;
-    private Value value = null;
-    private Map meta = null;
+    private final Key key;
+    private Value value;
+    private final Map meta;
+
 
     public Record() {
+        this.key = null;
+        this.meta = null;
     }
 
     public Record(Key key, Value value, Map meta) {
@@ -48,6 +51,7 @@
     public Record(Key key, Value value) {
         this.key = key;
         this.value = value;
+        this.meta = null;
     }
 
     /**