Repository: nifi
Updated Branches:
  refs/heads/master c45060f70 -> 9bb77163c


NIFI-1334 fixed minor typos in expression-lang-guide documentation

This closes #152

Signed-off-by: Aldrin Piri <ald...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/nifi/repo
Commit: http://git-wip-us.apache.org/repos/asf/nifi/commit/9bb77163
Tree: http://git-wip-us.apache.org/repos/asf/nifi/tree/9bb77163
Diff: http://git-wip-us.apache.org/repos/asf/nifi/diff/9bb77163

Branch: refs/heads/master
Commit: 9bb77163cf8a0a4912959a1d3a8134ffb17b537e
Parents: c45060f
Author: Lemoda Laim <lee.l...@gmail.com>
Authored: Wed Dec 23 23:28:53 2015 -0700
Committer: Aldrin Piri <ald...@apache.org>
Committed: Tue Dec 29 12:20:21 2015 -0500

----------------------------------------------------------------------
 .../main/asciidoc/expression-language-guide.adoc    | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/nifi/blob/9bb77163/nifi-docs/src/main/asciidoc/expression-language-guide.adoc
----------------------------------------------------------------------
diff --git a/nifi-docs/src/main/asciidoc/expression-language-guide.adoc 
b/nifi-docs/src/main/asciidoc/expression-language-guide.adoc
index 4efe940..9593dbf 100644
--- a/nifi-docs/src/main/asciidoc/expression-language-guide.adoc
+++ b/nifi-docs/src/main/asciidoc/expression-language-guide.adoc
@@ -71,7 +71,7 @@ by the Expression Language to achieve many different goals. 
Some functions provi
 manipulation, such as the `toUpper` function. Others, such as the `equals` and 
`matches` functions,
 provide comparison functionality. Functions also exist for manipulating dates 
and times and
 for performing mathematical operations. Each of these functions is described 
below, in the
-<<functions> section, with an explanation of what the function does, the 
arguments that it 
+<<functions>> section, with an explanation of what the function does, the 
arguments that it 
 requires, and the type of information that it returns.
 
 When we perform a function call on an attribute, as above, we refer to the 
attribute as the
@@ -226,7 +226,7 @@ if an attribute exists.#
 *Return Type*: [.returnType]#Boolean#
 
 *Examples*:    `${filename:isNull()}` returns `true` if the "filename" 
attribute does not exist. 
-       It returns `true` if the attribute exists.
+       It returns `false` if the attribute exists.
 
 
 
@@ -241,7 +241,7 @@ subject exists and `false` otherwise.#
 
 *Return Type*: [.returnType]#Boolean#
 
-*Examples*: `${filename:notNull()}` returns `true` if the "filename" attribute 
exists. It returns "false" if the attribute
+*Examples*: `${filename:notNull()}` returns `true` if the "filename" attribute 
exists. It returns `false` if the attribute
        does not exist.
 
 
@@ -639,7 +639,7 @@ then the following Expressions will result in the following 
values:
 | `${filename:substringBefore('.')}` | `a brand new filename`
 | `${filename:substringBefore(' ')}` | `a`
 | `${filename:substringBefore(' n')}` | `a brand`
-| `${filename:sbustringBefore('missing')}` | `a brand new filename.txt`
+| `${filename:substringBefore('missing')}` | `a brand new filename.txt`
 |======================================================================
 
 
@@ -659,7 +659,7 @@ then the following Expressions will result in the following 
values:
 
        - [.argName]#_value_# : [.argDesc]#The String to search for in the 
Subject#
 
-*Return Type*: [.returnType]#String3
+*Return Type*: [.returnType]#String#
 
 *Examples*: If the "filename" attribute has the value "a brand new 
filename.txt",
        then the following Expressions will result in the following values:
@@ -1270,7 +1270,7 @@ Expressions will provide the following results:
 
 *Description*: [.description]#Formats a number as a date/time according to the 
format specified by the argument. The argument
        must be a String that is a valid Java SimpleDateFormat format. The 
Subject is expected to be a Number that
-       represents the number of milliseconds since Midnight GMT January 1, 
1970.#
+       represents the number of milliseconds since Midnight GMT on January 1, 
1970.#
 
 *Subject Type*: [.subject]#Number#
 
@@ -1301,8 +1301,8 @@ Expressions will provide the following results:
 
 *Description*: [.description]#Converts a String into a Number, based on the 
format specified by the argument. The argument
        must be a String that is a valid Java SimpleDateFormat syntax. The 
Subject is expected to be a String
-       that is formatted according the argument. The return value is the numbr 
of milliseconds since 
-       Midnight GMT January 1, 1979.#
+       that is formatted according the argument. The return value is the 
number of milliseconds since 
+       Midnight GMT on January 1, 1970.#
 
 *Subject Type*: [.subject]#String#
 

Reply via email to