You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by st...@apache.org on 2016/02/08 16:42:16 UTC

svn commit: r1729191 - /sling/trunk/bundles/extensions/discovery/commons/src/main/java/org/apache/sling/discovery/commons/InstancesDiff.java

Author: stefanegli
Date: Mon Feb  8 15:42:16 2016
New Revision: 1729191

URL: http://svn.apache.org/viewvc?rev=1729191&view=rev
Log:
SLING-5494 : Discovery InstancesDiff.retained() implementation not according to API doc - Match the API with the implementation - This closes #122 of github pull request of tmaret, many thx

Modified:
    sling/trunk/bundles/extensions/discovery/commons/src/main/java/org/apache/sling/discovery/commons/InstancesDiff.java

Modified: sling/trunk/bundles/extensions/discovery/commons/src/main/java/org/apache/sling/discovery/commons/InstancesDiff.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/discovery/commons/src/main/java/org/apache/sling/discovery/commons/InstancesDiff.java?rev=1729191&r1=1729190&r2=1729191&view=diff
==============================================================================
--- sling/trunk/bundles/extensions/discovery/commons/src/main/java/org/apache/sling/discovery/commons/InstancesDiff.java (original)
+++ sling/trunk/bundles/extensions/discovery/commons/src/main/java/org/apache/sling/discovery/commons/InstancesDiff.java Mon Feb  8 15:42:16 2016
@@ -205,8 +205,8 @@ public final class InstancesDiff {
      * @param retainFromNewCollection {@code true} in order to retain the instances from the new collection ;
      *                                {@code false} in order to retain the instances from the old collection.
      * @param propertyChanged {@code true} in order to keep only the instances which
-     *                        properties have not changed between the old and new collections ;
-     *                        {@code false} in order to keep only the instances which properties have changed.
+     *                        properties have changed between the old and new collections ;
+     *                        {@code false} in order to keep only the instances which properties have not changed.
      * @return the {@code InstanceCollection} collection containing the {@code InstanceDescription} instances
      *         contained in both views.
      */