initialize totalTracks

This commit is contained in:
sonora 2015-01-19 23:48:08 +01:00
parent fa6e4bea91
commit cacc92457f

View file

@ -503,6 +503,7 @@ public class GPXUtilities {
public GPXTrackAnalysis getAnalysis(long fileTimestamp) {
GPXTrackAnalysis g = new GPXTrackAnalysis();
g.wptPoints = points.size();
g.totalTracks = 0;
List<SplitSegment> splitSegments = new ArrayList<GPXUtilities.SplitSegment>();
for(int i = 0; i< tracks.size() ; i++){
Track subtrack = tracks.get(i);