Skip to content

Commit

Permalink
Review comments
Browse files Browse the repository at this point in the history
  • Loading branch information
Lojjs committed Mar 5, 2018
1 parent 7c57510 commit 07fe97a
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 31 deletions.
Expand Up @@ -390,12 +390,6 @@ public ValueGroup valueGroup()
return ValueGroup.ZONED_DATE_TIME;
}

@Override
public String toString()
{
return prettyPrint();
}

@Override
protected int computeHash()
{
Expand Down
Expand Up @@ -193,12 +193,6 @@ public ValueGroup valueGroup()
return ValueGroup.DATE;
}

@Override
public String toString()
{
return prettyPrint();
}

@Override
protected int computeHash()
{
Expand Down
Expand Up @@ -309,12 +309,6 @@ public ValueGroup valueGroup()
return ValueGroup.LOCAL_DATE_TIME;
}

@Override
public String toString()
{
return prettyPrint();
}

@Override
protected int computeHash()
{
Expand Down
Expand Up @@ -230,12 +230,6 @@ public ValueGroup valueGroup()
return ValueGroup.LOCAL_TIME;
}

@Override
public String toString()
{
return prettyPrint();
}

@Override
protected int computeHash()
{
Expand Down
Expand Up @@ -206,6 +206,12 @@ public final boolean equals( String x )
return false;
}

@Override
public String toString()
{
return prettyPrint();
}

static <VALUE> VALUE parse( Class<VALUE> type, Pattern pattern, Function<Matcher,VALUE> parser, CharSequence text )
{
Matcher matcher = pattern.matcher( text );
Expand Down
Expand Up @@ -269,12 +269,6 @@ public ValueGroup valueGroup()
return ValueGroup.ZONED_TIME;
}

@Override
public String toString()
{
return prettyPrint();
}

@Override
protected int computeHash()
{
Expand Down
Expand Up @@ -32,8 +32,8 @@ object Neo4jExceptionToExecutionFailed {

def convert(phase: String, t: Throwable): ExecutionFailed = {
val neo4jException = t match {
case _ => throw t
case re: RuntimeException => re
case _ => throw t
}
val errorType = Status.statusCodeOf(neo4jException)
val msg = neo4jException.getMessage
Expand Down

0 comments on commit 07fe97a

Please sign in to comment.