repositories
/
e-mobility-charging-stations-simulator.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Strict null type check fixes
[e-mobility-charging-stations-simulator.git]
/
src
/
charging-station
/
SharedLRUCache.ts
diff --git
a/src/charging-station/SharedLRUCache.ts
b/src/charging-station/SharedLRUCache.ts
index 048068534103ea6f5bdd5afec5940dd2753fc1dd..e235c51d1f930a764c1e2ef8198b792711254b31 100644
(file)
--- a/
src/charging-station/SharedLRUCache.ts
+++ b/
src/charging-station/SharedLRUCache.ts
@@
-79,18
+79,18
@@
export default class SharedLRUCache {
}
private getChargingStationConfigurationKey(hash: string): string {
}
private getChargingStationConfigurationKey(hash: string): string {
- return
CacheType.CHARGING_STATION_CONFIGURATION + hash
;
+ return
`${CacheType.CHARGING_STATION_CONFIGURATION}${hash}`
;
}
private getChargingStationTemplateKey(hash: string): string {
}
private getChargingStationTemplateKey(hash: string): string {
- return
CacheType.CHARGING_STATION_TEMPLATE + hash
;
+ return
`${CacheType.CHARGING_STATION_TEMPLATE}${hash}`
;
}
private has(key: string): boolean {
return this.lruCache.has(key);
}
}
private has(key: string): boolean {
return this.lruCache.has(key);
}
- private get(key: string): CacheableType {
+ private get(key: string): CacheableType
| undefined
{
return this.lruCache.get(key);
}
return this.lruCache.get(key);
}