You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by jl...@apache.org on 2018/12/17 06:11:14 UTC
[16/21] tomee git commit: Fixed typo
Fixed typo
Project: http://git-wip-us.apache.org/repos/asf/tomee/repo
Commit: http://git-wip-us.apache.org/repos/asf/tomee/commit/0a7826c8
Tree: http://git-wip-us.apache.org/repos/asf/tomee/tree/0a7826c8
Diff: http://git-wip-us.apache.org/repos/asf/tomee/diff/0a7826c8
Branch: refs/heads/master
Commit: 0a7826c897c964f7c5a3650f40409b1084aa8a6d
Parents: 1803338
Author: Ryan McGuinness <ry...@homedepot.com>
Authored: Sun Dec 16 19:37:59 2018 -0500
Committer: Ryan McGuinness <ry...@homedepot.com>
Committed: Sun Dec 16 19:37:59 2018 -0500
----------------------------------------------------------------------
examples/access-timeout-meta/README.adoc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tomee/blob/0a7826c8/examples/access-timeout-meta/README.adoc
----------------------------------------------------------------------
diff --git a/examples/access-timeout-meta/README.adoc b/examples/access-timeout-meta/README.adoc
index 5a30432..4c3ddfe 100644
--- a/examples/access-timeout-meta/README.adoc
+++ b/examples/access-timeout-meta/README.adoc
@@ -139,7 +139,7 @@ to clearly reflect the contents of each meta-annotation (`@AccessTimeout(-1)` an
The **cons** of this approach is that should you want to change the configuration of the application by only changing the meta-annotations -- this is one of the potential benefits
of meta-annotations -- but this may change the meaning of the annotation. Certainly, the `@AwaitNever` meta-annotation can have no other value than `0` if it is to live up to its name.
-## Operation names [.small]describing the code#
+## Operation names [.small]#describing the code#
The alternate approach is to name your meta-annotations after the **operations** they apply to. In short, to describe the code itself and not the configuration. So, names like
`@OrderCheckTimeout` or `@TwitterUpdateTimeout`. These names are configuration-change-proof. They would not change if the configuration changes and in fact they can facilitate