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
|
||||
* @return default Language
|
||||
* Get Current Login Language
|
||||
* @return login language
|
||||
*/
|
||||
public static Language getLoginLanguage ()
|
||||
{
|
||||
|
@ -411,14 +411,14 @@ public class Language implements Serializable
|
|||
} // getLanguage
|
||||
|
||||
/**
|
||||
* Set Default Login Language
|
||||
* Set Current Login Language
|
||||
* @param language language
|
||||
*/
|
||||
public static void setLoginLanguage (Language language)
|
||||
{
|
||||
if (language != null)
|
||||
{
|
||||
s_loginLanguage = language;
|
||||
Env.setContext(Env.getCtx(), Env.LANGUAGE, language.getAD_Language());
|
||||
log.config(s_loginLanguage.toString());
|
||||
}
|
||||
} // setLanguage
|
||||
|
|
Loading…
Reference in New Issue