Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
doujutun3207
flink
提交
6ad365c2
F
flink
项目概览
doujutun3207
/
flink
与 Fork 源项目一致
从无法访问的项目Fork
通知
24
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
F
flink
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
6ad365c2
编写于
10月 28, 2020
作者:
A
Aljoscha Krettek
提交者:
Chesnay Schepler
12月 28, 2020
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[FLINK-20651] Move checkstyle ignores to suppressions.xml
Keeping them inline does not work with google-java-format.
上级
7ed6cbed
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
15 addition
and
13 deletion
+15
-13
flink-core/src/main/java/org/apache/flink/api/java/typeutils/TupleTypeInfo.java
...va/org/apache/flink/api/java/typeutils/TupleTypeInfo.java
+1
-4
flink-java/src/main/java/org/apache/flink/api/java/io/CsvReader.java
...src/main/java/org/apache/flink/api/java/io/CsvReader.java
+1
-4
flink-table/flink-table-api-java/src/main/java/org/apache/flink/table/api/internal/BaseExpressions.java
.../org/apache/flink/table/api/internal/BaseExpressions.java
+1
-3
tools/ci/java-ci-tools/src/main/java/org/apache/flink/tools/ci/licensecheck/NoticeFileChecker.java
...apache/flink/tools/ci/licensecheck/NoticeFileChecker.java
+0
-2
tools/maven/suppressions-core.xml
tools/maven/suppressions-core.xml
+3
-0
tools/maven/suppressions.xml
tools/maven/suppressions.xml
+9
-0
未找到文件。
flink-core/src/main/java/org/apache/flink/api/java/typeutils/TupleTypeInfo.java
浏览文件 @
6ad365c2
...
...
@@ -32,15 +32,12 @@ import org.apache.flink.api.common.typeinfo.BasicTypeInfo;
import
org.apache.flink.api.common.typeinfo.TypeInformation
;
import
org.apache.flink.api.common.typeutils.TypeComparator
;
import
org.apache.flink.api.common.typeutils.TypeSerializer
;
import
org.apache.flink.api.java.tuple.*
;
import
org.apache.flink.api.java.typeutils.runtime.Tuple0Serializer
;
import
org.apache.flink.api.java.typeutils.runtime.TupleComparator
;
import
org.apache.flink.api.java.typeutils.runtime.TupleSerializer
;
import
org.apache.flink.types.Value
;
//CHECKSTYLE.OFF: AvoidStarImport - Needed for TupleGenerator
import
org.apache.flink.api.java.tuple.*
;
//CHECKSTYLE.ON: AvoidStarImport
import
static
org
.
apache
.
flink
.
util
.
Preconditions
.
checkArgument
;
import
static
org
.
apache
.
flink
.
util
.
Preconditions
.
checkState
;
...
...
flink-java/src/main/java/org/apache/flink/api/java/io/CsvReader.java
浏览文件 @
6ad365c2
...
...
@@ -24,16 +24,13 @@ import org.apache.flink.api.common.typeinfo.TypeInformation;
import
org.apache.flink.api.java.ExecutionEnvironment
;
import
org.apache.flink.api.java.Utils
;
import
org.apache.flink.api.java.operators.DataSource
;
import
org.apache.flink.api.java.tuple.*
;
import
org.apache.flink.api.java.typeutils.PojoTypeInfo
;
import
org.apache.flink.api.java.typeutils.TupleTypeInfo
;
import
org.apache.flink.api.java.typeutils.TypeExtractor
;
import
org.apache.flink.core.fs.Path
;
import
org.apache.flink.util.Preconditions
;
//CHECKSTYLE.OFF: AvoidStarImport|ImportOrder
import
org.apache.flink.api.java.tuple.*
;
//CHECKSTYLE.ON: AvoidStarImport|ImportOrder
import
java.util.ArrayList
;
import
java.util.Arrays
;
...
...
flink-table/flink-table-api-java/src/main/java/org/apache/flink/table/api/internal/BaseExpressions.java
浏览文件 @
6ad365c2
...
...
@@ -43,11 +43,9 @@ import static org.apache.flink.table.expressions.ApiExpressionUtils.toMonthInter
import
static
org
.
apache
.
flink
.
table
.
expressions
.
ApiExpressionUtils
.
typeLiteral
;
import
static
org
.
apache
.
flink
.
table
.
expressions
.
ApiExpressionUtils
.
unresolvedCall
;
import
static
org
.
apache
.
flink
.
table
.
expressions
.
ApiExpressionUtils
.
valueLiteral
;
import
static
org
.
apache
.
flink
.
table
.
functions
.
BuiltInFunctionDefinitions
.*;
import
static
org
.
apache
.
flink
.
table
.
types
.
utils
.
TypeConversions
.
fromLegacyInfoToDataType
;
//CHECKSTYLE.OFF: AvoidStarImport|ImportOrder
import
static
org
.
apache
.
flink
.
table
.
functions
.
BuiltInFunctionDefinitions
.*;
//CHECKSTYLE.ON: AvoidStarImport|ImportOrder
/**
* These are Java and Scala common operations that can be used to construct an {@link Expression} AST for
...
...
tools/ci/java-ci-tools/src/main/java/org/apache/flink/tools/ci/licensecheck/NoticeFileChecker.java
浏览文件 @
6ad365c2
...
...
@@ -18,13 +18,11 @@
package
org.apache.flink.tools.ci.licensecheck
;
//CHECKSTYLE.OFF: regexp|imports
import
com.google.common.base.Preconditions
;
import
com.google.common.collect.ArrayListMultimap
;
import
com.google.common.collect.Multimap
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
//CHECKSTYLE.ON: regexp|imports
import
java.io.File
;
import
java.io.IOException
;
...
...
tools/maven/suppressions-core.xml
浏览文件 @
6ad365c2
...
...
@@ -23,6 +23,9 @@ under the License.
"http://www.puppycrawl.com/dtds/suppressions_1_1.dtd">
<suppressions>
<!-- These use star import for all the generated Tuple classes -->
<suppress
files=
"TupleTypeInfo.java"
checks=
"AvoidStarImport"
/>
<suppress
files=
"(.*)api[/\\]java[/\\]typeutils[/\\]runtime[/\\](.*)"
checks=
"NewlineAtEndOfFile|RegexpSingleline|TodoComment|RedundantImport|ImportOrder|RedundantModifier|JavadocMethod|JavadocParagraph|JavadocType|JavadocStyle|PackageName|TypeNameCheck|ConstantNameCheck|StaticVariableNameCheck|MemberNameCheck|MethodNameCheck|ParameterName|LocalFinalVariableName|LocalVariableName|LeftCurly|UpperEll|FallThrough|reliefPattern|SimplifyBooleanExpression|EmptyStatement|ModifierOrder|EmptyLineSeparator|WhitespaceAround|WhitespaceAfter|NoWhitespaceAfter|NoWhitespaceBefore|OperatorWrap|ParenPad"
/>
...
...
tools/maven/suppressions.xml
浏览文件 @
6ad365c2
...
...
@@ -23,6 +23,15 @@ under the License.
"http://www.puppycrawl.com/dtds/suppressions_1_1.dtd">
<suppressions>
<!-- Star import is used for all the expressions -->
<suppress
files=
"BaseExpressions.java"
checks=
"AvoidStarImport"
/>
<!-- These use star import for all the generated Tuple classes -->
<suppress
files=
"CsvReader.java"
checks=
"AvoidStarImport"
/>
<suppress
files=
"NoticeFileChecker.java"
checks=
"Regexp"
/>
<suppress
files=
"NoticeFileChecker.java"
checks=
"IllegalImport"
/>
<suppress
files=
"org[\\/]apache[\\/]flink[\\/]formats[\\/]avro[\\/]generated[\\/].*.java"
checks=
"[a-zA-Z0-9]*"
/>
<suppress
files=
"org[\\/]apache[\\/]flink[\\/]formats[\\/]parquet[\\/]generated[\\/].*.java"
checks=
"[a-zA-Z0-9]*"
/>
<!-- Sometimes we have to temporarily fix very long, different formatted Calcite files. -->
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录