-
Notifications
You must be signed in to change notification settings - Fork 13
Version id in payload #555
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Version id in payload #555
Conversation
…names are not unique, but the UUID's are. Add versionId to DeleteObjectsError.
| } | ||
| else | ||
| { | ||
| for ( UUID versionId : entry.getValue() ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing final
| for(final String objName : objects) { | ||
| deleteObjects.add(new DeleteObject(objName)); | ||
|
|
||
| for ( Map.Entry< String, Set< UUID > > entry : objects.entrySet() ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing final
| private static List<String> contentsToString(final Iterable<Contents> objs) { | ||
| final List<String> objKeyList = new ArrayList<>(); | ||
|
|
||
| private static Map< String, Set< UUID > > contentsToString( final Iterable< Contents > objs ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You deleted the constructor this code was used in. I believe this code is now dead. If so, it should be removed.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I wasn't sure, removed now.
build.gradle
Outdated
| allprojects { | ||
| group = 'com.spectralogic.ds3' | ||
| version = '3.2.8-COMPAT-2' | ||
| version = '3.2.8-SNAPSHOT-3' |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should update the version number back to COMPAT.
Add versionId to DeleteObject, DeleteObjectsRequest and DeleteObjectError.