Skip to content

Commit

Permalink
Merge pull request #2 from agorapulse/chore/inherited-permission-anno…
Browse files Browse the repository at this point in the history
…tations

permissions annotations are now inherited
  • Loading branch information
musketyr committed May 9, 2022
2 parents d06e633 + 86d44b7 commit 14c0b8e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion docs/guide/src/docs/asciidoc/installation.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[[_installation_]]
= Installation

[source]
[source,subs='verbatim,attributes']
----
repositories {
mavenCentral()
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,7 @@
import io.micronaut.aop.Around;
import io.micronaut.context.annotation.Type;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;
import java.lang.annotation.*;

import static java.lang.annotation.RetentionPolicy.RUNTIME;

Expand All @@ -32,6 +29,7 @@
* within a method body.
*/
@Around
@Inherited
@Documented
@Retention(RUNTIME)
@Target({ElementType.METHOD, ElementType.ANNOTATION_TYPE})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.Target;

Expand All @@ -33,6 +34,7 @@
* and every check must pass.
*/
@Around
@Inherited
@Documented
@Retention(RUNTIME)
@Target({ElementType.METHOD, ElementType.ANNOTATION_TYPE})
Expand Down

0 comments on commit 14c0b8e

Please sign in to comment.