File tree Expand file tree Collapse file tree
src/main/java/de/rwth/idsg/steve Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11package de .rwth .idsg .steve ;
22
3+ import de .rwth .idsg .steve .ocpp .ws .custom .WsSessionSelectStrategy ;
34import de .rwth .idsg .steve .ocpp .ws .custom .WsSessionSelectStrategyEnum ;
45import de .rwth .idsg .steve .utils .PropertiesFileLoader ;
56import 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}
Original file line number Diff line number Diff 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 ;
You can’t perform that action at this time.
0 commit comments