-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathspotbugs-exclude.xml
49 lines (42 loc) · 2.12 KB
/
spotbugs-exclude.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
<FindBugsFilter>
<Match>
<Bug category="BAD_PRACTICE" code="CT" value="CT_CONSTRUCTOR_THROW" />
<Class name="com.yscope.logging.log4j2.AbstractBufferedRollingFileAppender" />
<Justification>Log4j2 should throw immediately if configurations are wrong.</Justification>
</Match>
<Match>
<Bug category="BAD_PRACTICE" code="CT" value="CT_CONSTRUCTOR_THROW" />
<Class name="com.yscope.logging.log4j2.ClpIrFileAppender" />
<Justification>Log4j2 should throw immediately if configurations are wrong.</Justification>
</Match>
<Match>
<Bug category="BAD_PRACTICE" code="CT" value="CT_CONSTRUCTOR_THROW" />
<Class name="com.yscope.logging.log4j2.CompressionPatternLayoutContainer" />
<Justification>Log4j2 should throw immediately if configurations are wrong.</Justification>
</Match>
<Match>
<Bug category="MALICIOUS_CODE" code="EI" value="EI_EXPOSE_REP" />
<Class name="com.yscope.logging.log4j2.PatternLayoutBufferDestination" />
<Justification>False positive: Simply returning the buffer. No security check required.</Justification>
</Match>
<Match>
<Bug category="PERFORMANCE" code="UrF" value="URF_UNREAD_FIELD" />
<Class name="com.yscope.logging.log4j2.AbstractBufferedRollingFileAppender$Builder" />
<Justification>False positive: Log4j2 plugin attributes.</Justification>
</Match>
<Match>
<Bug category="PERFORMANCE" code="UrF" value="URF_UNREAD_FIELD" />
<Class name="com.yscope.logging.log4j2.AbstractClpIrBufferedRollingFileAppender$Builder" />
<Justification>False positive: Log4j2 plugin attributes.</Justification>
</Match>
<Match>
<Bug category="PERFORMANCE" code="UrF" value="URF_UNREAD_FIELD" />
<Class name="com.yscope.logging.log4j2.ClpIrFileAppender$Builder" />
<Justification>False positive: Log4j2 plugin attributes.</Justification>
</Match>
<Match>
<Bug category="MT_CORRECTNESS" code="IS" value="IS2_INCONSISTENT_SYNC" />
<Class name="com.yscope.logging.log4j2.AbstractBufferedRollingFileAppender" />
<Justification>Custom synchronization is for shutdown after all user threads.</Justification>
</Match>
</FindBugsFilter>