xref: /aosp_15_r20/external/apache-commons-compress/pmd-ruleset.xml (revision ba8755cb0ae00084b4d58129cd522613d3299f27)
1*ba8755cbSAndroid Build Coastguard Worker<?xml version="1.0"?>
2*ba8755cbSAndroid Build Coastguard Worker<!--
3*ba8755cbSAndroid Build Coastguard Worker
4*ba8755cbSAndroid Build Coastguard Worker   Licensed to the Apache Software Foundation (ASF) under one or more
5*ba8755cbSAndroid Build Coastguard Worker   contributor license agreements.  See the NOTICE file distributed with
6*ba8755cbSAndroid Build Coastguard Worker   this work for additional information regarding copyright ownership.
7*ba8755cbSAndroid Build Coastguard Worker   The ASF licenses this file to You under the Apache License, Version 2.0
8*ba8755cbSAndroid Build Coastguard Worker   (the "License"); you may not use this file except in compliance with
9*ba8755cbSAndroid Build Coastguard Worker   the License.  You may obtain a copy of the License at
10*ba8755cbSAndroid Build Coastguard Worker
11*ba8755cbSAndroid Build Coastguard Worker       http://www.apache.org/licenses/LICENSE-2.0
12*ba8755cbSAndroid Build Coastguard Worker
13*ba8755cbSAndroid Build Coastguard Worker   Unless required by applicable law or agreed to in writing, software
14*ba8755cbSAndroid Build Coastguard Worker   distributed under the License is distributed on an "AS IS" BASIS,
15*ba8755cbSAndroid Build Coastguard Worker   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16*ba8755cbSAndroid Build Coastguard Worker   See the License for the specific language governing permissions and
17*ba8755cbSAndroid Build Coastguard Worker   limitations under the License.
18*ba8755cbSAndroid Build Coastguard Worker
19*ba8755cbSAndroid Build Coastguard Worker-->
20*ba8755cbSAndroid Build Coastguard Worker<ruleset name="compress"
21*ba8755cbSAndroid Build Coastguard Worker    xmlns="http://pmd.sf.net/ruleset/1.0.0"
22*ba8755cbSAndroid Build Coastguard Worker    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
23*ba8755cbSAndroid Build Coastguard Worker    xsi:schemaLocation="http://pmd.sf.net/ruleset/1.0.0 http://pmd.sf.net/ruleset_xml_schema.xsd"
24*ba8755cbSAndroid Build Coastguard Worker    xsi:noNamespaceSchemaLocation="http://pmd.sf.net/ruleset_xml_schema.xsd">
25*ba8755cbSAndroid Build Coastguard Worker  <description>Standard Ruleset but excluding the "no octal
26*ba8755cbSAndroid Build Coastguard Worker    constants" rule</description>
27*ba8755cbSAndroid Build Coastguard Worker  <rule ref="rulesets/java/basic.xml">
28*ba8755cbSAndroid Build Coastguard Worker    <exclude name="AvoidUsingOctalValues"/>
29*ba8755cbSAndroid Build Coastguard Worker  </rule>
30*ba8755cbSAndroid Build Coastguard Worker  <rule ref="rulesets/java/finalizers.xml"/>
31*ba8755cbSAndroid Build Coastguard Worker  <rule ref="rulesets/java/imports.xml"/>
32*ba8755cbSAndroid Build Coastguard Worker  <rule ref="rulesets/java/unusedcode.xml"/>
33*ba8755cbSAndroid Build Coastguard Worker  <rule ref="rulesets/java/braces.xml"/>
34*ba8755cbSAndroid Build Coastguard Worker</ruleset>
35