Skip to content

Commit

Permalink
Improved java code style
Browse files Browse the repository at this point in the history
Signed-off-by: thadumi <th.theodor.th@gmail.com>
  • Loading branch information
thadumi committed Mar 23, 2020
1 parent ccac93c commit 1086ec3
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 10 deletions.
Expand Up @@ -18,8 +18,7 @@ interceptor bindings for the interceptor.

[source, java]
----
@Monitored
@Interceptor
@Monitored @Interceptor
public class MonitoringInterceptor {
@AroundInvoke
public Object monitorInvocation(InvocationContext ctx)
Expand Down
Expand Up @@ -30,8 +30,7 @@ type must select a member value:

[source, java]
----
@Monitored(persistent=true)
@Interceptor
@Monitored(persistent=true) @Interceptor
@Priority(2100)
public class PersistentMonitoringInterceptor {
@AroundInvoke
Expand Down
Expand Up @@ -32,8 +32,7 @@ of this component:

[source, java]
----
@Monitored
@Logged
@Monitored @Logged
public class ShoppingCart { ... }
----

Expand Down
Expand Up @@ -20,8 +20,7 @@ priority, the relative order of those interceptors is undefined.

[source, java]
----
@Monitored
@Interceptor
@Monitored @Interceptor
@Priority(100)
public class MonitoringInterceptor {
@AroundInvoke
Expand Down
Expand Up @@ -58,8 +58,7 @@ business methods:
public @interface Monitored {}
@Monitored
@Interceptor
@Monitored @Interceptor
public class MonitoringInterceptor {
@AroundInvoke
public Object monitorInvocation(InvocationContext ctx) {
Expand Down

0 comments on commit 1086ec3

Please sign in to comment.