Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tic
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wenyuanbo
tic
Commits
5c9689bc
Commit
5c9689bc
authored
Mar 14, 2019
by
Yizhi Liu
Committed by
Tianqi Chen
Mar 14, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
upgrade java style-check due to CVE-2019-9658 (#2817)
parent
baf7a729
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
7 additions
and
9 deletions
+7
-9
jvm/conf/google_checks.xml
+0
-3
jvm/core/pom.xml
+1
-1
jvm/core/src/main/java/ml/dmlc/tvm/Base.java
+1
-1
jvm/core/src/main/java/ml/dmlc/tvm/Function.java
+1
-1
jvm/core/src/main/java/ml/dmlc/tvm/Module.java
+1
-0
jvm/core/src/main/java/ml/dmlc/tvm/NDArrayBase.java
+1
-1
jvm/core/src/main/java/ml/dmlc/tvm/contrib/GraphModule.java
+1
-1
jvm/core/src/main/java/ml/dmlc/tvm/rpc/NativeServerLoop.java
+1
-1
No files found.
jvm/conf/google_checks.xml
View file @
5c9689bc
...
@@ -57,9 +57,6 @@
...
@@ -57,9 +57,6 @@
<property
name=
"tokens"
value=
"LITERAL_TRY, LITERAL_FINALLY, LITERAL_IF, LITERAL_ELSE, LITERAL_SWITCH"
/>
<property
name=
"tokens"
value=
"LITERAL_TRY, LITERAL_FINALLY, LITERAL_IF, LITERAL_ELSE, LITERAL_SWITCH"
/>
</module>
</module>
<module
name=
"NeedBraces"
/>
<module
name=
"NeedBraces"
/>
<module
name=
"LeftCurly"
>
<property
name=
"maxLineLength"
value=
"100"
/>
</module>
<module
name=
"RightCurly"
/>
<module
name=
"RightCurly"
/>
<module
name=
"RightCurly"
>
<module
name=
"RightCurly"
>
<property
name=
"option"
value=
"alone"
/>
<property
name=
"option"
value=
"alone"
/>
...
...
jvm/core/pom.xml
View file @
5c9689bc
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
<dependency>
<dependency>
<groupId>
com.puppycrawl.tools
</groupId>
<groupId>
com.puppycrawl.tools
</groupId>
<artifactId>
checkstyle
</artifactId>
<artifactId>
checkstyle
</artifactId>
<version>
6.12
</version>
<version>
[8.18,)
</version>
</dependency>
</dependency>
</dependencies>
</dependencies>
<executions>
<executions>
...
...
jvm/core/src/main/java/ml/dmlc/tvm/Base.java
View file @
5c9689bc
...
@@ -161,7 +161,7 @@ final class Base {
...
@@ -161,7 +161,7 @@ final class Base {
// helper function definitions
// helper function definitions
/**
/**
* Check the return value of C API call
* Check the return value of C API call
.
* <p>
* <p>
* This function will raise exception when error occurs.
* This function will raise exception when error occurs.
* Wrap every API call with this function
* Wrap every API call with this function
...
...
jvm/core/src/main/java/ml/dmlc/tvm/Function.java
View file @
5c9689bc
...
@@ -75,7 +75,7 @@ public class Function extends TVMValue {
...
@@ -75,7 +75,7 @@ public class Function extends TVMValue {
}
}
/**
/**
* Initialize the function with handle
* Initialize the function with handle
.
* @param handle the handle to the underlying function.
* @param handle the handle to the underlying function.
* @param isResident Whether this is a resident function in jvm
* @param isResident Whether this is a resident function in jvm
*/
*/
...
...
jvm/core/src/main/java/ml/dmlc/tvm/Module.java
View file @
5c9689bc
...
@@ -122,6 +122,7 @@ public class Module extends TVMValue {
...
@@ -122,6 +122,7 @@ public class Module extends TVMValue {
}
}
/**
/**
* Get type key of the module.
* @return type key of the module.
* @return type key of the module.
*/
*/
public
String
typeKey
()
{
public
String
typeKey
()
{
...
...
jvm/core/src/main/java/ml/dmlc/tvm/NDArrayBase.java
View file @
5c9689bc
...
@@ -45,7 +45,7 @@ public class NDArrayBase extends TVMValue {
...
@@ -45,7 +45,7 @@ public class NDArrayBase extends TVMValue {
}
}
/**
/**
* Copy array to target
* Copy array to target
.
* @param target The target array to be copied, must have same shape as this array.
* @param target The target array to be copied, must have same shape as this array.
* @return target
* @return target
*/
*/
...
...
jvm/core/src/main/java/ml/dmlc/tvm/contrib/GraphModule.java
View file @
5c9689bc
...
@@ -72,7 +72,7 @@ public class GraphModule {
...
@@ -72,7 +72,7 @@ public class GraphModule {
}
}
/**
/**
* Set inputs to the module
* Set inputs to the module
.
* @param key The input key.
* @param key The input key.
* @param value The input value.
* @param value The input value.
* @return self.
* @return self.
...
...
jvm/core/src/main/java/ml/dmlc/tvm/rpc/NativeServerLoop.java
View file @
5c9689bc
...
@@ -31,7 +31,7 @@ public class NativeServerLoop implements Runnable {
...
@@ -31,7 +31,7 @@ public class NativeServerLoop implements Runnable {
private
final
int
sockFd
;
private
final
int
sockFd
;
/**
/**
* Constructor for NativeServerLoop
* Constructor for NativeServerLoop
.
* @param nativeSockFd native socket file descriptor.
* @param nativeSockFd native socket file descriptor.
*/
*/
public
NativeServerLoop
(
final
int
nativeSockFd
)
{
public
NativeServerLoop
(
final
int
nativeSockFd
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment