Cleaning code
This commit is contained in:
parent
5f8850611d
commit
6d3d9b8e37
|
@ -40,7 +40,6 @@ import org.gcube.informationsystem.types.TypeMapper;
|
|||
import org.gcube.informationsystem.types.reference.Type;
|
||||
|
||||
import com.orientechnologies.orient.core.record.ODirection;
|
||||
import com.tinkerpop.blueprints.Direction;
|
||||
|
||||
/**
|
||||
* @author Luca Frosini (ISTI - CNR)
|
||||
|
@ -421,7 +420,7 @@ public class Access extends BaseRest {
|
|||
try {
|
||||
directionEnum = ODirection.valueOf(direction.toUpperCase());
|
||||
} catch(Exception e) {
|
||||
String error = String.format("%s is not a valid. Allowed values are %s", direction, Direction.values());
|
||||
String error = String.format("%s is not a valid. Allowed values are %s", direction, ODirection.values());
|
||||
throw new InvalidQueryException(error);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue