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

@@ -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;