Skip to content

Commit

Permalink
Merge pull request flutter#1818 from vlidholt/master
Browse files Browse the repository at this point in the history
Fixes warning in sprites
  • Loading branch information
vlidholt committed Oct 26, 2015
2 parents ba8b8bc + e72d06b commit 260f006
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions skysprites/lib/src/physics_collision_groups.dart
Original file line number Diff line number Diff line change
Expand Up @@ -7,16 +7,16 @@ class _PhysicsCollisionGroups {
getBitmaskForKeys(["Default"]);
}

Map<Object,int> keyLookup = {};
Map<Object,int> keyLookup = <Object,int>{};

List<Object> getKeysForBitmask(int bitmask) {
List<Object> keys = [];
keyLookup.forEach((key, value) {
if (value & bitmask) {
keyLookup.forEach((Object key, int value) {
if (value & bitmask != null) {
keys.add(key);
}
});
return key;
return keys;
}

int getBitmaskForKeys(List<Object> keys) {
Expand Down

0 comments on commit 260f006

Please sign in to comment.