Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
K
Kieker-TeeTime-Stages
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
TeeTime
Kieker-TeeTime-Stages
Commits
61929863
There was a problem fetching the pipeline summary.
Commit
61929863
authored
8 years ago
by
Sören Henning
Browse files
Options
Downloads
Patches
Plain Diff
fix bugs
parent
ad7089c3
No related branches found
No related tags found
1 merge request
!17
Get impletemented stages and Java 8
Pipeline
#
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/main/java/kieker/analysis/graph/impl/GraphImpl.java
+6
-5
6 additions, 5 deletions
src/main/java/kieker/analysis/graph/impl/GraphImpl.java
src/main/java/kieker/analysis/graph/impl/VertexImpl.java
+1
-1
1 addition, 1 deletion
src/main/java/kieker/analysis/graph/impl/VertexImpl.java
with
7 additions
and
6 deletions
src/main/java/kieker/analysis/graph/impl/GraphImpl.java
+
6
−
5
View file @
61929863
...
...
@@ -80,20 +80,21 @@ public class GraphImpl extends ElementImpl implements Graph {
public
Edge
addEdge
(
final
Object
id
,
final
Vertex
outVertex
,
final
Vertex
inVertex
)
{
Stack
<
VertexImpl
>
outVertexParents
=
new
Stack
<>();
for
(
VertexImpl
parent
=
(
(
VertexImpl
)
outVertex
).
graph
.
parentVertex
;
parent
!=
null
;
parent
=
parent
.
graph
.
parentVertex
)
{
for
(
VertexImpl
parent
=
(
VertexImpl
)
outVertex
;
parent
!=
null
;
parent
=
parent
.
graph
.
parentVertex
)
{
outVertexParents
.
push
(
parent
);
}
Stack
<
VertexImpl
>
inVertexParents
=
new
Stack
<>();
for
(
VertexImpl
parent
=
(
(
VertexImpl
)
inVertex
).
graph
.
parentVertex
;
parent
!=
null
;
parent
=
parent
.
graph
.
parentVertex
)
{
for
(
VertexImpl
parent
=
(
VertexImpl
)
inVertex
;
parent
!=
null
;
parent
=
parent
.
graph
.
parentVertex
)
{
inVertexParents
.
push
(
parent
);
}
if
(
outVertexParents
.
p
op
()
!=
inVertexParents
.
p
op
()
)
{
if
(
outVertexParents
.
p
eek
().
graph
!=
inVertexParents
.
p
eek
().
graph
)
{
// throw exception TODO
throw
new
IllegalStateException
();
}
GraphImpl
firstEqualParent
=
this
;
while
(
outVertexParents
.
peek
()
==
inVertexParents
.
pop
())
{
GraphImpl
firstEqualParent
=
null
;
while
(
!
outVertexParents
.
isEmpty
()
&&
!
inVertexParents
.
isEmpty
()
&&
outVertexParents
.
peek
()
.
graph
==
inVertexParents
.
pop
()
.
graph
)
{
firstEqualParent
=
outVertexParents
.
pop
().
graph
;
}
return
firstEqualParent
.
addEdgeChecked
(
id
,
outVertex
,
inVertex
);
...
...
This diff is collapsed.
Click to expand it.
src/main/java/kieker/analysis/graph/impl/VertexImpl.java
+
1
−
1
View file @
61929863
...
...
@@ -21,7 +21,7 @@ class VertexImpl extends GraphElementImpl implements Vertex {
@Override
public
Graph
addChildGraph
()
{
this
.
childGraph
=
new
GraphImpl
();
this
.
childGraph
=
new
GraphImpl
(
this
);
return
getChildGraph
();
}
...
...
This diff is collapsed.
Click to expand it.
Sören Henning
@she
mentioned in issue
#29 (closed)
·
8 years ago
mentioned in issue
#29 (closed)
mentioned in issue #29
Toggle commit list
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