Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
T
tla2bAST
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
general
stups
tla2bAST
Commits
553a90ba
Commit
553a90ba
authored
5 months ago
by
Jan Gruteser
Browse files
Options
Downloads
Patches
Plain Diff
delete AbstractSymbol
has not been used for a long time
parent
a3dd3335
No related branches found
No related tags found
No related merge requests found
Pipeline
#148677
passed
5 months ago
Stage: test
Stage: deploy
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/main/java/de/tla2b/types/AbstractHasFollowers.java
+0
-2
0 additions, 2 deletions
src/main/java/de/tla2b/types/AbstractHasFollowers.java
src/main/java/de/tla2b/types/AbstractSymbol.java
+0
-22
0 additions, 22 deletions
src/main/java/de/tla2b/types/AbstractSymbol.java
with
0 additions
and
24 deletions
src/main/java/de/tla2b/types/AbstractHasFollowers.java
+
0
−
2
View file @
553a90ba
...
@@ -45,8 +45,6 @@ public abstract class AbstractHasFollowers extends TLAType {
...
@@ -45,8 +45,6 @@ public abstract class AbstractHasFollowers extends TLAType {
if
(
newType
instanceof
AbstractHasFollowers
)
{
if
(
newType
instanceof
AbstractHasFollowers
)
{
((
AbstractHasFollowers
)
newType
).
addFollower
(
follower
);
((
AbstractHasFollowers
)
newType
).
addFollower
(
follower
);
}
}
}
else
if
(
follower
instanceof
AbstractSymbol
)
{
((
AbstractSymbol
)
follower
).
setType
(
newType
);
}
else
if
(
follower
instanceof
SetType
)
{
}
else
if
(
follower
instanceof
SetType
)
{
((
SetType
)
follower
).
setSubType
(
newType
);
((
SetType
)
follower
).
setSubType
(
newType
);
}
else
if
(
follower
instanceof
TupleType
)
{
}
else
if
(
follower
instanceof
TupleType
)
{
...
...
This diff is collapsed.
Click to expand it.
src/main/java/de/tla2b/types/AbstractSymbol.java
deleted
100644 → 0
+
0
−
22
View file @
a3dd3335
package
de.tla2b.types
;
public
abstract
class
AbstractSymbol
{
private
TLAType
type
;
public
AbstractSymbol
(
TLAType
t
)
{
setType
(
t
);
}
public
TLAType
getType
()
{
return
type
;
}
protected
void
setType
(
TLAType
t
)
{
this
.
type
=
t
;
if
(
type
instanceof
AbstractHasFollowers
)
{
AbstractHasFollowers
p
=
(
AbstractHasFollowers
)
t
;
p
.
addFollower
(
this
);
}
}
}
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