Skip to content

Commit

Permalink
[lang] Deprecate setDefaultContextUUID in Bootstrap.
Browse files Browse the repository at this point in the history
The replacement function is `setSpecificContextUUID`.

Signed-off-by: Stéphane Galland <galland@arakhne.org>
  • Loading branch information
gallandarakhneorg committed Dec 24, 2018
1 parent 64908d5 commit 85e1f21
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Expand Up @@ -136,8 +136,17 @@ default void setBootAgentTypeContextUUID() {
* <p>This function has no effect if the agent framework is already launched.
*
* @since 0.7
* @see #setUniverseContextUUID(UUID)
* @see #getUniverseContextUUID()
* @see #setUniverseSpaceUUID(UUID)
* @see #getUniverseSpaceUUID()
* @deprecated see {@link #setSpecificContextUUID()}
*/
@Deprecated
default void setDefaultContextUUID() {
setSpecificContextUUID();
}

/**
* Force the SRE platform to use the identifier hard-coded in the source code for its default context.
*
Expand Down
Expand Up @@ -121,7 +121,7 @@ public void setBootAgentTypeContextUUID() {
}

@Override
public void setDefaultContextUUID() {
public void setSpecificContextUUID() {
Boot.setDefaultContextUUID();
}

Expand Down

0 comments on commit 85e1f21

Please sign in to comment.