You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by si...@apache.org on 2019/07/02 08:35:48 UTC

[sling-org-apache-sling-feature-diff] branch master updated: @trivial typos

This is an automated email from the ASF dual-hosted git repository.

simonetripodi pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-feature-diff.git


The following commit(s) were added to refs/heads/master by this push:
     new 1e4a098  @trivial typos
1e4a098 is described below

commit 1e4a098d7ff505e1c47046418fe676eb3571130f
Author: Simo Tripodi <st...@adobe.com>
AuthorDate: Tue Jul 2 10:35:41 2019 +0200

    @trivial typos
---
 README.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index a026988..81f770d 100644
--- a/README.md
+++ b/README.md
@@ -25,7 +25,7 @@ DiffRequest diffRequest = new DiffRequest()
                           .setCurrent(current)
                           .setResultId("org.apache.sling:org.apache.sling.diff:1.0.0");
 
-Feature featureDiff = compareFeatures(previous, current);
+Feature featureDiff = compareFeatures(diffRequest);
 ```
 
 The resulting `featureDiff` is a new `Feature` instance which prototypes from `previous` and where necessary removals sections are populated and new elements may be added.
@@ -56,5 +56,5 @@ DiffRequest diffRequest = new DiffRequest()
                           .addIncludeComparator("configurations")
                           .setResultId("org.apache.sling:org.apache.sling.diff:1.0.0");
 
-Feature featureDiff = compareFeatures(previous, current);
+Feature featureDiff = compareFeatures(diffRequest);
 ```