File tree 3 files changed +24
-11
lines changed
3 files changed +24
-11
lines changed Original file line number Diff line number Diff line change 22
22
<module-name >org.slf4j</module-name >
23
23
</properties >
24
24
25
- <dependencies >
26
- <dependency >
27
- <groupId >com.google.code.findbugs</groupId >
28
- <artifactId >jsr305</artifactId >
29
- <version >3.0.2</version >
30
- <optional >true</optional >
31
- </dependency >
32
- </dependencies >
33
-
34
-
35
25
<build >
36
26
<plugins >
37
27
<plugin >
Original file line number Diff line number Diff line change
1
+ package org .slf4j .helpers ;
2
+
3
+
4
+ import org .slf4j .Marker ;
5
+
6
+ import java .lang .annotation .*;
7
+
8
+ /**
9
+ * <p>Used to annotate methods in the {@link org.slf4j.spi.LoggingEventBuilder} interface
10
+ * which return an instance of LoggingEventBuilder (usually as <code>this</code>). Such
11
+ * methods should be followed by one of the terminating <code>log()</code> methods returning
12
+ * <code>void</code>.</p>
13
+ *
14
+ * <p>Some IDEs such as IntelliJ IDEA support this annotation at compile time.</p>
15
+ *
16
+ * @author Ceki Gülcü
17
+ * @since 2.0.0-beta1
18
+ */
19
+ @ Documented
20
+ @ Target ( { ElementType .METHOD })
21
+ @ Retention (RetentionPolicy .RUNTIME )
22
+ public @interface CheckReturnValue {
23
+ }
Original file line number Diff line number Diff line change 28
28
29
29
import org .slf4j .Marker ;
30
30
31
- import javax . annotation .CheckReturnValue ;
31
+ import org . slf4j . helpers .CheckReturnValue ;
32
32
33
33
/**
34
34
* This is the main interface in slf4j's fluent API for creating
You can’t perform that action at this time.
0 commit comments