Repository: calcite-avatica
Updated Branches:
  refs/heads/master 3cfafde9f -> bc8530e65


Move spotbugs-filter.xml to src/main/config/spotbugs/

Signed-off-by: Kevin Risden <[email protected]>


Project: http://git-wip-us.apache.org/repos/asf/calcite-avatica/repo
Commit: http://git-wip-us.apache.org/repos/asf/calcite-avatica/commit/bc8530e6
Tree: http://git-wip-us.apache.org/repos/asf/calcite-avatica/tree/bc8530e6
Diff: http://git-wip-us.apache.org/repos/asf/calcite-avatica/diff/bc8530e6

Branch: refs/heads/master
Commit: bc8530e651e9ab5a98de5c043a087ba2d7db2093
Parents: 3cfafde
Author: Kevin Risden <[email protected]>
Authored: Thu Sep 20 19:33:52 2018 -0400
Committer: Kevin Risden <[email protected]>
Committed: Thu Sep 20 19:34:46 2018 -0400

----------------------------------------------------------------------
 pom.xml                                      |  2 +-
 spotbugs-filter.xml                          | 39 -----------------------
 src/main/config/spotbugs/spotbugs-filter.xml | 39 +++++++++++++++++++++++
 3 files changed, 40 insertions(+), 40 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/calcite-avatica/blob/bc8530e6/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 8d09363..b6004d3 100644
--- a/pom.xml
+++ b/pom.xml
@@ -665,7 +665,7 @@ limitations under the License.
           <configuration>
             <threshold>High</threshold>
             <failOnError>true</failOnError>
-            <excludeFilterFile>spotbugs-filter.xml</excludeFilterFile>
+            
<excludeFilterFile>${top.dir}/src/main/config/spotbugs/spotbugs-filter.xml</excludeFilterFile>
           </configuration>
           <executions>
             <execution>

http://git-wip-us.apache.org/repos/asf/calcite-avatica/blob/bc8530e6/spotbugs-filter.xml
----------------------------------------------------------------------
diff --git a/spotbugs-filter.xml b/spotbugs-filter.xml
deleted file mode 100644
index 6c1cc3a..0000000
--- a/spotbugs-filter.xml
+++ /dev/null
@@ -1,39 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!--
-Licensed to the Apache Software Foundation (ASF) under one or more
-contributor license agreements.  See the NOTICE file distributed with
-this work for additional information regarding copyright ownership.
-The ASF licenses this file to you under the Apache License, Version 2.0
-(the "License"); you may not use this file except in compliance with
-the License.  You may obtain a copy of the License at
-
-http://www.apache.org/licenses/LICENSE-2.0
-
-Unless required by applicable law or agreed to in writing, software
-distributed under the License is distributed on an "AS IS" BASIS,
-WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-See the License for the specific language governing permissions and
-limitations under the License.
--->
-<FindBugsFilter
-  xmlns="https://github.com/spotbugs/filter/3.0.0";
-  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
-  xsi:schemaLocation="https://github.com/spotbugs/filter/3.0.0 
https://raw.githubusercontent.com/spotbugs/spotbugs/3.1.0/spotbugs/etc/findbugsfilter.xsd";>
-
-  <!-- Base64 copied from public domain -->
-  <Match>
-    <Class name="org.apache.calcite.avatica.util.Base64" />
-  </Match>
-
-  <!-- Clone is on purpose -->
-  <Match>
-    <Class name="org.apache.calcite.avatica.util.ByteString" />
-    <Method name="clone" />
-    <Bug pattern="CN_IMPLEMENTS_CLONE_BUT_NOT_CLONEABLE" />
-  </Match>
-
-  <!-- Test only class -->
-  <Match>
-    <Class name="org.apache.calcite.avatica.tck.tests.InsertTest" />
-  </Match>
-</FindBugsFilter>

http://git-wip-us.apache.org/repos/asf/calcite-avatica/blob/bc8530e6/src/main/config/spotbugs/spotbugs-filter.xml
----------------------------------------------------------------------
diff --git a/src/main/config/spotbugs/spotbugs-filter.xml 
b/src/main/config/spotbugs/spotbugs-filter.xml
new file mode 100644
index 0000000..6c1cc3a
--- /dev/null
+++ b/src/main/config/spotbugs/spotbugs-filter.xml
@@ -0,0 +1,39 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+Licensed to the Apache Software Foundation (ASF) under one or more
+contributor license agreements.  See the NOTICE file distributed with
+this work for additional information regarding copyright ownership.
+The ASF licenses this file to you under the Apache License, Version 2.0
+(the "License"); you may not use this file except in compliance with
+the License.  You may obtain a copy of the License at
+
+http://www.apache.org/licenses/LICENSE-2.0
+
+Unless required by applicable law or agreed to in writing, software
+distributed under the License is distributed on an "AS IS" BASIS,
+WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+See the License for the specific language governing permissions and
+limitations under the License.
+-->
+<FindBugsFilter
+  xmlns="https://github.com/spotbugs/filter/3.0.0";
+  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
+  xsi:schemaLocation="https://github.com/spotbugs/filter/3.0.0 
https://raw.githubusercontent.com/spotbugs/spotbugs/3.1.0/spotbugs/etc/findbugsfilter.xsd";>
+
+  <!-- Base64 copied from public domain -->
+  <Match>
+    <Class name="org.apache.calcite.avatica.util.Base64" />
+  </Match>
+
+  <!-- Clone is on purpose -->
+  <Match>
+    <Class name="org.apache.calcite.avatica.util.ByteString" />
+    <Method name="clone" />
+    <Bug pattern="CN_IMPLEMENTS_CLONE_BUT_NOT_CLONEABLE" />
+  </Match>
+
+  <!-- Test only class -->
+  <Match>
+    <Class name="org.apache.calcite.avatica.tck.tests.InsertTest" />
+  </Match>
+</FindBugsFilter>

Reply via email to