xref: /OpenGrok/dev/checkstyle/suppressions.xml (revision 6b9b9644ea01a481727f24f77583b36149906655)
1<?xml version="1.0"?>
2<!--
3
4CDDL HEADER START
5
6The contents of this file are subject to the terms of the
7Common Development and Distribution License (the "License").
8You may not use this file except in compliance with the License.
9
10See LICENSE.txt included in this distribution for the specific
11language governing permissions and limitations under the License.
12
13When distributing Covered Code, include this CDDL HEADER in each
14file and include the License file at LICENSE.txt.
15If applicable, add the following below this CDDL HEADER, with the
16fields enclosed by brackets "[]" replaced with your own identifying
17information: Portions Copyright [yyyy] [name of copyright owner]
18
19CDDL HEADER END
20
21Copyright (c) 2018, 2002, Oracle and/or its affiliates. All rights reserved.
22Portions Copyright (c) 2018-2020, Chris Fraire <cfraire@me.com>.
23
24-->
25
26<!DOCTYPE suppressions PUBLIC
27        "-//Checkstyle//DTD SuppressionFilter Configuration 1.1//EN"
28        "https://checkstyle.org/dtds/suppressions_1_1.dtd">
29
30<suppressions>
31    <suppress checks="Header" files="CustomSloppyPhraseScorer\.java|CustomPhraseQuery\.java|
32        |CustomExactPhraseScorer\.java|PhrasePositions\.java|PhraseQueue\.java|Summarizer\.java|
33        |Summary\.java|OGKUnifiedHighlighter\.java|ResponseHeaderFilter\.java|BoundedBlockingObjectPool\.java|
34        |ObjectPool\.java|ObjectValidator\.java|ObjectFactory\.java|AbstractObjectPool\.java|
35        |BlockingObjectPool\.java|OGKTextVecField\.java|OGKTextField\.java|
36        |LazilyInstantiate\.java|PortChecker\.java|CloseableReentrantReadWriteLock\.java|
37        |ResourceLock\.java|ZeroReader\.java|ColorUtil\.java|RainbowColorGenerator\.java|WildCardMatcher.java|
38        |BitKeeperAnnotationParser\.java|BitKeeperTagEntry\.java|BitKeeperTagParser\.java|BooleanUtilTest\.java|
39        |CorsEnable\.java|CorsFilter\.java" />
40
41    <suppress checks="ParameterNumber" files="CtagsReader\.java|Definitions\.java|
42        |JFlexXrefUtils\.java|FileAnalyzerFactory\.java|SearchController\.java|
43        |Context\.java|HistoryContext\.java|Suggester\.java|
44	|ProjectHelperTestBase\.java|SearchHelper\.java" />
45
46    <suppress checks="FileLength" files="RuntimeEnvironment\.java|IndexDatabase\.java" />
47
48    <suppress checks="MethodLength" files="Indexer\.java|IndexDatabase\.java|AuthorizationFrameworkTest\.java" />
49
50    <suppress checks="JavadocStyle" files="MellonHeaderDecoder\.java|CustomSloppyPhraseScorer\.java|
51        |PhrasePositions\.java|GitRepositoryTest\.java" />
52
53    <suppress checks="LineLength" files="CustomSloppyPhraseScorer\.java" />
54
55    <suppress checks="EmptyBlock" files="JFlexNonXref\.java|JavaClassAnalyzer\.java|JFlexXref\.java|Util\.java|
56        |ClearCaseRepository\.java|JSONUtils\.java|XrefSourceTransformerTest\.java|MercurialRepositoryTest\.java" />
57
58    <suppress checks="WhitespaceAround" files="CustomPhraseQuery\.java|PhrasePositions\.java|
59        |CustomSloppyPhraseScorer\.java" />
60
61    <suppress checks="WhitespaceAfter" files="CustomSloppyPhraseScorer\.java|CustomPhraseQuery\.java" />
62
63    <suppress checks="AnonInnerLength" files="DummyHttpServletRequestLdap\.java|DummyHttpServletRequestUser\.java" />
64
65    <suppress checks="MethodName" files="org[\\/]opengrok[\\/]indexer[\\/]analysis" />
66</suppressions>
67