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

jeb pushed a commit to branch master
in repository 
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-resource-filter.git


The following commit(s) were added to refs/heads/master by this push:
     new 6bbb8c1  Update README.md
6bbb8c1 is described below

commit 6bbb8c1b6e72527de19a26718148582a807b84b5
Author: Jason E Bailey <[email protected]>
AuthorDate: Wed Aug 29 14:35:28 2018 -0400

    Update README.md
---
 README.md | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/README.md b/README.md
index 4249d9f..e87beff 100644
--- a/README.md
+++ b/README.md
@@ -3,11 +3,12 @@
  [![Build 
Status](https://builds.apache.org/buildStatus/icon?job=sling-org-apache-sling-resource-filter-1.8)](https://builds.apache.org/view/S-Z/view/Sling/job/sling-org-apache-sling-resource-filter-1.8)
 [![Test 
Status](https://img.shields.io/jenkins/t/https/builds.apache.org/view/S-Z/view/Sling/job/sling-org-apache-sling-resource-filter-1.8.svg)](https://builds.apache.org/view/S-Z/view/Sling/job/sling-org-apache-sling-resource-filter-1.8/test_results_analyzer/)
 [![License](https://img.s [...]
 
 # Resource Predicate Service
-`ResourcePredicate` is a service that allows you to convert a string that 
defines a simple matching requirements and returns a `Predicate<Resource>` for 
use with the Collections and the Streams Java API. In addition it also allows 
you to add parameters to the underlying context that the script will use.
+`ResourcePredicate` is a service that allows you to convert a string that 
defines a simple matching requirements into a `Predicate<Resource>` for use 
with the Collections and the Streams Java API. In addition it also allows you 
to add parameters to the underlying context that the script will use.
 
 ```java
 @Reference
 ResourcePredicates rp;
+
 Predicate<Resource> predicate = rp.parse("[jcr:content/created] < 
2013-08-08T16:32");
 resourceCollection.stream().filter(predicate).forEach(
     resource -> System.out.println(resource.getPath())

Reply via email to