-
Notifications
You must be signed in to change notification settings - Fork 588
HDDS-12252. New checkstyle for imports and license with suppressions #7836
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
6f03069
1c080c8
99cb958
0027b9d
6cf2d13
966145d
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,17 @@ | ||
| /* | ||
| * 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. | ||
| */ | ||
|
|
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,28 @@ | ||
| <?xml version="1.0"?> | ||
| <!-- | ||
| Licensed 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. See accompanying LICENSE file. | ||
| --> | ||
| <!-- TODO: To be removed as soon as epic https://issues.apache.org/jira/browse/HDDS-12251 is done. --> | ||
| <!DOCTYPE suppressions PUBLIC | ||
| "-//Checkstyle//DTD SuppressionFilter Configuration 1.1//EN" | ||
| "https://checkstyle.org/dtds/suppressions_1_1.dtd"> | ||
|
|
||
| <suppressions> | ||
| <suppress checks="JavadocPackage" files="[\\/]src[\\/]test[\\/].*"/> | ||
| <suppress checks="JavadocPackage" files="src/main/java/org/apache/hadoop/io/erasurecode/rawcoder"/> | ||
| <suppress checks="IllegalImport" files="src/test/java/org/apache/hadoop/fs/contract/.*java"/> | ||
| <suppress checks="MissingJavadocType" files="src/test/java/org/apache/hadoop/fs/contract/.*java"/> | ||
| <suppress checks="IllegalImport" files="src/test/java/org/apache/hadoop/tools/contract/.*java"/> | ||
| <suppress checks="CustomImportOrder" files=".*"/> | ||
| <suppress checks="Header" files=".*"/> | ||
|
Comment on lines
+26
to
+27
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Please add a comment in
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Done
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Let's raise a ticket for removing this file and make it part of the epic.
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. it will be a part of the last ticket of the epic. No need to create a separate ticket to remove file which will not be accessed by anything in the code |
||
| </suppressions> | ||
Uh oh!
There was an error while loading. Please reload this page.