Skip to content

Commit 2a62300

Browse files
committed
refactor
1 parent 43a64e8 commit 2a62300

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

src/main/java/de/rwth/idsg/steve/SteveConfiguration.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
package de.rwth.idsg.steve;
22

3+
import de.rwth.idsg.steve.ocpp.ws.custom.WsSessionSelectStrategy;
34
import de.rwth.idsg.steve.ocpp.ws.custom.WsSessionSelectStrategyEnum;
45
import de.rwth.idsg.steve.utils.PropertiesFileLoader;
56
import lombok.Builder;
@@ -139,7 +140,7 @@ public static class Auth {
139140
@Builder @Getter
140141
public static class Ocpp {
141142
private final boolean autoRegisterUnknownStations;
142-
private final WsSessionSelectStrategyEnum wsSessionSelectStrategy;
143+
private final WsSessionSelectStrategy wsSessionSelectStrategy;
143144
}
144145

145146
}

src/main/java/de/rwth/idsg/steve/ocpp/ws/custom/WsSessionSelectStrategyEnum.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public WebSocketSession getSession(Deque<SessionContext> sessionContexts) {
3737
}
3838
};
3939

40-
public static WsSessionSelectStrategyEnum fromName(String v) {
40+
public static WsSessionSelectStrategy fromName(String v) {
4141
for (WsSessionSelectStrategyEnum s: WsSessionSelectStrategyEnum.values()) {
4242
if (s.name().equals(v)) {
4343
return s;

0 commit comments

Comments
 (0)