Toggle navigation
Toggle navigation
This project
Loading...
Sign in
홍길동
/
onos
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Sho SHIMIZU
2016-01-19 18:40:29 -0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
d1a33b6b7788d46c4c4248b7a7ccecfb04b30030
d1a33b6b
1 parent
051e9faa
Rename instance field
Change-Id: I00ecd3fe74806dc800af1f48153b18941755a0d2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
12 deletions
core/net/src/main/java/org/onosproject/net/intent/impl/phase/Corrupt.java
core/net/src/main/java/org/onosproject/net/intent/impl/phase/Failed.java
core/net/src/main/java/org/onosproject/net/intent/impl/phase/Corrupt.java
View file @
d1a33b6
...
...
@@ -25,20 +25,20 @@ import static org.onosproject.net.intent.IntentState.CORRUPT;
*/
public
class
Corrupt
extends
FinalIntentProcessPhase
{
private
final
IntentData
intentD
ata
;
private
final
IntentData
d
ata
;
/**
* Create an instance with the specified data.
*
* @param
intentD
ata intentData
* @param
d
ata intentData
*/
Corrupt
(
IntentData
intentD
ata
)
{
this
.
intentData
=
checkNotNull
(
intentD
ata
);
this
.
intentD
ata
.
setState
(
CORRUPT
);
Corrupt
(
IntentData
d
ata
)
{
this
.
data
=
checkNotNull
(
d
ata
);
this
.
d
ata
.
setState
(
CORRUPT
);
}
@Override
public
IntentData
data
()
{
return
intentD
ata
;
return
d
ata
;
}
}
...
...
core/net/src/main/java/org/onosproject/net/intent/impl/phase/Failed.java
View file @
d1a33b6
...
...
@@ -25,20 +25,20 @@ import static org.onosproject.net.intent.IntentState.FAILED;
*/
public
class
Failed
extends
FinalIntentProcessPhase
{
private
final
IntentData
intentD
ata
;
private
final
IntentData
d
ata
;
/**
* Create an instance with the specified data.
*
* @param
intentD
ata intentData
* @param
d
ata intentData
*/
Failed
(
IntentData
intentD
ata
)
{
this
.
intentData
=
checkNotNull
(
intentD
ata
);
this
.
intentD
ata
.
setState
(
FAILED
);
Failed
(
IntentData
d
ata
)
{
this
.
data
=
checkNotNull
(
d
ata
);
this
.
d
ata
.
setState
(
FAILED
);
}
@Override
public
IntentData
data
()
{
return
intentD
ata
;
return
d
ata
;
}
}
...
...
Please
register
or
login
to post a comment