Update javadoc for setLoginLanguage to reflect the current behaviour. Modify setLoginLanguage to be consistent with the new getLoginLanguage behaviour.
(transplanted from bad1d69fac940f36e2627247e250579afbd04f2f)
This commit is contained in:
parent
ffc1bbf925
commit
411eedc398
|
@ -401,8 +401,8 @@ public class Language implements Serializable
|
||||||
|
|
||||||
|
|
||||||
/**************************************************************************
|
/**************************************************************************
|
||||||
* Get Default Login Language
|
* Get Current Login Language
|
||||||
* @return default Language
|
* @return login language
|
||||||
*/
|
*/
|
||||||
public static Language getLoginLanguage ()
|
public static Language getLoginLanguage ()
|
||||||
{
|
{
|
||||||
|
@ -411,14 +411,14 @@ public class Language implements Serializable
|
||||||
} // getLanguage
|
} // getLanguage
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Set Default Login Language
|
* Set Current Login Language
|
||||||
* @param language language
|
* @param language language
|
||||||
*/
|
*/
|
||||||
public static void setLoginLanguage (Language language)
|
public static void setLoginLanguage (Language language)
|
||||||
{
|
{
|
||||||
if (language != null)
|
if (language != null)
|
||||||
{
|
{
|
||||||
s_loginLanguage = language;
|
Env.setContext(Env.getCtx(), Env.LANGUAGE, language.getAD_Language());
|
||||||
log.config(s_loginLanguage.toString());
|
log.config(s_loginLanguage.toString());
|
||||||
}
|
}
|
||||||
} // setLanguage
|
} // setLanguage
|
||||||
|
|
Loading…
Reference in New Issue