Lines 929-935
Link Here
|
929 |
DataElement de = getElementFor(remotePath); |
929 |
DataElement de = getElementFor(remotePath); |
930 |
DataElement status = dsStatusCommand(de, IUniversalDataStoreConstants.C_DELETE, monitor); |
930 |
DataElement status = dsStatusCommand(de, IUniversalDataStoreConstants.C_DELETE, monitor); |
931 |
if (status == null) return false; |
931 |
if (status == null) return false; |
932 |
if (FileSystemMessageUtil.getSourceMessage(status).equals(IServiceConstants.SUCCESS)) { |
932 |
String sourceMsg = FileSystemMessageUtil.getSourceMessage(status); |
|
|
933 |
if (sourceMsg.equals(IServiceConstants.SUCCESS) || sourceMsg.equals("")) { //$NON-NLS-1$ |
933 |
return true; |
934 |
return true; |
934 |
} else { |
935 |
} else { |
935 |
throw new SystemMessageException(getMessage("RSEF1300").makeSubstitution(FileSystemMessageUtil.getSourceLocation(status))); //$NON-NLS-1$ |
936 |
throw new SystemMessageException(getMessage("RSEF1300").makeSubstitution(FileSystemMessageUtil.getSourceLocation(status))); //$NON-NLS-1$ |
Lines 949-955
Link Here
|
949 |
} |
950 |
} |
950 |
DataElement status = dsStatusCommand((DataElement) dataElements.get(0), dataElements, IUniversalDataStoreConstants.C_DELETE_BATCH, monitor); |
951 |
DataElement status = dsStatusCommand((DataElement) dataElements.get(0), dataElements, IUniversalDataStoreConstants.C_DELETE_BATCH, monitor); |
951 |
if (status == null) return false; |
952 |
if (status == null) return false; |
952 |
if (FileSystemMessageUtil.getSourceMessage(status).equals(IServiceConstants.SUCCESS)) { |
953 |
String sourceMsg = FileSystemMessageUtil.getSourceMessage(status); |
|
|
954 |
if (sourceMsg.equals(IServiceConstants.SUCCESS) || sourceMsg.equals("")) { //$NON-NLS-1$ |
953 |
return true; |
955 |
return true; |
954 |
} else { |
956 |
} else { |
955 |
throw new SystemMessageException(getMessage("RSEF1300").makeSubstitution(FileSystemMessageUtil.getSourceLocation(status))); //$NON-NLS-1$ |
957 |
throw new SystemMessageException(getMessage("RSEF1300").makeSubstitution(FileSystemMessageUtil.getSourceLocation(status))); //$NON-NLS-1$ |