Skip to content

Commit

Permalink
fix: MapObjectManager.Collection object order (#972)
Browse files Browse the repository at this point in the history
* chore(deps): bump play-services-base from 17.2.1 to 17.6.0 (#846)

Bumps play-services-base from 17.2.1 to 17.6.0.

Signed-off-by: dependabot[bot] <[email protected]>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* Use LinkHashSet to maintain set order

Closes #772

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
  • Loading branch information
jeffdgr8 and dependabot[bot] authored Sep 14, 2021
1 parent faf1ad6 commit e6276a9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion library-v3/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ dependencies {
implementation 'com.google.android.libraries.maps:maps:3.1.0-beta'
implementation 'com.android.volley:volley:1.2.1' // TODO - Remove this after Maps SDK v3 beta includes Volley versions on Maven Central
implementation 'com.google.android.gms:play-services-basement:17.6.0'
implementation 'com.google.android.gms:play-services-base:17.2.1'
implementation 'com.google.android.gms:play-services-base:17.6.0'
implementation 'com.google.android.gms:play-services-gcm:17.0.0'
implementation 'com.google.android.gms:play-services-location:18.0.0'
implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk8:$kotlin_version"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

import java.util.Collections;
import java.util.HashMap;
import java.util.HashSet;
import java.util.LinkedHashSet;
import java.util.Map;
import java.util.Set;

Expand Down Expand Up @@ -94,7 +94,7 @@ public boolean remove(O object) {
protected abstract void removeObjectFromMap(O object);

public class Collection {
private final Set<O> mObjects = new HashSet<>();
private final Set<O> mObjects = new LinkedHashSet<>();

public Collection() {
}
Expand Down

0 comments on commit e6276a9

Please sign in to comment.