removed comments
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/portlets/widgets/workspace-sharing-widget@111519 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
b26fda50b0
commit
9b11eb0b3a
|
@ -102,7 +102,7 @@ public class NotificationsUtil {
|
|||
|
||||
WorkspaceItem wsItem = workspace.getItem(idSharedFolder);
|
||||
|
||||
if(isASharedFolder(wsItem)){
|
||||
if(isARootSharedFolder(wsItem)){
|
||||
|
||||
WorkspaceSharedFolder wsFolder = (WorkspaceSharedFolder) wsItem;
|
||||
|
||||
|
@ -206,7 +206,7 @@ public class NotificationsUtil {
|
|||
* @param wsItem
|
||||
* @return
|
||||
*/
|
||||
public static boolean isASharedFolder(WorkspaceItem wsItem){
|
||||
public static boolean isARootSharedFolder(WorkspaceItem wsItem){
|
||||
if(wsItem!=null)
|
||||
return wsItem.getType().equals(WorkspaceItemType.SHARED_FOLDER);
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue