Skip to content

Commit

Permalink
yegor256#409 Added puzzles
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosmiranda committed Mar 19, 2015
1 parent 2e95f83 commit 0d4ba01
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main/java/com/thindeck/api/Repo.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@
* @author Yegor Bugayenko ([email protected])
* @version $Id$
* @since 0.1
* @todo #409:30min Let's add a new method User user(). It should return the
* User whom the Repo is associated to. Let's also add implementations in the
* classes that implement this interface.
*/
@Immutable
public interface Repo {
Expand Down
4 changes: 4 additions & 0 deletions src/main/java/com/thindeck/dynamo/DyRepos.java
Original file line number Diff line number Diff line change
Expand Up @@ -105,6 +105,10 @@ public Repo add(final String name) {
}
}

//@todo #409:30min We should include the User as a filter to the repos that
// will be fetched. If the Default user is specified, we should return all
// repos. Otherwise, only the repos of that specific user should be
// contained in the Iterable.
@Override
public Iterable<Repo> iterate() {
return Iterables.transform(
Expand Down

0 comments on commit 0d4ba01

Please sign in to comment.