From ba1b92ee68d8edd0730ad480d0dfb7f195868bea Mon Sep 17 00:00:00 2001 From: Chumva Date: Wed, 1 Aug 2018 18:53:33 +0300 Subject: [PATCH] remove unnecessary date file --- .../net/osmand/plus/resources/IncrementalChangesManager.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/resources/IncrementalChangesManager.java b/OsmAnd/src/net/osmand/plus/resources/IncrementalChangesManager.java index 64cb2a3fef..1251d01358 100644 --- a/OsmAnd/src/net/osmand/plus/resources/IncrementalChangesManager.java +++ b/OsmAnd/src/net/osmand/plus/resources/IncrementalChangesManager.java @@ -432,7 +432,7 @@ public class IncrementalChangesManager { } catch (ParseException e) { e.printStackTrace(); } - if (new Date(dateMainMapCreated).after(strDate)) { + if (strDate != null && dateMainMapCreated > strDate.getTime()) { outdated = true; } }