Cleaning code

This commit is contained in:
Luca Frosini 2021-02-26 18:41:14 +01:00
parent 5f8850611d
commit 6d3d9b8e37
1 changed files with 1 additions and 2 deletions

View File

@ -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);
}