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:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user