mirror of
https://github.com/hyperledger/fabric-samples.git
synced 2026-06-26 03:25:09 +00:00
Clean up
Use always whitespaces to indent the start of the line Remove unnecessary whitespaces Signed-off-by: Stefan Obermeier <scray@stefan-obermeier.de>
This commit is contained in:
parent
04bdd1d308
commit
1ada9a7ca3
2 changed files with 27 additions and 28 deletions
|
|
@ -65,4 +65,3 @@ public final class CarQueryResult {
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -150,10 +150,10 @@ public final class FabCar implements ContractInterface {
|
|||
QueryResultsIterator<KeyValue> results = stub.getStateByRange(startKey, endKey);
|
||||
|
||||
for (KeyValue result: results) {
|
||||
|
||||
Car car = genson.deserialize(result.getStringValue(), Car.class);
|
||||
queryResults.add(new CarQueryResult(result.getKey(), car));
|
||||
}
|
||||
|
||||
CarQueryResult[] response = queryResults.toArray(new CarQueryResult[queryResults.size()]);
|
||||
|
||||
return response;
|
||||
|
|
|
|||
Loading…
Reference in a new issue