You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2013/08/18 17:09:14 UTC
svn commit: r1515131 -
/jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/store/NodeId.java
Author: andy
Date: Sun Aug 18 15:09:14 2013
New Revision: 1515131
URL: http://svn.apache.org/r1515131
Log:
Remove comments that are no longer valid.
Modified:
jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/store/NodeId.java
Modified: jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/store/NodeId.java
URL: http://svn.apache.org/viewvc/jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/store/NodeId.java?rev=1515131&r1=1515130&r2=1515131&view=diff
==============================================================================
--- jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/store/NodeId.java (original)
+++ jena/trunk/jena-tdb/src/main/java/com/hp/hpl/jena/tdb/store/NodeId.java Sun Aug 18 15:09:14 2013
@@ -40,20 +40,6 @@ public class NodeId
public static final NodeId NodeDoesNotExist = new NodeId(-8) ;
public static final NodeId NodeIdAny = new NodeId(-9) ;
-// public static final NodeId n0 = new NodeId(0) ;
-// public static final NodeId n1 = new NodeId(1) ;
-// public static final NodeId n2 = new NodeId(2) ;
-//
-// public static final NodeId n3 = new NodeId(3) ;
-// public static final NodeId n4 = new NodeId(4) ;
-// public static final NodeId n5 = new NodeId(5) ;
-
-
- // NB If there is any sort of cache with a NodeId in it, then there is an object created
- // by boxing anyway (unless swap to using Trove with it's hardcoded int/long implementation)
- // Therefore the cost of a NodeId is not as great as it might be.
- // Could recycle them (but the value field wil not be final)
-
private static boolean enableInlineLiterals = true ;
public static final int SIZE = SystemTDB.SizeOfLong ;