Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
Y
yzg-util
Project
Project
Details
Activity
Releases
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
YZG
yzg-util
Commits
c66cca96
Commit
c66cca96
authored
Apr 22, 2019
by
yanzg
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
压缩处理
parent
8468bffd
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
RunnableListAuto.java
...in/java/com/yanzuoguang/util/thread/RunnableListAuto.java
+1
-1
ThreadNext.java
...src/main/java/com/yanzuoguang/util/thread/ThreadNext.java
+1
-1
No files found.
yzg-util-base/src/main/java/com/yanzuoguang/util/thread/RunnableListAuto.java
View file @
c66cca96
...
@@ -110,7 +110,7 @@ public final class RunnableListAuto {
...
@@ -110,7 +110,7 @@ public final class RunnableListAuto {
threadCount
=
threadCount
-
1
;
threadCount
=
threadCount
-
1
;
}
}
threadCount
=
Math
.
min
(
threadCount
,
methods
.
size
());
threadCount
=
Math
.
min
(
threadCount
,
methods
.
size
());
int
finalThreadCount
=
threadCount
;
final
int
finalThreadCount
=
threadCount
;
// 打印线程顺序
// 打印线程顺序
if
(
IsLog
)
{
if
(
IsLog
)
{
...
...
yzg-util-base/src/main/java/com/yanzuoguang/util/thread/ThreadNext.java
View file @
c66cca96
...
@@ -24,7 +24,7 @@ public class ThreadNext {
...
@@ -24,7 +24,7 @@ public class ThreadNext {
int
getNextTime
();
int
getNextTime
();
}
}
public
static
void
start
(
Next
next
,
String
error
)
{
public
static
void
start
(
final
Next
next
,
String
error
)
{
if
(
next
==
null
)
{
if
(
next
==
null
)
{
return
;
return
;
}
}
...
...
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