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

[email protected]
Newsgroups gmane.text.xml.xindice.devel
Message-ID <[email protected]>
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;
     }
 
     /**
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.