Commit 56e0d9b1 authored by helene ortiz's avatar helene ortiz
Browse files

No commit message

No commit message
parent a3564c15
......@@ -18,8 +18,6 @@
package fr.ill.ics.nscclient.servant;
import java.util.List;
public class ClientServantDescriptor {
private int id;
......@@ -32,9 +30,8 @@ public class ClientServantDescriptor {
boolean isEnabled;
boolean isFavourite;
boolean isRoot;
private List<String> superTypes;
public ClientServantDescriptor(int ID, String name, String type, String family, String subfamily, boolean isCommand, boolean isVisible, boolean isEnabled, boolean isFavourite, boolean isRoot, List<String> superTypes) {
public ClientServantDescriptor(int ID, String name, String type, String family, String subfamily, boolean isCommand, boolean isVisible, boolean isEnabled, boolean isFavourite, boolean isRoot) {
this.id = ID;
this.name = name;
this.type = type;
......@@ -45,18 +42,10 @@ public class ClientServantDescriptor {
this.isEnabled = isEnabled;
this.isFavourite = isFavourite;
this.isRoot = isRoot;
if (superTypes != null && !superTypes.isEmpty()) {
this.superTypes = superTypes;
}
//System.out.println("New servant : " + name + " , type = " + type);
}
public List<String> getSuperTypes() {
return superTypes;
}
public int getId() {
return id;
}
......
......@@ -215,8 +215,7 @@ public class CorbaServantManager {
pbServant.getVisible(),
pbServant.getEnabled(),
false,
pbServant.getRoot(),
pbServant.getTypesList());
pbServant.getRoot());
if (driver) {
ServantDatabase.getInstance().addDriver(descriptor);
......
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