Skip to content

Commit

Permalink
Fixes from code review
Browse files Browse the repository at this point in the history
Fixed
 - toString-implementations of Node and Edge value implementations
 - fixed argument name to `labels` method
  • Loading branch information
pontusmelke committed Jun 19, 2017
1 parent 8a0ea98 commit 48f69b6
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public <E extends Exception> void writeTo( AnyValueWriter<E> writer ) throws E
@Override
public String toString()
{
return format( "-[%s]-", id );
return format( "-[%d]-", id );
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ public <E extends Exception> void writeTo( AnyValueWriter<E> writer ) throws E
@Override
public String toString()
{
return format( "-[%s]-", id );
return format( "-[%d]-", id );
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public <E extends Exception> void writeTo( AnyValueWriter<E> writer ) throws E
@Override
public String toString()
{
return format( "(%s)", id );
return format( "(%d)", id );
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ long id()
@Override
public String toString()
{
return format( "(%s)", id );
return format( "(%d)", id );
}

}
Original file line number Diff line number Diff line change
Expand Up @@ -68,9 +68,9 @@ public static LabelValue label( int id, TextValue value )
return new LabelValue( id, value );
}

public static LabelSet labels( LabelValue... labelIds )
public static LabelSet labels( LabelValue... labels )
{
return new LabelSet.ArrayBasedLabelSet( labelIds );
return new LabelSet.ArrayBasedLabelSet( labels );
}

public static NodeReference node( long id )
Expand Down

0 comments on commit 48f69b6

Please sign in to comment.