[jbosscache-commits] JBoss Cache SVN: r6807 - in core/trunk/src: main/java/org/jboss/cache/config and 13 other directories.
jbosscache-commits at lists.jboss.org
jbosscache-commits at lists.jboss.org
Fri Sep 26 17:53:04 EDT 2008
Author: genman
Date: 2008-09-26 17:53:04 -0400 (Fri, 26 Sep 2008)
New Revision: 6807
Modified:
core/trunk/src/main/java/org/jboss/cache/DataContainer.java
core/trunk/src/main/java/org/jboss/cache/DataContainerImpl.java
core/trunk/src/main/java/org/jboss/cache/InternalNode.java
core/trunk/src/main/java/org/jboss/cache/config/Configuration.java
core/trunk/src/main/java/org/jboss/cache/config/EvictionAlgorithmConfig.java
core/trunk/src/main/java/org/jboss/cache/config/EvictionPolicyConfig.java
core/trunk/src/main/java/org/jboss/cache/config/parsing/XmlParserBase.java
core/trunk/src/main/java/org/jboss/cache/factories/ComponentRegistry.java
core/trunk/src/main/java/org/jboss/cache/interceptors/CacheStoreInterceptor.java
core/trunk/src/main/java/org/jboss/cache/interceptors/InterceptorChain.java
core/trunk/src/main/java/org/jboss/cache/interceptors/MVCCLockingInterceptor.java
core/trunk/src/main/java/org/jboss/cache/interceptors/OptimisticCreateIfNotExistsInterceptor.java
core/trunk/src/main/java/org/jboss/cache/interceptors/OptimisticReplicationInterceptor.java
core/trunk/src/main/java/org/jboss/cache/interceptors/PessimisticLockInterceptor.java
core/trunk/src/main/java/org/jboss/cache/loader/CacheLoader.java
core/trunk/src/main/java/org/jboss/cache/loader/ClusteredCacheLoader.java
core/trunk/src/main/java/org/jboss/cache/loader/FileCacheLoader.java
core/trunk/src/main/java/org/jboss/cache/lock/LockManager.java
core/trunk/src/main/java/org/jboss/cache/marshall/CacheMarshaller210.java
core/trunk/src/main/java/org/jboss/cache/mvcc/MVCCNodeFactory.java
core/trunk/src/main/java/org/jboss/cache/notifications/annotation/CacheListener.java
core/trunk/src/main/java/org/jboss/cache/optimistic/WorkspaceNode.java
core/trunk/src/main/java/org/jboss/cache/util/reflect/ReflectionUtil.java
core/trunk/src/test/java/org/jboss/cache/buddyreplication/BuddyReplicationWithCacheLoaderTest.java
core/trunk/src/test/java/org/jboss/cache/factories/ComponentRegistryFunctionalTest.java
core/trunk/src/test/java/org/jboss/cache/optimistic/ThreadedCacheAccessTest.java
Log:
Fix: "it's" == "it is", "its" == possessive
Modified: core/trunk/src/main/java/org/jboss/cache/DataContainer.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/DataContainer.java 2008-09-26 21:38:03 UTC (rev 6806)
+++ core/trunk/src/main/java/org/jboss/cache/DataContainer.java 2008-09-26 21:53:04 UTC (rev 6807)
@@ -213,11 +213,11 @@
InternalNode peekInternalNode(Fqn f, boolean includeInvalidNodes);
/**
- * Similar to {@link #peekInternalNode(Fqn, boolean)} except that the node AND it's *direct* parent are retrieved.
+ * Similar to {@link #peekInternalNode(Fqn, boolean)} except that the node AND its *direct* parent are retrieved.
*
* @param fqn fqn to find
* @param includeInvalidNodes if true, invalid nodes are considered.
- * @return an array of InternalNodes, containing 2 elements. Element [0] is the node being peeked, and element [1] is it's direct parent.
+ * @return an array of InternalNodes, containing 2 elements. Element [0] is the node being peeked, and element [1] is its direct parent.
*/
public InternalNode[] peekInternalNodeAndDirectParent(Fqn fqn, boolean includeInvalidNodes);
Modified: core/trunk/src/main/java/org/jboss/cache/DataContainerImpl.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/DataContainerImpl.java 2008-09-26 21:38:03 UTC (rev 6806)
+++ core/trunk/src/main/java/org/jboss/cache/DataContainerImpl.java 2008-09-26 21:53:04 UTC (rev 6807)
@@ -746,13 +746,6 @@
return n;
}
- /**
- * Similar to {@link #peekInternalNode(Fqn, boolean)} except that the node AND it's *direct* parent are retrieved.
- *
- * @param fqn fqn to find
- * @param includeInvalidNodes if true, invalid nodes are considered.
- * @return an array of InternalNodes, containing 2 elements. Element [0] is the node being peeked, and element [1] is it's direct parent.
- */
public InternalNode[] peekInternalNodeAndDirectParent(Fqn fqn, boolean includeInvalidNodes)
{
if (fqn == null || fqn.size() == 0) return new InternalNode[]{rootInternal, null};
Modified: core/trunk/src/main/java/org/jboss/cache/InternalNode.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/InternalNode.java 2008-09-26 21:38:03 UTC (rev 6806)
+++ core/trunk/src/main/java/org/jboss/cache/InternalNode.java 2008-09-26 21:53:04 UTC (rev 6807)
@@ -31,7 +31,7 @@
/**
* An internal node interface, that represents nodes that directly form the tree structure in the cache. This is as opposed
- * to {@link Node} and it's {@link NodeSPI} sub-interface, which are typically implemented by delegates which then delegate calls
+ * to {@link Node} and its {@link NodeSPI} sub-interface, which are typically implemented by delegates which then delegate calls
* to internal nodes, potentially after passing the call up an interceptor chain.
* <p/>
* All calls on an InternalNode are executed directly on the data structure. Usually, XXXDirect() calls on {@link NodeSPI}
Modified: core/trunk/src/main/java/org/jboss/cache/config/Configuration.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/config/Configuration.java 2008-09-26 21:38:03 UTC (rev 6806)
+++ core/trunk/src/main/java/org/jboss/cache/config/Configuration.java 2008-09-26 21:53:04 UTC (rev 6807)
@@ -22,6 +22,7 @@
package org.jboss.cache.config;
import org.jboss.cache.Version;
+import org.jboss.cache.buddyreplication.BuddyManager;
import org.jboss.cache.config.parsing.JGroupsStackParser;
import org.jboss.cache.factories.annotations.NonVolatile;
import org.jboss.cache.factories.annotations.Start;
@@ -1040,4 +1041,9 @@
testImmutability("customInterceptors");
this.customInterceptors = customInterceptors;
}
+
+ public BuddyManager getConsistentHashing() {
+ return null;
+ }
+
}
Modified: core/trunk/src/main/java/org/jboss/cache/config/EvictionAlgorithmConfig.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/config/EvictionAlgorithmConfig.java 2008-09-26 21:38:03 UTC (rev 6806)
+++ core/trunk/src/main/java/org/jboss/cache/config/EvictionAlgorithmConfig.java 2008-09-26 21:53:04 UTC (rev 6807)
@@ -24,7 +24,7 @@
/**
* An interface used to configure an eviction algorithm. Replaces the deprecated {@link org.jboss.cache.config.EvictionPolicyConfig}.
* <p/>
- * In it's most basic form, it is implemented by {@link org.jboss.cache.eviction.EvictionAlgorithmConfigBase}, but
+ * In its most basic form, it is implemented by {@link org.jboss.cache.eviction.EvictionAlgorithmConfigBase}, but
* more specific eviction policies may subclass {@link org.jboss.cache.eviction.EvictionAlgorithmConfigBase} or re-implement
* this interface to provide access to more config variables.
*
Modified: core/trunk/src/main/java/org/jboss/cache/config/EvictionPolicyConfig.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/config/EvictionPolicyConfig.java 2008-09-26 21:38:03 UTC (rev 6806)
+++ core/trunk/src/main/java/org/jboss/cache/config/EvictionPolicyConfig.java 2008-09-26 21:53:04 UTC (rev 6807)
@@ -27,7 +27,7 @@
/**
* This class encapsulates the configuration element for an eviction policy.
* <p/>
- * In it's most basic form, it is implemented by {@link EvictionPolicyConfigBase}, but
+ * In its most basic form, it is implemented by {@link EvictionPolicyConfigBase}, but
* more specific eviction policies may subclass or re-implement this interface
* to provide access to more config variables.
*
Modified: core/trunk/src/main/java/org/jboss/cache/config/parsing/XmlParserBase.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/config/parsing/XmlParserBase.java 2008-09-26 21:38:03 UTC (rev 6806)
+++ core/trunk/src/main/java/org/jboss/cache/config/parsing/XmlParserBase.java 2008-09-26 21:53:04 UTC (rev 6807)
@@ -88,7 +88,7 @@
}
/**
- * Beside querying the element for it's attribute value, it will look into the value, if any, and replace the
+ * Beside querying the element for its attribute value, it will look into the value, if any, and replace the
* jboss properties(e.g. ${someValue:defaultValue}.
* <p/>
* {@link org.jboss.util.StringPropertyReplacer#replaceProperties(String)}
Modified: core/trunk/src/main/java/org/jboss/cache/factories/ComponentRegistry.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/factories/ComponentRegistry.java 2008-09-26 21:38:03 UTC (rev 6806)
+++ core/trunk/src/main/java/org/jboss/cache/factories/ComponentRegistry.java 2008-09-26 21:53:04 UTC (rev 6807)
@@ -874,7 +874,7 @@
}
/**
- * Blocks until the current cache instance is in it's {@link org.jboss.cache.CacheStatus#STARTED started} phase. Blocks
+ * Blocks until the current cache instance is in its {@link org.jboss.cache.CacheStatus#STARTED started} phase. Blocks
* for up to {@link org.jboss.cache.config.Configuration#getStateRetrievalTimeout()} milliseconds, throwing an IllegalStateException
* if the cache doesn't reach this state even after this maximum wait time.
*
Modified: core/trunk/src/main/java/org/jboss/cache/interceptors/CacheStoreInterceptor.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/interceptors/CacheStoreInterceptor.java 2008-09-26 21:38:03 UTC (rev 6806)
+++ core/trunk/src/main/java/org/jboss/cache/interceptors/CacheStoreInterceptor.java 2008-09-26 21:53:04 UTC (rev 6807)
@@ -100,7 +100,7 @@
@Start
protected void start()
{
- // this should only happen after the CacheLoaderManager has started, since the CacheLoaderManager only creates the CacheLoader instance in it's @Start method.
+ // this should only happen after the CacheLoaderManager has started, since the CacheLoaderManager only creates the CacheLoader instance in its @Start method.
loader = loaderManager.getCacheLoader();
optimistic = configuration.getNodeLockingScheme() == NodeLockingScheme.OPTIMISTIC;
this.setStatisticsEnabled(configuration.getExposeManagementStatistics());
Modified: core/trunk/src/main/java/org/jboss/cache/interceptors/InterceptorChain.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/interceptors/InterceptorChain.java 2008-09-26 21:38:03 UTC (rev 6806)
+++ core/trunk/src/main/java/org/jboss/cache/interceptors/InterceptorChain.java 2008-09-26 21:53:04 UTC (rev 6807)
@@ -291,7 +291,7 @@
/**
* Similar to {@link #invoke(org.jboss.cache.InvocationContext , org.jboss.cache.commands.VisitableCommand)}, but
- * constructs a invocation context on the fly, using {@link InvocationContextContainer#get()} and setting the origin local flag to it's default value.
+ * constructs a invocation context on the fly, using {@link InvocationContextContainer#get()} and setting the origin local flag to its default value.
*/
public Object invoke(VisitableCommand cacheCommand) throws Throwable
{
Modified: core/trunk/src/main/java/org/jboss/cache/interceptors/MVCCLockingInterceptor.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/interceptors/MVCCLockingInterceptor.java 2008-09-26 21:38:03 UTC (rev 6806)
+++ core/trunk/src/main/java/org/jboss/cache/interceptors/MVCCLockingInterceptor.java 2008-09-26 21:53:04 UTC (rev 6807)
@@ -253,7 +253,7 @@
{
// Nodes we need to get WLs for:
- // 1) node we are moving FROM, and it's parent and ALL children. Same as removeNode.
+ // 1) node we are moving FROM, and its parent and ALL children. Same as removeNode.
List<Fqn> nodeAndChildren = helper.wrapNodesRecursivelyForRemoval(ctx, command.getFqn());
Fqn newParent = command.getTo();
Modified: core/trunk/src/main/java/org/jboss/cache/interceptors/OptimisticCreateIfNotExistsInterceptor.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/interceptors/OptimisticCreateIfNotExistsInterceptor.java 2008-09-26 21:38:03 UTC (rev 6806)
+++ core/trunk/src/main/java/org/jboss/cache/interceptors/OptimisticCreateIfNotExistsInterceptor.java 2008-09-26 21:53:04 UTC (rev 6807)
@@ -199,7 +199,7 @@
{
// no child exists with this name; create it in the underlying data structure and then add it to the workspace.
if (trace) log.trace("Creating new child, since it doesn't exist in the cache.");
- // we put the parent node into the workspace as we are changing it's children.
+ // we put the parent node into the workspace as we are changing its children.
// at this point "workspaceNode" refers to the parent of the current node. It should never be null if
// you got this far!
if (workspaceNode.isRemoved())
Modified: core/trunk/src/main/java/org/jboss/cache/interceptors/OptimisticReplicationInterceptor.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/interceptors/OptimisticReplicationInterceptor.java 2008-09-26 21:38:03 UTC (rev 6806)
+++ core/trunk/src/main/java/org/jboss/cache/interceptors/OptimisticReplicationInterceptor.java 2008-09-26 21:53:04 UTC (rev 6807)
@@ -58,7 +58,7 @@
/**
* Replication interceptor for the optimistically locked interceptor chain. Responsible for replicating
- * state to remote nodes. Unlike it's cousin, the {@link org.jboss.cache.interceptors.ReplicationInterceptor}, this interceptor
+ * state to remote nodes. Unlike its cousin, the {@link org.jboss.cache.interceptors.ReplicationInterceptor}, this interceptor
* only deals with transactional calls. Just like all things to do with Optimistic Locking, it is a requirement that
* everything is done in a transaction and the transaction context is available via {@link org.jboss.cache.InvocationContext#getTransaction()}
* and {@link org.jboss.cache.InvocationContext#getGlobalTransaction()}.
Modified: core/trunk/src/main/java/org/jboss/cache/interceptors/PessimisticLockInterceptor.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/interceptors/PessimisticLockInterceptor.java 2008-09-26 21:38:03 UTC (rev 6806)
+++ core/trunk/src/main/java/org/jboss/cache/interceptors/PessimisticLockInterceptor.java 2008-09-26 21:53:04 UTC (rev 6807)
@@ -224,7 +224,7 @@
{
if (ctx.isLockingSuppressed()) return invokeNextInterceptor(ctx, command);
- // this call will ensure the node gets a WL and it's current parent gets RL.
+ // this call will ensure the node gets a WL and its current parent gets RL.
if (trace) log.trace("Attempting to get WL on node to be moved [" + command.getFqn() + "]");
if (command.getFqn() != null && !(configuration.getIsolationLevel() == IsolationLevel.NONE))
{
Modified: core/trunk/src/main/java/org/jboss/cache/loader/CacheLoader.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/loader/CacheLoader.java 2008-09-26 21:38:03 UTC (rev 6806)
+++ core/trunk/src/main/java/org/jboss/cache/loader/CacheLoader.java 2008-09-26 21:53:04 UTC (rev 6807)
@@ -192,7 +192,7 @@
* <li>Associate the local transaction with <code>tx</code> (tx is the key)
* <li>Execute the corresponding SQL statements against the DB (statements derived from modifications)
* </ol>
- * For non-transactional CacheLoader (e.g. file-based), the implementation could attempt to implement it's own transactional
+ * For non-transactional CacheLoader (e.g. file-based), the implementation could attempt to implement its own transactional
* logic, attempting to write data to a temp location (or memory) and writing it to the proper location upon commit.
*
* @param tx The transaction, indended to be used by implementations as an identifier of the transaction (and not necessarily a JTA {@link javax.transaction.Transaction} object)
Modified: core/trunk/src/main/java/org/jboss/cache/loader/ClusteredCacheLoader.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/loader/ClusteredCacheLoader.java 2008-09-26 21:38:03 UTC (rev 6806)
+++ core/trunk/src/main/java/org/jboss/cache/loader/ClusteredCacheLoader.java 2008-09-26 21:53:04 UTC (rev 6807)
@@ -72,10 +72,10 @@
private CommandsFactory commandsFactory;
/**
- * A test to check whether the cache is in it's started state. If not, calls should not be made as the channel may
+ * A test to check whether the cache is in its started state. If not, calls should not be made as the channel may
* not have properly started, blocks due to state transfers may be in progress, etc.
*
- * @return true if the cache is in it's STARTED state.
+ * @return true if the cache is in its STARTED state.
*/
protected boolean isCacheReady()
{
Modified: core/trunk/src/main/java/org/jboss/cache/loader/FileCacheLoader.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/loader/FileCacheLoader.java 2008-09-26 21:38:03 UTC (rev 6806)
+++ core/trunk/src/main/java/org/jboss/cache/loader/FileCacheLoader.java 2008-09-26 21:53:04 UTC (rev 6807)
@@ -48,7 +48,7 @@
/**
* Simple file-based CacheLoader implementation. Nodes are directories, attributes of a node is a file in the directory
* <p/>
- * The FileCacheLoader has some severe limitations which restrict it's use in a production
+ * The FileCacheLoader has some severe limitations which restrict its use in a production
* environment, or if used in such an environment, it should be used with due care and sufficient
* understanding of these limitations.
* <ul>
@@ -59,7 +59,7 @@
* </ul>
* <p/>
* As a rule of thumb, it is recommended that the FileCacheLoader not be used in a highly concurrent,
- * transactional or stressful environment, and it's use is restricted to testing.
+ * transactional or stressful environment, and its use is restricted to testing.
* <p/>
* In terms of concurrency, file systems are notoriously inconsistent in their implementations of concurrent locks. To get around
* this and to meet the <b>thread safety</b> contracts set out in {@link CacheLoader}, this implementation uses a {@link org.jboss.cache.lock.StripedLock}
Modified: core/trunk/src/main/java/org/jboss/cache/lock/LockManager.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/lock/LockManager.java 2008-09-26 21:38:03 UTC (rev 6806)
+++ core/trunk/src/main/java/org/jboss/cache/lock/LockManager.java 2008-09-26 21:53:04 UTC (rev 6807)
@@ -326,7 +326,7 @@
Collection<Object> getReadOwners(NodeSPI<?, ?> node);
/**
- * Prints lock information about a node (and it's children) to a String.
+ * Prints lock information about a node (and its children) to a String.
*
* @param node node to inspect
*/
Modified: core/trunk/src/main/java/org/jboss/cache/marshall/CacheMarshaller210.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/marshall/CacheMarshaller210.java 2008-09-26 21:38:03 UTC (rev 6806)
+++ core/trunk/src/main/java/org/jboss/cache/marshall/CacheMarshaller210.java 2008-09-26 21:53:04 UTC (rev 6807)
@@ -41,7 +41,7 @@
{
initLogger();
// disabled, since this is always disabled in JBC 2.0.0.
- // Java ObjectOutputStreams will have it's own built-in ref counting. No need to repeat this.
+ // Java ObjectOutputStreams will have its own built-in ref counting. No need to repeat this.
useRefs = false;
}
Modified: core/trunk/src/main/java/org/jboss/cache/mvcc/MVCCNodeFactory.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/mvcc/MVCCNodeFactory.java 2008-09-26 21:38:03 UTC (rev 6806)
+++ core/trunk/src/main/java/org/jboss/cache/mvcc/MVCCNodeFactory.java 2008-09-26 21:53:04 UTC (rev 6807)
@@ -59,7 +59,7 @@
}
/**
- * Creates an MVCC wrapped node - either a {@link org.jboss.cache.mvcc.ReadCommittedNode} or it's subclass, a
+ * Creates an MVCC wrapped node - either a {@link org.jboss.cache.mvcc.ReadCommittedNode} or its subclass, a
* {@link org.jboss.cache.mvcc.RepeatableReadNode} based on cache configuration. If a null is passed in as the InternalNode,
* this method will return a special {@link org.jboss.cache.mvcc.NullMarkerNode} instance if using repeatable read,
* or a null if read committed.
Modified: core/trunk/src/main/java/org/jboss/cache/notifications/annotation/CacheListener.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/notifications/annotation/CacheListener.java 2008-09-26 21:38:03 UTC (rev 6806)
+++ core/trunk/src/main/java/org/jboss/cache/notifications/annotation/CacheListener.java 2008-09-26 21:53:04 UTC (rev 6807)
@@ -169,12 +169,12 @@
* <tr>
* <td valign="top">{@link TransactionCompleted}</td>
* <td valign=@"top">{@link org.jboss.cache.notifications.event.TransactionCompletedEvent}</td>
- * <td valign="top">The cache has completed it's participation in a transaction</td>
+ * <td valign="top">The cache has completed its participation in a transaction</td>
* </tr>
* <tr>
* <td valign="top">{@link BuddyGroupChanged}</td>
* <td valign=@"top">{@link org.jboss.cache.notifications.event.BuddyGroupChangedEvent}</td>
- * <td valign="top">Buddy replication is enabled and one of the buddy groups that the instance is a member of has changed it's membership.</td>
+ * <td valign="top">Buddy replication is enabled and one of the buddy groups that the instance is a member of has changed its membership.</td>
* </tr>
* <tr>
* <td valign="top">{@link NodeInvalidated}</td>
Modified: core/trunk/src/main/java/org/jboss/cache/optimistic/WorkspaceNode.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/optimistic/WorkspaceNode.java 2008-09-26 21:38:03 UTC (rev 6806)
+++ core/trunk/src/main/java/org/jboss/cache/optimistic/WorkspaceNode.java 2008-09-26 21:53:04 UTC (rev 6807)
@@ -68,7 +68,7 @@
void setVersion(DataVersion version);
/**
- * A node is considered modified if it's data map has changed. If children are added or removed, the node is not
+ * A node is considered modified if its data map has changed. If children are added or removed, the node is not
* considered modified - instead, see {@link #isChildrenModified()}.
*
* @return true if the data map has been modified
Modified: core/trunk/src/main/java/org/jboss/cache/util/reflect/ReflectionUtil.java
===================================================================
--- core/trunk/src/main/java/org/jboss/cache/util/reflect/ReflectionUtil.java 2008-09-26 21:38:03 UTC (rev 6806)
+++ core/trunk/src/main/java/org/jboss/cache/util/reflect/ReflectionUtil.java 2008-09-26 21:53:04 UTC (rev 6807)
@@ -59,7 +59,7 @@
}
/**
- * Inspects a class and it's superclasses (all the way to {@link Object} for method instances that contain a given annotation.
+ * Inspects a class and its superclasses (all the way to {@link Object} for method instances that contain a given annotation.
* This even identifies private, package and protected methods, not just public ones.
*
* @param c
Modified: core/trunk/src/test/java/org/jboss/cache/buddyreplication/BuddyReplicationWithCacheLoaderTest.java
===================================================================
--- core/trunk/src/test/java/org/jboss/cache/buddyreplication/BuddyReplicationWithCacheLoaderTest.java 2008-09-26 21:38:03 UTC (rev 6806)
+++ core/trunk/src/test/java/org/jboss/cache/buddyreplication/BuddyReplicationWithCacheLoaderTest.java 2008-09-26 21:53:04 UTC (rev 6807)
@@ -279,7 +279,7 @@
assert cache0.getCacheLoaderManager().getCacheLoader().get(foo) != null : "Should exist in data owner's cache loader";
assert cache1.getCacheLoaderManager().getCacheLoader().get(backupFoo) != null : "Should exist in buddy's loader";
- // a local gravitation should occur since cache1 has foo in it's backup tree.
+ // a local gravitation should occur since cache1 has foo in its backup tree.
assertEquals("Passivated value available from buddy", "value", cache1.get(foo, "key"));
}
Modified: core/trunk/src/test/java/org/jboss/cache/factories/ComponentRegistryFunctionalTest.java
===================================================================
--- core/trunk/src/test/java/org/jboss/cache/factories/ComponentRegistryFunctionalTest.java 2008-09-26 21:38:03 UTC (rev 6806)
+++ core/trunk/src/test/java/org/jboss/cache/factories/ComponentRegistryFunctionalTest.java 2008-09-26 21:53:04 UTC (rev 6807)
@@ -43,7 +43,7 @@
// // test that this component appears in all dependencies' dependencyFor collection.
// for (ComponentRegistry.Component dep : component.dependencies)
// {
-// assert cr.componentLookup.get(dep.name).dependencyFor.contains(component) : "Dependency " + dep.name + " does not have component " + component.name + " in it's dependencyFor collection.";
+// assert cr.componentLookup.get(dep.name).dependencyFor.contains(component) : "Dependency " + dep.name + " does not have component " + component.name + " in its dependencyFor collection.";
// }
// }
//
@@ -52,7 +52,7 @@
// // test that this component appears in all dependencies' dependencyFor collection.
// for (ComponentRegistry.Component dep : component.dependencyFor)
// {
-// assert cr.componentLookup.get(dep.name).dependencies.contains(component) : "Dependency " + dep.name + " does not have component " + component.name + " in it's dependencies collection.";
+// assert cr.componentLookup.get(dep.name).dependencies.contains(component) : "Dependency " + dep.name + " does not have component " + component.name + " in its dependencies collection.";
// }
// }
// }
Modified: core/trunk/src/test/java/org/jboss/cache/optimistic/ThreadedCacheAccessTest.java
===================================================================
--- core/trunk/src/test/java/org/jboss/cache/optimistic/ThreadedCacheAccessTest.java 2008-09-26 21:38:03 UTC (rev 6806)
+++ core/trunk/src/test/java/org/jboss/cache/optimistic/ThreadedCacheAccessTest.java 2008-09-26 21:53:04 UTC (rev 6807)
@@ -87,7 +87,7 @@
try
{
tm.begin();
- // read something from the cache - it should be in it's own thread.
+ // read something from the cache - it should be in its own thread.
cache.get(fqn, key);
if (write)
{
More information about the jbosscache-commits
mailing list