Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ public Response delete(final String targetPath, final String value) throws Zosmf
* @throws ZosmfRequestException request error state
* @author James Kostrewski
*/
public Response deleteByType(final String targetPath, final DeleteAclType deleteType) throws ZosmfRequestException {
public Response deleteByType(final String targetPath, final DeleteAclType deleteType)
throws ZosmfRequestException {
return setAclCommon(targetPath, new UssSetAclInputData.Builder().setDeleteType(deleteType).build());
}

Expand All @@ -132,7 +133,7 @@ public Response deleteByType(final String targetPath, final DeleteAclType delete
*/
public Response setAclCommon(final String targetPath, final UssSetAclInputData setAclInputData)
throws ZosmfRequestException {
ValidateUtils.checkIllegalParameter(targetPath, "fromPath");
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i want to keep targetPath usage as method variable names, just change this statement only:
ValidateUtils.checkIllegalParameter(targetPath, "filePathName");
for now.

ValidateUtils.checkIllegalParameter(targetPath, "filePathName");
ValidateUtils.checkNullParameter(setAclInputData, "setAclInputData");
ValidateUtils.checkIllegalParameter(setAclInputData.getSet().isEmpty() &&
setAclInputData.getModify().isEmpty() && setAclInputData.getDelete().isEmpty() &&
Expand Down
Loading