Uniformly handling id == 0 (it's not valid, but everywhere we only assume < 0 is invalid, so do the same here)

This commit is contained in:
Rodrigo Damazio
2011-06-09 19:45:08 -03:00
parent 98ad96115a
commit 93f204ba22
@@ -660,7 +660,7 @@ public class MyTracksProviderUtilsImpl implements MyTracksProviderUtils {
@Override
public Waypoint getFirstWaypoint(long trackId) {
if (trackId <= 0) {
if (trackId < 0) {
return null;
}