Skip to content

Commit

Permalink
HSEARCH-1910 Add toString to POI class used for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
DavideD committed Jul 2, 2015
1 parent a793376 commit ffd4625
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions orm/src/test/java/org/hibernate/search/test/spatial/POI.java
Expand Up @@ -90,4 +90,20 @@ public String getType() {
return type;
}

@Override
public String toString() {
StringBuilder builder = new StringBuilder();
builder.append( "POI [id=" );
builder.append( id );
builder.append( ", name=" );
builder.append( name );
builder.append( ", type=" );
builder.append( type );
builder.append( ", latitude=" );
builder.append( latitude );
builder.append( ", longitude=" );
builder.append( longitude );
builder.append( "]" );
return builder.toString();
}
}

0 comments on commit ffd4625

Please sign in to comment.