Skip to content

[Android] Minor code cleanup#564

Merged
spikebrehm merged 1 commit intoreact-native-maps:masterfrom
felipecsl:felipe/cleanup
Sep 12, 2016
Merged

[Android] Minor code cleanup#564
spikebrehm merged 1 commit intoreact-native-maps:masterfrom
felipecsl:felipe/cleanup

Conversation

@felipecsl
Copy link
Copy Markdown
Contributor

  • Remove unused variables and fields
  • Fix compiler warnings (unchecked, deprecation, etc)

* Remove unused variables and fields
* Fix compiler warnings (unchecked, deprecation, etc)
@felipecsl
Copy link
Copy Markdown
Contributor Author

@spikebrehm this should be a simple one I guess?

polylineView.addToMap(map);
features.add(index, polylineView);
Polyline polyline = (Polyline) polylineView.getFeature();
polylineMap.put(polyline, polylineView);
Copy link
Copy Markdown

Choose a reason for hiding this comment

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

These maps aren't used, eh? You've smoke tested the example app?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

yeah, these maps are never queried

@spikebrehm spikebrehm merged commit a7fc88b into react-native-maps:master Sep 12, 2016
pinpong pushed a commit to pinpong/react-native-maps that referenced this pull request Feb 28, 2025
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.

2 participants