Java 17 features (H-M) (#15520)
- add missing @override - Java style array syntax - remove redundant modifiers - always move String constants to left side in comparisons - simplify lambda expressions and return statements - use replace instead of replaceAll w/o regex - instanceof matching and multiline strings - remove null check before instanceof Signed-off-by: Holger Friedrich <mail@holger-friedrich.de>
This commit is contained in:
@@ -76,7 +76,6 @@ public class KVVBridgeHandler extends BaseBridgeHandler {
|
||||
* @return the latest {@link DepartureResult}.
|
||||
*/
|
||||
public synchronized @Nullable DepartureResult queryKVV(final KVVStopConfig stopConfig) {
|
||||
|
||||
// is there an up-to-date value in the cache?
|
||||
final DepartureResult cr = this.cache.get(stopConfig.stopId);
|
||||
if (cr != null) {
|
||||
|
||||
Reference in New Issue
Block a user