Skip to content

Commit

Permalink
revert spaces in javadoc of OperationResult
Browse files Browse the repository at this point in the history
  • Loading branch information
skublik committed Sep 13, 2023
1 parent c4d0b14 commit 192bfe0
Showing 1 changed file with 12 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,18 +152,18 @@
* private static final OP_SOME_METHOD = ThisClass.class.getName() + ".someMethod";
*
* void someMethod(String param1, Object param2, OperationResult parentResult) throws SomeException {
* OperationResult result = parentResult.subresult(OP_SOME_METHOD)
* .addParam("param1", param1)
* .addArbitraryObjectAsParam("param2", param2)
* .build();
* try {
* // ... some meat here ...
* } catch (SomeException | RuntimeException e) {
* result.recordException(e);
* throw e;
* } finally {
* result.close();
* }
* OperationResult result = parentResult.subresult(OP_SOME_METHOD)
* .addParam("param1", param1)
* .addArbitraryObjectAsParam("param2", param2)
* .build();
* try {
* // ... some meat here ...
* } catch (SomeException | RuntimeException e) {
* result.recordException(e);
* throw e;
* } finally {
* result.close();
* }
* }
* ----
*
Expand Down

0 comments on commit 192bfe0

Please sign in to comment.