Skip to content

Commit 708d972

Browse files
author
Tibor Digana
committed
threadsafe annotation
1 parent e30fe38 commit 708d972

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
package org.junit.experimental.annotations;
2+
3+
import java.lang.annotation.*;
4+
5+
/**
6+
* Implementation is guaranteed to be free of race conditions
7+
* when accessed by multiple threads simultaneously.
8+
*
9+
* @author Tibor Digana (tibor17)
10+
* @version 4.12
11+
* @since 4.12
12+
*/
13+
@Documented
14+
@Target(ElementType.TYPE)
15+
@Retention(RetentionPolicy.RUNTIME)
16+
public @interface ThreadSafe {
17+
}

0 commit comments

Comments
 (0)