Fix several typos (#1314)

Those were discorvered while casually browsing the source code in an IDE.

Signed-off-by: Zygmunt Krynicki <me@zygoon.pl>
This commit is contained in:
Zygmunt Krynicki
2023-02-01 15:24:34 +01:00
committed by GitHub
parent 498c9fa7e8
commit a64c2bc28e
8 changed files with 15 additions and 15 deletions

View File

@@ -44,7 +44,7 @@ Examples:
### Test documentation
Please documented the test cases that you contribute by means of [Allure](https://docs.qameta.io/allure/) annotations and proper test method naming.
Please document the test cases that you contribute by means of [Allure](https://docs.qameta.io/allure/) annotations and proper test method naming.
All test classes are documented with [Allure's](https://docs.qameta.io/allure/#_behaviours_mapping) **@Feature** and **@Story** annotations in the following format:

View File

@@ -104,7 +104,7 @@ Software rollout in large scale, rollout status overview and rollout management.
- Selection of _distribution set_
- Auto-splitting of the input target list based on _group number_ defined
- _Trigger threshold_ to define the percentage of installation to be completed , to trigger the start of next group
- _Error threshold_ defines the percentage of error tolerance of a group before calling for a emergency shutdown of a rollout
- _Error threshold_ defines the percentage of error tolerance of a group before calling for an emergency shutdown of a rollout
![Rollout Management view](../images/ui/rollout_mgmt.png)

View File

@@ -2,7 +2,7 @@
title: What is hawkBit?
weight: 10
---
Eclipse hawkBit&trade; is an domain-independent back-end framework for rolling out software updates to constrained edge devices as well as more powerful controllers and gateways connected to IP based networking infrastructure.
Eclipse hawkBit&trade; is a domain-independent back-end framework for rolling out software updates to constrained edge devices as well as more powerful controllers and gateways connected to IP based networking infrastructure.
![](../images/hawkbit_logo.png)
@@ -11,7 +11,7 @@ Having software update capabilities ensures a secure IoT by means that it gives
A more charming argument for software update is that it enables agile development for hardware and hardware near development. Concepts like a minimum viable product can be applied for devices as not all features need to be ready at manufacturing time. Changes on the cloud side of the IoT project can be applied to the devices at runtime as well.
Sometimes Software Update is a business model on its own as it makes devices much more attractive to the customer if they are updateable, i.e. they do not only buy a product because of its current feature set but make also a bet on its future capabilities. In addition new revenue streams may arise from the fact that feature extensions can potentially be monetized (e.g. Apps) without the need to design, manufacture and ship a new device (revision).
Sometimes Software Update is a business model on its own as it makes devices much more attractive to the customer if they are updatable, i.e. they do not only buy a product because of its current feature set but make also a bet on its future capabilities. In addition new revenue streams may arise from the fact that feature extensions can potentially be monetized (e.g. Apps) without the need to design, manufacture and ship a new device (revision).
## Why hawkBit?

View File

@@ -46,7 +46,7 @@ public class DistributedResourceBundleMessageSource extends ReloadableResourceBu
long lastModified = -1;
if (!(resourceLoader instanceof ResourcePatternResolver)) {
LOGGER.warn(
"Resource Loader {} doensn't support getting multiple resources. Default properties mechanism will used",
"Resource Loader {} doesn't support getting multiple resources. Default properties mechanism will used",
resourceLoader.getClass().getName());
return super.refreshProperties(filename, propHolder);
}
@@ -63,7 +63,7 @@ public class DistributedResourceBundleMessageSource extends ReloadableResourceBu
}
}
} catch (final IOException ignored) {
LOGGER.warn("Resource with filname " + filename + " couldn't load", ignored);
LOGGER.warn("Resource with filename " + filename + " couldn't load", ignored);
}
return new PropertiesHolder(properties, lastModified);
}

View File

@@ -64,7 +64,7 @@ public interface ArtifactRepository {
void deleteBySha1(@NotEmpty String tenant, @NotEmpty String sha1Hash);
/**
* Retrieves a {@link AbstractDbArtifact} from the store by it's SHA1 hash.
* Retrieves a {@link AbstractDbArtifact} from the store by its SHA1 hash.
*
* @param tenant
* the tenant to store the artifact
@@ -93,7 +93,7 @@ public interface ArtifactRepository {
* @param sha1Hash
* the sha1-hash of the file to lookup.
*
* @return the boolean whether the atrifact exists or not
* @return the boolean whether the artifact exists or not
*/
boolean existsByTenantAndSha1(@NotEmpty String tenant, @NotEmpty String sha1Hash);
}

View File

@@ -20,7 +20,7 @@ import org.springframework.cache.CacheManager;
*/
public class DefaultDownloadIdCache implements DownloadIdCache {
static final String DOWNLOAD_ID_CACHE = "DowonloadIdCache";
static final String DOWNLOAD_ID_CACHE = "DownloadIdCache";
private final CacheManager cacheManager;

View File

@@ -44,7 +44,7 @@ import org.springframework.orm.jpa.vendor.EclipseLinkJpaDialect;
* 3.a) here a cause might be an {@link SQLException} which might be mappable by
* {@link SQLStateSQLExceptionTranslator} or
* <p>
* 3.b.) the the cause is not an {@link SQLException} and as a result cannot be
* 3.b.) the cause is not an {@link SQLException} and as a result cannot be
* mapped.
*
*/

View File

@@ -12,14 +12,14 @@ import java.util.HashMap;
import java.util.Map;
/**
* Maps property of entity to its allias .
* Maps property of entity to its alias .
*
*
*
*/
public final class PropertyMapper {
private static Map<Class<?>, Map<String, String>> allowedColmns = new HashMap<>();
private static Map<Class<?>, Map<String, String>> allowedColumns = new HashMap<>();
private PropertyMapper() {
@@ -36,15 +36,15 @@ public final class PropertyMapper {
* property name
*/
public static void addNewMapping(final Class<?> type, final String property, final String mapping) {
allowedColmns.computeIfAbsent(type, k -> new HashMap<>());
allowedColmns.get(type).put(property, mapping);
allowedColumns.computeIfAbsent(type, k -> new HashMap<>());
allowedColumns.get(type).put(property, mapping);
}
/**
* @return the allowedcolmns
*/
public static Map<Class<?>, Map<String, String>> getAllowedcolmns() {
return allowedColmns;
return allowedColumns;
}
}