@ -20,6 +20,8 @@ public enum SmartEvent {
}
public static SmartEvent parseCode(@NotNull String code){
if(code==null)
return null;
for(SmartEvent se: SmartEvent.values()){
if(code.equalsIgnoreCase(se.code)){
return se;
@ -54,6 +54,8 @@ public enum SmartStepType {
public static SmartStepType parseCode(@NotNull String code){
for(SmartStepType sst: SmartStepType.values()){
if(code.equalsIgnoreCase(sst.code))
return sst;