You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-commits@db.apache.org by ka...@apache.org on 2006/11/06 20:58:19 UTC

svn commit: r471862 - /db/derby/code/trunk/java/engine/org/apache/derby/iapi/store/raw/PageKey.java

Author: kahatlen
Date: Mon Nov  6 11:58:18 2006
New Revision: 471862

URL: http://svn.apache.org/viewvc?view=rev&rev=471862
Log:
DERBY-2046: Make class org.apache.derby.iapi.store.raw.PageKey final

The methods of the PageKey class are called frequently both from the
lock manager and the cache manager. Since no other classes extend it,
it should be declared final to help the run-time compiler optimize the
method calls.

Modified:
    db/derby/code/trunk/java/engine/org/apache/derby/iapi/store/raw/PageKey.java

Modified: db/derby/code/trunk/java/engine/org/apache/derby/iapi/store/raw/PageKey.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/engine/org/apache/derby/iapi/store/raw/PageKey.java?view=diff&rev=471862&r1=471861&r2=471862
==============================================================================
--- db/derby/code/trunk/java/engine/org/apache/derby/iapi/store/raw/PageKey.java (original)
+++ db/derby/code/trunk/java/engine/org/apache/derby/iapi/store/raw/PageKey.java Mon Nov  6 11:58:18 2006
@@ -37,7 +37,7 @@
 */
 
 
-public class PageKey
+public final class PageKey
 {
 	private final ContainerKey	container;
 	private final long	pageNumber;		// page number