Fix java class constructor code to fix build.

This commit is contained in:
Jim Norman 2008-06-02 21:07:59 +00:00
parent d1836d394b
commit 05ac3bcbd0
3 changed files with 850 additions and 837 deletions

View File

@ -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

View File

@ -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;
}
}
}