From b4bb8705e6c6924ab30a69d4652d03a5c5d7eaaa Mon Sep 17 00:00:00 2001 From: Wouter Born Date: Thu, 22 Dec 2022 17:41:52 +0100 Subject: [PATCH] Fix "Hello, World!" examples in automation documentation The documentation states incorrectly that "Hello, World!" is printed when instead "Hello world!" is printed. Signed-off-by: Wouter Born --- bundles/org.openhab.automation.groovyscripting/README.md | 2 +- bundles/org.openhab.automation.jrubyscripting/README.md | 2 +- bundles/org.openhab.automation.jythonscripting/README.md | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bundles/org.openhab.automation.groovyscripting/README.md b/bundles/org.openhab.automation.groovyscripting/README.md index 4704d83f9b1b3..cc61c1629e375 100644 --- a/bundles/org.openhab.automation.groovyscripting/README.md +++ b/bundles/org.openhab.automation.groovyscripting/README.md @@ -31,7 +31,7 @@ The openHAB server uses the [SLF4J](https://www.slf4j.org/) library for logging. ```groovy import org.slf4j.LoggerFactory -LoggerFactory.getLogger("org.openhab.core.automation.examples").info("Hello world!") +LoggerFactory.getLogger("org.openhab.core.automation.examples").info("Hello, World!") ``` Depending on the openHAB logging configuration, you may need to prefix logger names with `org.openhab.core.automation` for them to show up in the log file (or you modify the logging configuration). diff --git a/bundles/org.openhab.automation.jrubyscripting/README.md b/bundles/org.openhab.automation.jrubyscripting/README.md index d57aafde3ac4e..eef64fed313b3 100644 --- a/bundles/org.openhab.automation.jrubyscripting/README.md +++ b/bundles/org.openhab.automation.jrubyscripting/README.md @@ -75,7 +75,7 @@ The openHAB server uses the [SLF4J](https://www.slf4j.org/) library for logging. require 'java' java_import org.slf4j.LoggerFactory -LoggerFactory.getLogger("org.openhab.automation.examples").info("Hello world!") +LoggerFactory.getLogger("org.openhab.automation.examples").info("Hello, World!") ``` JRuby can [import Java classes](https://github.com/jruby/jruby/wiki/CallingJavaFromJRuby). diff --git a/bundles/org.openhab.automation.jythonscripting/README.md b/bundles/org.openhab.automation.jythonscripting/README.md index 5f6d8761558f8..38d56e3f41d19 100644 --- a/bundles/org.openhab.automation.jythonscripting/README.md +++ b/bundles/org.openhab.automation.jythonscripting/README.md @@ -34,7 +34,7 @@ The openHAB server uses the [SLF4J](https://www.slf4j.org/) library for logging. ```python from org.slf4j import LoggerFactory -LoggerFactory.getLogger("org.openhab.core.automation.examples").info("Hello world!") +LoggerFactory.getLogger("org.openhab.core.automation.examples").info("Hello, World!") ``` Jython can [import Java classes](https://jython.readthedocs.io/en/latest/ModulesPackages/).