Kaydet (Commit) e8221763 authored tarafından Noel Grandin's avatar Noel Grandin

cid#1327204 UwF: Unwritten field

Change-Id: I9606abbbf92c052a1265957cbb4e2d73070540c5
üst 8d44385b
...@@ -42,7 +42,7 @@ public class DataSource ...@@ -42,7 +42,7 @@ public class DataSource
m_dataSource ); m_dataSource );
Object[] descriptorProperties = new Object[] { Object[] descriptorProperties = new Object[] {
_descriptor.Name, _descriptor.URL, _descriptor.Info, _descriptor.User, _descriptor.Password, null, _descriptor.URL, _descriptor.Info, _descriptor.User, _descriptor.Password,
_descriptor.IsPasswordRequired }; _descriptor.IsPasswordRequired };
String[] propertyNames = new String[] { String[] propertyNames = new String[] {
"Name", "URL", "Info", "User", "Password", "IsPasswordRequired" }; "Name", "URL", "Info", "User", "Password", "IsPasswordRequired" };
......
...@@ -25,10 +25,6 @@ import com.sun.star.lang.XMultiServiceFactory; ...@@ -25,10 +25,6 @@ import com.sun.star.lang.XMultiServiceFactory;
*/ */
public class DataSourceDescriptor public class DataSourceDescriptor
{ {
/**
* Representation of <code>'Name'</code> property.
*/
public String Name = null ;
/** /**
* Representation of <code>'URL'</code> property. * Representation of <code>'URL'</code> property.
*/ */
......
...@@ -251,7 +251,7 @@ public class ORowSet extends TestCase { ...@@ -251,7 +251,7 @@ public class ORowSet extends TestCase {
if (isMySQLDB) if (isMySQLDB)
{ {
DBTools.DataSourceInfo legacyDescriptor = dbTools.newDataSourceInfo(); DBTools.DataSourceInfo legacyDescriptor = dbTools.newDataSourceInfo();
legacyDescriptor.Name = srcInf.Name; legacyDescriptor.Name = null;
legacyDescriptor.User = srcInf.User; legacyDescriptor.User = srcInf.User;
legacyDescriptor.Password = srcInf.Password; legacyDescriptor.Password = srcInf.Password;
legacyDescriptor.Info = srcInf.Info; legacyDescriptor.Info = srcInf.Info;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment