# ignite-45 - javadoc fix.
Project: http://git-wip-us.apache.org/repos/asf/incubator-ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-ignite/commit/2fdb8c6c Tree: http://git-wip-us.apache.org/repos/asf/incubator-ignite/tree/2fdb8c6c Diff: http://git-wip-us.apache.org/repos/asf/incubator-ignite/diff/2fdb8c6c Branch: refs/heads/ignite-release-test-no-mod Commit: 2fdb8c6ca67235df667394c088c3460edc8bc11a Parents: 90b6303 Author: Dmitiry Setrakyan <dsetrak...@gridgain.com> Authored: Tue Mar 24 02:07:13 2015 -0700 Committer: Dmitiry Setrakyan <dsetrak...@gridgain.com> Committed: Tue Mar 24 02:07:13 2015 -0700 ---------------------------------------------------------------------- .../apache/ignite/cache/affinity/CacheAffinity.java | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-ignite/blob/2fdb8c6c/modules/core/src/main/java/org/apache/ignite/cache/affinity/CacheAffinity.java ---------------------------------------------------------------------- diff --git a/modules/core/src/main/java/org/apache/ignite/cache/affinity/CacheAffinity.java b/modules/core/src/main/java/org/apache/ignite/cache/affinity/CacheAffinity.java index 63e38e7..873daf1 100644 --- a/modules/core/src/main/java/org/apache/ignite/cache/affinity/CacheAffinity.java +++ b/modules/core/src/main/java/org/apache/ignite/cache/affinity/CacheAffinity.java @@ -205,15 +205,10 @@ public interface CacheAffinity<K> { /** * Gets primary and backup nodes for the key. Note that primary node is always * first in the returned collection. - * <p> - * If there are only cache nodes in the projection with - * {@link org.apache.ignite.configuration.CacheConfiguration#getDistributionMode()} property set to {@code NEAR_ONLY}, then this - * method will return an empty collection. * * @param key Key to get affinity nodes for. * @return Collection of primary and backup nodes for the key with primary node - * always first, or an empty collection if this projection contains only nodes with - * {@link org.apache.ignite.configuration.CacheConfiguration#getDistributionMode()} property set to {@code NEAR_ONLY}. + * always first. */ public Collection<ClusterNode> mapKeyToPrimaryAndBackups(K key); @@ -242,15 +237,10 @@ public interface CacheAffinity<K> { /** * Gets primary and backup nodes for partition. Note that primary node is always * first in the returned collection. - * <p> - * If there are only cache nodes in the projection with - * {@link org.apache.ignite.configuration.CacheConfiguration#getDistributionMode()} property set to {@code NEAR_ONLY}, then this - * method will return an empty collection. * * @param part Partition to get affinity nodes for. * @return Collection of primary and backup nodes for partition with primary node - * always first, or an empty collection if this projection contains only nodes with - * {@link org.apache.ignite.configuration.CacheConfiguration#getDistributionMode()} property set to {@code NEAR_ONLY}. + * always first. */ public Collection<ClusterNode> mapPartitionToPrimaryAndBackups(int part); }