removed unused code
removed comments git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/workspace-tree-widget@98723 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
3705ac2866
commit
1225585ec6
|
@ -335,8 +335,8 @@ public class DialogGetInfo extends Dialog {
|
||||||
@Override
|
@Override
|
||||||
public void onSuccess(String result) {
|
public void onSuccess(String result) {
|
||||||
htmlUsersWidget.unmask();
|
htmlUsersWidget.unmask();
|
||||||
|
GWT.log("Loaded ACLs: "+result);
|
||||||
htmlUsersWidget.setHtml(result);
|
htmlUsersWidget.setHtml(result);
|
||||||
|
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -2304,11 +2304,15 @@ public class GWTWorkspaceBuilder {
|
||||||
|
|
||||||
String html = "<div style=\"width: 100%; text-align:left; font-size: 10px;\">";
|
String html = "<div style=\"width: 100%; text-align:left; font-size: 10px;\">";
|
||||||
|
|
||||||
|
logger.trace("Formatting "+aclOwner.size() +" ACL/s");
|
||||||
|
|
||||||
for (ACLType type : aclOwner.keySet()) {
|
for (ACLType type : aclOwner.keySet()) {
|
||||||
List<String> listLogins = aclOwner.get(type);
|
List<String> listLogins = aclOwner.get(type);
|
||||||
|
|
||||||
html+="<span style=\"font-weight:bold; padding-top: 5px;\">"+type+": </span>";
|
html+="<span style=\"font-weight:bold; padding-top: 5px;\">"+type+": </span>";
|
||||||
html+="<span style=\"font-weight:normal;\">";
|
html+="<span style=\"font-weight:normal;\">";
|
||||||
for (String login : listLogins) {
|
for (String login : listLogins) {
|
||||||
|
logger.trace("Adding login "+login);
|
||||||
String fullName = UserUtil.getUserFullName(login);
|
String fullName = UserUtil.getUserFullName(login);
|
||||||
if(fullName!=null && !fullName.isEmpty())
|
if(fullName!=null && !fullName.isEmpty())
|
||||||
html+=fullName+"; ";
|
html+=fullName+"; ";
|
||||||
|
|
|
@ -1968,7 +1968,8 @@ public class GWTWorkspaceServiceImpl extends RemoteServiceServlet implements GWT
|
||||||
workspaceLogger.info("shareFolder "+ folder.getIdentifier()
|
workspaceLogger.info("shareFolder "+ folder.getIdentifier()
|
||||||
+ " name: "+ folder.getName()
|
+ " name: "+ folder.getName()
|
||||||
+ " parent is: " + folder.getParentFileModel()
|
+ " parent is: " + folder.getParentFileModel()
|
||||||
+ " listContacts size: " + listContacts.size());
|
+ " listContacts size: " + listContacts.size()
|
||||||
|
+" ACL: "+acl);
|
||||||
|
|
||||||
// //DEBUG
|
// //DEBUG
|
||||||
//System.out.println("shareFolder "+ folder.getIdentifier() + " name: "+ folder.getName() + " parent name: " + folder.getParentFileModel().getName() + " listContacts size: " + listContacts.size());
|
//System.out.println("shareFolder "+ folder.getIdentifier() + " name: "+ folder.getName() + " parent name: " + folder.getParentFileModel().getName() + " listContacts size: " + listContacts.size());
|
||||||
|
|
Loading…
Reference in New Issue