mirror of
https://github.com/enso-org/enso.git
synced 2024-12-18 22:21:48 +03:00
Fix unused variable warning (#11851)
This commit is contained in:
parent
aebfacd486
commit
61bb1ce4eb
@ -18,7 +18,7 @@ type Reload_Detector
|
|||||||
private Value mr:Managed_Resource
|
private Value mr:Managed_Resource
|
||||||
|
|
||||||
new -> Reload_Detector =
|
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
|
Reload_Detector.Value mr
|
||||||
|
|
||||||
has_reload_occurred self =
|
has_reload_occurred self =
|
||||||
|
@ -109,7 +109,7 @@ public class LRUCache<M> {
|
|||||||
// a rare case so it seems unnecessary.
|
// a rare case so it seems unnecessary.
|
||||||
logger.log(
|
logger.log(
|
||||||
Level.WARNING,
|
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());
|
e.getMessage());
|
||||||
Item<M> rerequested = itemBuilder.buildItem();
|
Item<M> rerequested = itemBuilder.buildItem();
|
||||||
return new CacheResult<>(rerequested.stream(), rerequested.metadata());
|
return new CacheResult<>(rerequested.stream(), rerequested.metadata());
|
||||||
|
@ -163,7 +163,7 @@ public final class EnsoSecretHelper extends SecretValueResolver {
|
|||||||
keyStrings.add(resolvedHeader.getRight());
|
keyStrings.add(resolvedHeader.getRight());
|
||||||
}
|
}
|
||||||
|
|
||||||
return Integer.toString(Arrays.deepHashCode(keyStrings.toArray()));
|
return Integer.toHexString(Arrays.deepHashCode(keyStrings.toArray()));
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
Loading…
Reference in New Issue
Block a user