[Mulgara-svn] r1319 - trunk/src/jar/store-stringpool-xa11/java/org/mulgara/store/stringpool/xa11
pag at mulgara.org
pag at mulgara.org
Wed Oct 15 07:03:29 UTC 2008
Author: pag
Date: 2008-10-15 00:03:28 -0700 (Wed, 15 Oct 2008)
New Revision: 1319
Modified:
trunk/src/jar/store-stringpool-xa11/java/org/mulgara/store/stringpool/xa11/XA11StringPoolImpl.java
Log:
Fixed a bug in findGNode on read-only phases where a redundant phase was not being set. Fix submitted by Ronald.
Modified: trunk/src/jar/store-stringpool-xa11/java/org/mulgara/store/stringpool/xa11/XA11StringPoolImpl.java
===================================================================
--- trunk/src/jar/store-stringpool-xa11/java/org/mulgara/store/stringpool/xa11/XA11StringPoolImpl.java 2008-10-15 07:01:57 UTC (rev 1318)
+++ trunk/src/jar/store-stringpool-xa11/java/org/mulgara/store/stringpool/xa11/XA11StringPoolImpl.java 2008-10-15 07:03:28 UTC (rev 1319)
@@ -1093,9 +1093,6 @@
*/
final class ReadOnlyStringPool implements XAStringPool {
- /** The phase this string pool is associated with. */
- TreePhase phase;
-
/** Releases resources held by the string pool. Not used. */
public void close() throws StringPoolException {
throw new UnsupportedOperationException("Trying to close a read-only string pool.");
@@ -1186,7 +1183,7 @@
public long findGNode(SPObject spObject, boolean create) throws StringPoolException {
if (create) throw new UnsupportedOperationException("Trying to modify a read-only string pool.");
- return phase.findGNode(spObject, false);
+ return XA11StringPoolImpl.this.findGNode(spObject, false);
}
}
More information about the Mulgara-svn
mailing list