Fix java class constructor code to fix build.
This commit is contained in:
parent
d1836d394b
commit
05ac3bcbd0
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Mon Jun 2 15:05:21 MDT 2008 - jnorman@novell.com
|
||||
|
||||
- Fix java class constructors on java wrapper
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu May 29 09:38:53 MDT 2008 - jnorman@novell.com
|
||||
|
||||
- Fix bug that prevents CASAManager from displaying
|
||||
|
File diff suppressed because it is too large
Load Diff
@ -20,42 +20,47 @@
|
||||
*
|
||||
***********************************************************************/
|
||||
|
||||
package com.novell.casa;
|
||||
|
||||
public class NetCredential {
|
||||
|
||||
private String m_sUsername = "";
|
||||
private String m_sPassword = "";
|
||||
|
||||
public void NetCredential(String username, String password)
|
||||
{
|
||||
m_sUsername = username;
|
||||
m_sPassword = password;
|
||||
}
|
||||
|
||||
public String getUsername()
|
||||
{
|
||||
return m_sUsername;
|
||||
}
|
||||
|
||||
public String getPassword()
|
||||
{
|
||||
return m_sPassword;
|
||||
}
|
||||
|
||||
public void setUsername(String sUsername)
|
||||
{
|
||||
if (sUsername != null)
|
||||
{
|
||||
m_sUsername = sUsername;
|
||||
}
|
||||
}
|
||||
|
||||
public void setPassword(String sPassword)
|
||||
{
|
||||
if (sPassword != null)
|
||||
{
|
||||
m_sPassword = sPassword;
|
||||
}
|
||||
}
|
||||
}
|
||||
package com.novell.casa;
|
||||
|
||||
public class NetCredential {
|
||||
|
||||
private String m_sUsername = "";
|
||||
private String m_sPassword = "";
|
||||
|
||||
public NetCredential()
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
public NetCredential(String username, String password)
|
||||
{
|
||||
m_sUsername = username;
|
||||
m_sPassword = password;
|
||||
}
|
||||
|
||||
public String getUsername()
|
||||
{
|
||||
return m_sUsername;
|
||||
}
|
||||
|
||||
public String getPassword()
|
||||
{
|
||||
return m_sPassword;
|
||||
}
|
||||
|
||||
public void setUsername(String sUsername)
|
||||
{
|
||||
if (sUsername != null)
|
||||
{
|
||||
m_sUsername = sUsername;
|
||||
}
|
||||
}
|
||||
|
||||
public void setPassword(String sPassword)
|
||||
{
|
||||
if (sPassword != null)
|
||||
{
|
||||
m_sPassword = sPassword;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user