diff --git a/bundles/org.openhab.core.automation.module.script/src/main/java/org/openhab/core/automation/module/script/internal/defaultscope/DefaultScriptScopeProvider.java b/bundles/org.openhab.core.automation.module.script/src/main/java/org/openhab/core/automation/module/script/internal/defaultscope/DefaultScriptScopeProvider.java index 3d278f44c4..0fa9965167 100644 --- a/bundles/org.openhab.core.automation.module.script/src/main/java/org/openhab/core/automation/module/script/internal/defaultscope/DefaultScriptScopeProvider.java +++ b/bundles/org.openhab.core.automation.module.script/src/main/java/org/openhab/core/automation/module/script/internal/defaultscope/DefaultScriptScopeProvider.java @@ -63,7 +63,7 @@ import org.osgi.service.component.annotations.ReferenceCardinality; import org.osgi.service.component.annotations.ReferencePolicy; /** - * This is a default scope provider for stuff that is of general interest in an ESH-based solution. + * This is a default scope provider for stuff that is of general interest in an OH-based solution. * Nonetheless, solutions are free to remove it and have more specific scope providers for their own purposes. * * @author Kai Kreuzer - Initial contribution @@ -94,7 +94,7 @@ public class DefaultScriptScopeProvider implements ScriptExtensionProvider { elements.put("FilenameUtils", FilenameUtils.class); elements.put("File", File.class); - // ESH types + // types elements.put("IncreaseDecreaseType", IncreaseDecreaseType.class); elements.put("DECREASE", IncreaseDecreaseType.DECREASE); elements.put("INCREASE", IncreaseDecreaseType.INCREASE); diff --git a/bundles/org.openhab.core.io.console.karaf/src/main/java/org/openhab/core/io/console/karaf/internal/CommandWrapper.java b/bundles/org.openhab.core.io.console.karaf/src/main/java/org/openhab/core/io/console/karaf/internal/CommandWrapper.java index a2514de032..8200f5ef2e 100644 --- a/bundles/org.openhab.core.io.console.karaf/src/main/java/org/openhab/core/io/console/karaf/internal/CommandWrapper.java +++ b/bundles/org.openhab.core.io.console.karaf/src/main/java/org/openhab/core/io/console/karaf/internal/CommandWrapper.java @@ -29,7 +29,7 @@ import org.openhab.core.io.console.ConsoleInterpreter; import org.openhab.core.io.console.extensions.ConsoleCommandExtension; /** - * This class wraps ESH ConsoleCommandExtensions to commands for Apache Karaf + * This class wraps OH ConsoleCommandExtensions to commands for Apache Karaf * * @author Markus Rathgeb - Initial contribution * @author Henning Treu - implement help command diff --git a/bundles/org.openhab.core.io.net/src/main/java/org/openhab/core/io/net/http/internal/WebClientFactoryImpl.java b/bundles/org.openhab.core.io.net/src/main/java/org/openhab/core/io/net/http/internal/WebClientFactoryImpl.java index 7122192958..0547c5cdb9 100644 --- a/bundles/org.openhab.core.io.net/src/main/java/org/openhab/core/io/net/http/internal/WebClientFactoryImpl.java +++ b/bundles/org.openhab.core.io.net/src/main/java/org/openhab/core/io/net/http/internal/WebClientFactoryImpl.java @@ -312,7 +312,7 @@ public class WebClientFactoryImpl implements HttpClientFactory, WebSocketFactory private QueuedThreadPool createThreadPool(String consumerName, int minThreads, int maxThreads, int keepAliveTimeout) { QueuedThreadPool queuedThreadPool = new QueuedThreadPool(maxThreads, minThreads, keepAliveTimeout * 1000); - queuedThreadPool.setName("ESH-httpClient-" + consumerName); + queuedThreadPool.setName("OH-httpClient-" + consumerName); queuedThreadPool.setDaemon(true); return queuedThreadPool; } diff --git a/bundles/org.openhab.core.io.transport.mqtt/src/main/java/org/openhab/core/io/transport/mqtt/internal/MqttBrokerConnectionServiceInstance.java b/bundles/org.openhab.core.io.transport.mqtt/src/main/java/org/openhab/core/io/transport/mqtt/internal/MqttBrokerConnectionServiceInstance.java index 12d9ecb204..aa25d697d0 100644 --- a/bundles/org.openhab.core.io.transport.mqtt/src/main/java/org/openhab/core/io/transport/mqtt/internal/MqttBrokerConnectionServiceInstance.java +++ b/bundles/org.openhab.core.io.transport.mqtt/src/main/java/org/openhab/core/io/transport/mqtt/internal/MqttBrokerConnectionServiceInstance.java @@ -34,7 +34,7 @@ import org.slf4j.LoggerFactory; /** * The user can configure multiple system Mqtt broker connections. This is realized via the OSGI service factory * pattern. - * ESH requires a factory marker service, implemented in {@link MqttBrokerConnectionServiceInstanceMarker}. + * The framework requires a factory marker service, implemented in {@link MqttBrokerConnectionServiceInstanceMarker}. * This service represents an instance of that factory and will initialize one MQTT broker connection with the given * configuration and register it to the {@link MqttService}. * diff --git a/bundles/org.openhab.core.persistence/src/main/java/org/openhab/core/persistence/QueryablePersistenceService.java b/bundles/org.openhab.core.persistence/src/main/java/org/openhab/core/persistence/QueryablePersistenceService.java index 887649963a..18508da38c 100644 --- a/bundles/org.openhab.core.persistence/src/main/java/org/openhab/core/persistence/QueryablePersistenceService.java +++ b/bundles/org.openhab.core.persistence/src/main/java/org/openhab/core/persistence/QueryablePersistenceService.java @@ -39,7 +39,7 @@ public interface QueryablePersistenceService extends PersistenceService { * Returns a list of items that are stored in the persistence service * * This is returned as a string to allow the persistence service to return items that are no long available as an - * ESH {@link Item}. + * {@link Item}. * * @return list of strings of item names contained in the store. Not null. */ diff --git a/bundles/org.openhab.core/src/main/java/org/openhab/core/auth/Role.java b/bundles/org.openhab.core/src/main/java/org/openhab/core/auth/Role.java index b0d3556918..22671ebb3f 100644 --- a/bundles/org.openhab.core/src/main/java/org/openhab/core/auth/Role.java +++ b/bundles/org.openhab.core/src/main/java/org/openhab/core/auth/Role.java @@ -13,7 +13,7 @@ package org.openhab.core.auth; /** - * Interface defining constants for roles within ESH. + * Interface defining constants for roles within the framework. * * @author Kai Kreuzer - Initial contribution */ diff --git a/bundles/org.openhab.core/src/main/java/org/openhab/core/auth/client/oauth2/OAuthClientService.java b/bundles/org.openhab.core/src/main/java/org/openhab/core/auth/client/oauth2/OAuthClientService.java index 94bdc0749d..0f16b840aa 100644 --- a/bundles/org.openhab.core/src/main/java/org/openhab/core/auth/client/oauth2/OAuthClientService.java +++ b/bundles/org.openhab.core/src/main/java/org/openhab/core/auth/client/oauth2/OAuthClientService.java @@ -54,7 +54,7 @@ import org.eclipse.jdt.annotation.Nullable; *
- * Defaults to the name prefix 'ESH'. Setting a name prefix different than the default one is intended to be used by
+ * Defaults to the name prefix 'OH'. Setting a name prefix different than the default one is intended to be used by
* solutions integrating openHAB.
*
* @param namePrefix The name prefix (can be null)
diff --git a/bundles/org.openhab.core/src/main/java/org/openhab/core/internal/events/EventHandler.java b/bundles/org.openhab.core/src/main/java/org/openhab/core/internal/events/EventHandler.java
index 273b52d50c..096d151ade 100644
--- a/bundles/org.openhab.core/src/main/java/org/openhab/core/internal/events/EventHandler.java
+++ b/bundles/org.openhab.core/src/main/java/org/openhab/core/internal/events/EventHandler.java
@@ -86,8 +86,7 @@ public class EventHandler implements AutoCloseable {
}
} else {
logger.error(
- "The handled OSGi event is invalid. Expect properties as string named 'type', 'payload' and 'topic'. "
- + "Received event properties are: {}",
+ "The handled OSGi event is invalid. Expect properties as string named 'type', 'payload' and 'topic'. Received event properties are: {}",
Arrays.toString(osgiEvent.getPropertyNames()));
}
}
@@ -105,12 +104,12 @@ public class EventHandler implements AutoCloseable {
return;
}
- final Event eshEvent = createESHEvent(eventFactory, type, payload, topic, source);
- if (eshEvent == null) {
+ final Event event = createEvent(eventFactory, type, payload, topic, source);
+ if (event == null) {
return;
}
- dispatchESHEvent(eventSubscribers, eshEvent);
+ dispatchEvent(eventSubscribers, event);
}
private Set