Skip to content
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

DPRO-914: Add objects list in create collection response #48

Merged
merged 4 commits into from
Apr 23, 2015

Conversation

GabrielaFilomeno
Copy link
Contributor

No description provided.

@@ -352,17 +354,26 @@ private RepoCollection createCollection(RepoCollection repoCollection,
throw new RepoException("Error saving content to database");
}

List<RepoObject> repoObjectList = new ArrayList<>();
RepoObject repoObject = null;
Copy link
Contributor

Choose a reason for hiding this comment

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

The declaration can be inside the for-loop.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Sure, declare the object in smaller scope it's better.

rskonnord-plos added a commit that referenced this pull request Apr 23, 2015
DPRO-914: Add objects list in create collection response
@rskonnord-plos rskonnord-plos merged commit d6e3936 into master Apr 23, 2015
@rskonnord-plos rskonnord-plos deleted the DPRO-914 branch April 23, 2015 20:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants