Skip to content

Commit 6acf0db

Browse files
committed
feat: remove unecessary toString
Signed-off-by: Otavio Santana <[email protected]>
1 parent 79369e9 commit 6acf0db

File tree

1 file changed

+1
-1
lines changed
  • jnosql-couchdb/src/main/java/org/eclipse/jnosql/databases/couchdb/communication

1 file changed

+1
-1
lines changed

jnosql-couchdb/src/main/java/org/eclipse/jnosql/databases/couchdb/communication/HttpExecute.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ private Map<String, Object> findById(String database, String id) {
177177
private String getId(CommunicationEntity entity) {
178178
return entity.find(CouchDBConstant.ID)
179179
.orElseThrow(() -> new CouchDBHttpClientException(
180-
String.format("To update the entity %s the id field is required", entity.toString())))
180+
String.format("To update the entity %s the id field is required", entity)))
181181
.get(String.class);
182182
}
183183

0 commit comments

Comments
 (0)