mirror of
https://github.com/enso-org/enso.git
synced 2024-12-22 16:11:45 +03:00
Fix unused variable warning (#11851)
This commit is contained in:
parent
aebfacd486
commit
61bb1ce4eb
distribution/lib/Standard/Base/0.0.0-dev/src/Network
std-bits/base/src/main/java/org/enso/base
@ -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 =
|
||||
|
@ -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());
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user