Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
TeeTime-Framework
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Nelson Tavares de Sousa
TeeTime-Framework
Commits
cfe13943
Commit
cfe13943
authored
10 years ago
by
Christian Wulf
Browse files
Options
Downloads
Patches
Plain Diff
deprecated init()
parent
1278810e
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.settings/edu.umd.cs.findbugs.core.prefs
+1
-1
1 addition, 1 deletion
.settings/edu.umd.cs.findbugs.core.prefs
src/main/java/teetime/framework/Analysis.java
+11
-0
11 additions, 0 deletions
src/main/java/teetime/framework/Analysis.java
with
12 additions
and
1 deletion
.settings/edu.umd.cs.findbugs.core.prefs
+
1
−
1
View file @
cfe13943
#FindBugs User Preferences
#
Mon
Feb 0
2
1
4:42
:5
1
CET 2015
#
Wed
Feb 0
4
1
5:13
:5
3
CET 2015
detector_threshold=3
effort=max
excludefilter0=.fbExcludeFilterFile|true
...
...
This diff is collapsed.
Click to expand it.
src/main/java/teetime/framework/Analysis.java
+
11
−
0
View file @
cfe13943
...
...
@@ -32,6 +32,8 @@ public class Analysis implements UncaughtExceptionHandler {
private
final
Collection
<
Pair
<
Thread
,
Throwable
>>
exceptions
=
new
ConcurrentLinkedQueue
<
Pair
<
Thread
,
Throwable
>>();
private
boolean
initialized
;
/**
* Creates a new {@link Analysis} that skips validating the port connections.
*
...
...
@@ -47,6 +49,7 @@ public class Analysis implements UncaughtExceptionHandler {
if
(
validationEnabled
)
{
validateStages
();
}
init
();
}
private
void
validateStages
()
{
...
...
@@ -66,8 +69,16 @@ public class Analysis implements UncaughtExceptionHandler {
/**
* This initializes Analysis and needs to be run right before starting it.
*
* @deprecated 1.1
*/
@Deprecated
public
void
init
()
{
if
(
initialized
)
{
return
;
}
initialized
=
true
;
final
List
<
Stage
>
threadableStageJobs
=
this
.
configuration
.
getThreadableStageJobs
();
for
(
Stage
stage
:
threadableStageJobs
)
{
switch
(
stage
.
getTerminationStrategy
())
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment