File tree Expand file tree Collapse file tree 2 files changed +27
-0
lines changed
specs/src/main/java/javax/annotation Expand file tree Collapse file tree 2 files changed +27
-0
lines changed Original file line number Diff line number Diff line change 1
1
# Version 3.5.1 (2018-04-28)
2
2
3
+ * [ new] Add an implementation of ` javax.annotation.Nullable ` avoiding the need of an additional dependency for null injection.
3
4
* [ chg] Remove the need for ` jaxb-api ` dependency for ` seed-rest-jersey2 ` module under Java 9.
4
5
5
6
# Version 3.5.0 (2018-03-16)
Original file line number Diff line number Diff line change
1
+ /*
2
+ * Copyright © 2013-2018, The SeedStack authors <http://seedstack.org>
3
+ *
4
+ * This Source Code Form is subject to the terms of the Mozilla Public
5
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
6
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
7
+ */
8
+
9
+ package javax .annotation ;
10
+
11
+ import java .lang .annotation .Documented ;
12
+ import java .lang .annotation .Retention ;
13
+ import java .lang .annotation .RetentionPolicy ;
14
+
15
+ /**
16
+ * The annotated element could be null under some circumstances.
17
+ *
18
+ * <p>
19
+ * Can be used on injection points to specify that injecting a null is allowed.
20
+ * </p>
21
+ */
22
+ @ Documented
23
+ @ Retention (RetentionPolicy .RUNTIME )
24
+ public @interface Nullable {
25
+
26
+ }
You can’t perform that action at this time.
0 commit comments