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

New API for iterating DiskLruCache contents. #1250

Merged
merged 1 commit into from
Dec 29, 2014

Conversation

swankjesse
Copy link
Collaborator

For #853

while (delegate.hasNext()) {
Entry entry = delegate.next();
Snapshot snapshot = entry.snapshot();
if (snapshot == null) continue; // Evicted since we created copied the entries.
Copy link
Collaborator

Choose a reason for hiding this comment

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

Double verb in comment.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Fixed. I need something like type safety for my English grammar.

@codefromthecrypt
Copy link

checkstyle, otherwise LGTM. I like the simplicity of the api and omit vs exception bias

@JakeWharton
Copy link
Collaborator

LGTM!

swankjesse added a commit that referenced this pull request Dec 29, 2014
New API for iterating DiskLruCache contents.
@swankjesse swankjesse merged commit 452b319 into master Dec 29, 2014
@swankjesse swankjesse deleted the jwilson_1229_cache_iterator branch December 30, 2014 14:20
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.

4 participants