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
93896917
Commit
93896917
authored
10 years ago
by
Nelson Tavares de Sousa
Browse files
Options
Downloads
Patches
Plain Diff
changes modifier and set methods final
parent
8c281cc3
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/main/java/teetime/framework/Analysis.java
+1
-1
1 addition, 1 deletion
src/main/java/teetime/framework/Analysis.java
src/main/java/teetime/framework/AnalysisConfiguration.java
+4
-4
4 additions, 4 deletions
src/main/java/teetime/framework/AnalysisConfiguration.java
with
5 additions
and
5 deletions
src/main/java/teetime/framework/Analysis.java
+
1
−
1
View file @
93896917
...
...
@@ -204,7 +204,7 @@ public final class Analysis<T extends AnalysisConfiguration> implements Uncaught
}
@SuppressWarnings
(
"rawtypes"
)
p
ublic
void
colorAndConnectStages
(
final
Integer
i
,
final
Map
<
Stage
,
Integer
>
colors
,
final
Stage
threadableStage
)
{
p
rivate
void
colorAndConnectStages
(
final
Integer
i
,
final
Map
<
Stage
,
Integer
>
colors
,
final
Stage
threadableStage
)
{
Set
<
Stage
>
threadableStageJobs
=
configuration
.
getThreadableStageJobs
();
for
(
OutputPort
outputPort
:
threadableStage
.
getOutputPorts
())
{
if
(
outputPort
.
pipe
!=
null
)
{
...
...
This diff is collapsed.
Click to expand it.
src/main/java/teetime/framework/AnalysisConfiguration.java
+
4
−
4
View file @
93896917
...
...
@@ -59,7 +59,7 @@ public abstract class AnalysisConfiguration {
* @param stage
* A arbitrary stage, which will be added to the configuration and executed in a thread.
*/
protected
void
addThreadableStage
(
final
Stage
stage
)
{
protected
final
void
addThreadableStage
(
final
Stage
stage
)
{
this
.
threadableStageJobs
.
add
(
stage
);
}
...
...
@@ -69,7 +69,7 @@ public abstract class AnalysisConfiguration {
* @param stage
* A arbitrary CompositeStage, which will be added to the configuration and executed in a thread.
*/
protected
void
addThreadableStage
(
final
AbstractCompositeStage
stage
)
{
protected
final
void
addThreadableStage
(
final
AbstractCompositeStage
stage
)
{
this
.
threadableStageJobs
.
add
(
stage
.
getFirstStage
());
for
(
Stage
threadableStage
:
stage
.
getThreadableStageJobs
())
{
this
.
addThreadableStage
(
threadableStage
);
...
...
@@ -161,7 +161,7 @@ public abstract class AnalysisConfiguration {
* @param targetPort
* port from the receiving stage
*/
protected
<
T
>
void
connectPorts
(
final
OutputPort
<?
extends
T
>
sourcePort
,
final
InputPort
<
T
>
targetPort
)
{
protected
final
<
T
>
void
connectPorts
(
final
OutputPort
<?
extends
T
>
sourcePort
,
final
InputPort
<
T
>
targetPort
)
{
connectPorts
(
sourcePort
,
targetPort
,
4
);
}
...
...
@@ -175,7 +175,7 @@ public abstract class AnalysisConfiguration {
* @param capacity
* the pipe is set to this capacity, if the value is greater than 0. If it is 0, than the pipe is unbounded, thus growing of the pipe is enabled.
*/
protected
<
T
>
void
connectPorts
(
final
OutputPort
<?
extends
T
>
sourcePort
,
final
InputPort
<
T
>
targetPort
,
final
int
capacity
)
{
protected
final
<
T
>
void
connectPorts
(
final
OutputPort
<?
extends
T
>
sourcePort
,
final
InputPort
<
T
>
targetPort
,
final
int
capacity
)
{
new
InstantiationPipe
<
T
>(
sourcePort
,
targetPort
,
capacity
);
// connections.add(new Connection<T>(sourcePort, targetPort, capacity));
}
...
...
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