aboutsummaryrefslogtreecommitdiffstats
path: root/examples/examples-periodic
diff options
context:
space:
mode:
authorliamfallon <liam.fallon@ericsson.com>2018-09-26 16:50:18 +0100
committerliamfallon <liam.fallon@ericsson.com>2018-09-26 16:50:53 +0100
commitcad13bc9dbd2eaebf91fcde1a0aa03dc179f4795 (patch)
treedee7bae6f9e6cde5d140de5d22d2e8edc3accbf2 /examples/examples-periodic
parente69d7e19bf99a5ac575705f7a1a9375417b0990f (diff)
Fix boolean constants in examples
When the checkstyle changes were made in the java code the .TRUE and .FALSE values were changed to .isTrue and .isFalse to comply with checkstyle. THis change needs to be propogated into example scripts. Issue-ID: POLICY-103 Change-Id: I419b5f398ef4f43b1b877d52bbe4ec638870f31d Signed-off-by: liamfallon <liam.fallon@ericsson.com>
Diffstat (limited to 'examples/examples-periodic')
-rw-r--r--examples/examples-periodic/src/main/resources/logic/OutputTask.js2
-rw-r--r--examples/examples-periodic/src/main/resources/logic/PeriodicTask.js2
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/examples-periodic/src/main/resources/logic/OutputTask.js b/examples/examples-periodic/src/main/resources/logic/OutputTask.js
index 0e44653c1..5e8b5b774 100644
--- a/examples/examples-periodic/src/main/resources/logic/OutputTask.js
+++ b/examples/examples-periodic/src/main/resources/logic/OutputTask.js
@@ -23,4 +23,4 @@ executor.logger.info(executor.inFields);
executor.logger.info(executor.outFields);
-var returnValue = executor.TRUE; \ No newline at end of file
+var returnValue = executor.isTrue; \ No newline at end of file
diff --git a/examples/examples-periodic/src/main/resources/logic/PeriodicTask.js b/examples/examples-periodic/src/main/resources/logic/PeriodicTask.js
index 18dbcda0e..bdd432086 100644
--- a/examples/examples-periodic/src/main/resources/logic/PeriodicTask.js
+++ b/examples/examples-periodic/src/main/resources/logic/PeriodicTask.js
@@ -41,4 +41,4 @@ executor.outFields.put("EventList", eventList);
executor.logger.info(executor.outFields);
-var returnValue = executor.TRUE; \ No newline at end of file
+var returnValue = executor.isTrue; \ No newline at end of file