-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Anontated use of some prism APIs - candidates for refactor / removal
- one use only - public method has only one use in midPoint probably code should be somewhere else - unused - no users in midPoint - candidate for deprecation / deletion
- Loading branch information
1 parent
bc1fc68
commit f3b583f
Showing
6 changed files
with
38 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
infra/util/src/main/java/com/evolveum/midpoint/util/annotation/OneUseOnly.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package com.evolveum.midpoint.util.annotation; | ||
|
||
import java.lang.annotation.Documented; | ||
import java.lang.annotation.Retention; | ||
|
||
import static java.lang.annotation.RetentionPolicy.SOURCE; | ||
|
||
@Documented | ||
@Retention(SOURCE) | ||
public @interface OneUseOnly { | ||
String value(); | ||
} |
11 changes: 11 additions & 0 deletions
11
infra/util/src/main/java/com/evolveum/midpoint/util/annotation/Unused.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package com.evolveum.midpoint.util.annotation; | ||
|
||
import java.lang.annotation.Documented; | ||
import java.lang.annotation.Retention; | ||
|
||
import static java.lang.annotation.RetentionPolicy.SOURCE; | ||
|
||
@Documented | ||
@Retention(SOURCE) | ||
public @interface Unused { | ||
} |