Skip to content

Commit

Permalink
Move @adr to .linked package (#26)
Browse files Browse the repository at this point in the history
  • Loading branch information
koppor authored Aug 29, 2024
1 parent e782a61 commit 2f8ccb8
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

### Changed

- Move `@ADR` annotation to `io.github.adr.linked` package to strengthen that it is a link.
- Change to `RetentionPolicy.SOURCE`

### Fixed
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

import java.util.UUID;

import io.github.adr.embedded.ADR;
import io.github.adr.linked.ADR;

/**
* Annotations can, by design, not put everywhere.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import io.github.adr.linked.ADR;

@ADR(1)
@Target({
ElementType.ANNOTATION_TYPE,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import io.github.adr.linked.ADR;

@ADR(1)
@Target({
ElementType.ANNOTATION_TYPE,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import io.github.adr.linked.ADR;

@ADR(1)
@Target({
ElementType.ANNOTATION_TYPE,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import io.github.adr.linked.ADR;

/**
* See <a href="https://www.infoq.com/articles/sustainable-architectural-design-decisions">IEEE Software/InfoQ article</a> and
* <a href="https://www.ifs.hsr.ch/fileadmin/user_upload/customers/ifs.hsr.ch/Home/projekte/ZIO-WFADSoftwareforenAGSWAAT8Nov2014v10p.pdf">SATURN 2012 presentation</a> for introduction of Y statements.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.github.adr.embedded;
package io.github.adr.linked;

import java.lang.annotation.Documented;
import java.lang.annotation.Repeatable;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package io.github.adr.embedded;
package io.github.adr.linked;

import java.lang.annotation.Documented;
import java.lang.annotation.Retention;
Expand Down

0 comments on commit 2f8ccb8

Please sign in to comment.