Skip to content

Commit

Permalink
Use LinkedHashSet for BoundedHashSet
Browse files Browse the repository at this point in the history
This allows enumerating Azure containers in the same order as the
service provides.  This more closely matches PageSet and the Atmos
implementation of BoundedSet.
  • Loading branch information
gaul committed Jan 10, 2015
1 parent b7ab8b1 commit fdec63f
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@
package org.jclouds.azure.storage.domain.internal;

import java.net.URI;
import java.util.HashSet;
import java.util.LinkedHashSet;

import org.jclouds.azure.storage.domain.BoundedSet;

import com.google.common.collect.Iterables;

public class BoundedHashSet<T> extends HashSet<T> implements BoundedSet<T> {
public class BoundedHashSet<T> extends LinkedHashSet<T> implements BoundedSet<T> {

protected final URI url;
protected final String prefix;
Expand Down

0 comments on commit fdec63f

Please sign in to comment.