Skip to content
Permalink
Browse files

[lang] Deprecate setDefaultContextUUID in Bootstrap.

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 85e1f21ec63fa3a383a5f50e27839191c547fc29
@@ -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.
*
@@ -121,7 +121,7 @@ public void setBootAgentTypeContextUUID() {
}

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

0 comments on commit 85e1f21

Please sign in to comment.
You can’t perform that action at this time.