1
1
mirror of https://github.com/enso-org/enso.git synced 2024-12-22 17:11:31 +03:00

Fix unused variable warning ()

This commit is contained in:
Gregory Michael Travis 2024-12-16 10:38:47 -05:00 committed by GitHub
parent aebfacd486
commit 61bb1ce4eb
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 3 additions and 3 deletions
distribution/lib/Standard/Base/0.0.0-dev/src/Network
std-bits/base/src/main/java/org/enso/base

View File

@ -18,7 +18,7 @@ type Reload_Detector
private Value mr:Managed_Resource
new -> Reload_Detector =
mr = Managed_Resource.register (Ref.new 1) (x-> Nothing) True
mr = Managed_Resource.register (Ref.new 1) (_-> Nothing) True
Reload_Detector.Value mr
has_reload_occurred self =

View File

@ -109,7 +109,7 @@ public class LRUCache<M> {
// a rare case so it seems unnecessary.
logger.log(
Level.WARNING,
"Error in cache file handling; will re-execute without caching: {}",
"Error in cache file handling; will re-execute without caching: {0}",
e.getMessage());
Item<M> rerequested = itemBuilder.buildItem();
return new CacheResult<>(rerequested.stream(), rerequested.metadata());

View File

@ -163,7 +163,7 @@ public final class EnsoSecretHelper extends SecretValueResolver {
keyStrings.add(resolvedHeader.getRight());
}
return Integer.toString(Arrays.deepHashCode(keyStrings.toArray()));
return Integer.toHexString(Arrays.deepHashCode(keyStrings.toArray()));
}
@Override