You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by rh...@apache.org on 2015/07/06 01:45:30 UTC
[29/38] qpid-proton git commit: PROTON-881: indent more for markdown
PROTON-881: indent more for markdown
Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/3c379923
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/3c379923
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/3c379923
Branch: refs/heads/master
Commit: 3c3799238a7f834cf0848378ed704da3135fa491
Parents: 2405ca0
Author: Rafael Schloming <rh...@alum.mit.edu>
Authored: Fri May 15 14:36:00 2015 -0400
Committer: Rafael Schloming <rh...@alum.mit.edu>
Committed: Fri May 15 14:36:00 2015 -0400
----------------------------------------------------------------------
examples/java/reactor/README.md | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/3c379923/examples/java/reactor/README.md
----------------------------------------------------------------------
diff --git a/examples/java/reactor/README.md b/examples/java/reactor/README.md
index dcbcb89..c6b532f 100644
--- a/examples/java/reactor/README.md
+++ b/examples/java/reactor/README.md
@@ -9,11 +9,11 @@ a context object, i.e. the *target* object upon which the event
occurred. These objects are contained either directly or indirectly
within the Reactor:
- Delivery --> Link --> Session --> Connection --+
- |
- Task --+--> Reactor
- |
- Selectable --+
+ Delivery --> Link --> Session --> Connection --+
+ |
+ Task --+--> Reactor
+ |
+ Selectable --+
Each event is dispatched first to a target-specific handler, and
@@ -38,13 +38,13 @@ target-specific handler is invoked) can be accessed and modified using
Reactor.set/getGlobalHandler. This can be useful for a number of
reasons, e.g. you could log all events by doing this:
- reactor.getGlobalHandler().add(new LoggerHandler());
+ reactor.getGlobalHandler().add(new LoggerHandler());
Where LoggerHandler does this:
- public void onUnhandled(Event evt) {
- System.out.println(evt);
- }
+ public void onUnhandled(Event evt) {
+ System.out.println(evt);
+ }
The above trick is particularly useful for debugging.
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org