private static void translateCompatibilityToPaths(RPAction action){
  if (action.has(EquipActionConsts.BASE_OBJECT)) {
    List<String> path=Arrays.asList(action.get(EquipActionConsts.BASE_OBJECT),action.get(EquipActionConsts.BASE_SLOT),action.get(EquipActionConsts.BASE_ITEM));
    action.put(EquipActionConsts.SOURCE_PATH,path);
  }
 else {
    List<String> path=Arrays.asList(action.get(EquipActionConsts.BASE_ITEM));
    action.put(EquipActionConsts.SOURCE_PATH,path);
  }
}

private static void translateCompatibilityToPaths ( RPAction action ) { if ( action . has ( EquipActionConsts . BASE_OBJECT ) ) { List < String > path = Arrays . asList ( action . get ( EquipActionConsts . BASE_OBJECT ) , action . get ( EquipActionConsts . BASE_SLOT ) , action . get ( EquipActionConsts . BASE_ITEM ) ) ; action . put ( EquipActionConsts . SOURCE_PATH , path ) ; } else { List < String > path = Arrays . asList ( action . get ( EquipActionConsts . BASE_ITEM ) ) ; action . put ( EquipActionConsts . SOURCE_PATH , path ) ; } }
translate old style object reference to entity path .
