Commit graph

87 commits

Author SHA1 Message Date
Nelson A. de Oliveira
61699455e5 Replace StringBuffer with String
These may be replaced with java.lang.String expressions which results in
simpler and possibly more efficient code
2013-07-31 15:09:37 -03:00
Nelson A. de Oliveira
a0de8b31b3 Fix string concatenation in StringBuffer.append()
Such calls may profitably be turned into chained append calls on the
existing StringBuffer/Builder/Appendable, saving the cost of an extra
StringBuffer/Builder allocation.
2013-07-31 15:08:29 -03:00
Nelson A. de Oliveira
6a3f36761c Fix redundant String constructor call 2013-07-31 15:07:07 -03:00
Nelson A. de Oliveira
6fc309af19 Fix manual array to collection copy 2013-07-31 15:06:31 -03:00
Nelson A. de Oliveira
ffc006bab6 Fix boxing of already boxed values
This is a useless operation since any boxed value will first be
auto-unboxed before boxing the value again. If done inside an inner loop
such code may cause performance problems.
2013-07-31 15:05:59 -03:00
Victor Shcherb
b0cf3f2f5a Fix issue with distance 2013-07-30 18:14:50 +02:00
vshcherb
9a2e1fb3ba Update Location.java 2013-07-30 11:08:15 +02:00
vshcherb
bdfcbc634c Update Location.java 2013-07-30 11:06:34 +02:00
vshcherb
13d4492534 Update Location.java
Test hotfix
2013-07-30 11:05:13 +02:00
Robin Schneider
989dd8bc09 Added length test to avoid exception.
java.lang.StringIndexOutOfBoundsException: String index out of range
2013-07-25 22:16:45 +02:00
Robin Schneider
3f963b511f Fixed problem with OpeningHoursParser.
The parser did not distinguish between "off" (valid in opening_hours)
and "of".
2013-07-23 22:48:30 +02:00
Michael Peter Christen
9d967a96ae prevent double-lookup of a propertyName from router: this reduces the
number of lookups for attributes by 50%
2013-07-23 11:05:24 +02:00
sonora
53d49e1eac put Emergency first 2013-07-22 14:52:24 +02:00
sonora
73c6f97224 sort AmenityType.java in consistent way 2013-07-22 14:46:18 +02:00
Victor Shcherb
5702c9c364 Fix Yandex traffic 2013-07-22 02:19:31 +02:00
Victor Shcherb
5aeac12128 Fix bugs 2013-07-22 02:04:16 +02:00
Victor Shcherb
583fa22205 Introduce icon order in rendering style 2013-07-19 00:24:16 +02:00
Victor Shcherb
e52112636e Introduce tag=disable for rendering style, so we can disable features by specifying disable=true 2013-07-18 23:56:50 +02:00
Victor Shcherb
d99c5a9dca Update rendering types 2013-07-15 00:21:48 +02:00
fp
20db3ea1b3 Expand OpeningHours with Month
Now the OpeningHoursParser can handle Strings like:
Mar-Sep:08:00-20:00;Oct-Feb:09:00-16:00
2013-06-25 12:11:58 +02:00
Victor Shcherb
6ffdb2e1d3 Add quick action : add to favorites 2013-06-24 01:56:23 +02:00
Victor Shcherb
7087b718a5 Move rendering_types.xml to resources 2013-06-23 02:00:55 +02:00
sonora
addc32965a simplify haversine formula 2013-06-18 11:00:26 +02:00
Victor Shcherb
96f93f9154 Move all resources to special project (Osmand-resources) 2013-06-17 01:35:09 +02:00
sonora
a7541f65f4 fix render style also in Touring view 2013-06-16 23:36:04 +02:00
Victor Shcherb
7405a2dba1 Fix rendering style 2013-06-16 23:02:11 +02:00
Victor Shcherb
35adfd8e2b Update south africa 2013-06-16 22:54:33 +02:00
sonora
b62ba6596a update renderer comment blocks 2013-06-16 11:41:29 +02:00
Robin Schneider
ff44f7db19 Fixed problem with https in tags.
If for example the website tag starts with https:// then it appeared in
OsmAnd as http://https://

https is not that unusual:
http://taginfo.openstreetmap.org/keys/website#values
http://taginfo.openstreetmap.org/keys/contact:website#values
2013-06-14 20:25:57 +02:00
Victor Shcherb
67b4b6baf1 Fix crashes 2013-06-09 13:04:06 +02:00
Victor Shcherb
59fa38dc36 Update rendering types 2013-06-05 00:27:04 +02:00
Victor Shcherb
628a819afd Fix bugs 2013-06-05 00:11:33 +02:00
Victor Shcherb
7de85b7cf6 Implement sorting door-to-door algorithm 2013-06-04 00:01:28 +02:00
Victor Shcherb
aecc4705e5 Add old address plugin to source code 2013-05-31 18:48:01 +02:00
Victor Shcherb
72210ccddc Update structure 2013-05-29 17:56:35 +02:00
Victor Shcherb
26d1cb3b2c Update countries reginfo 2013-05-29 17:56:35 +02:00
sonora
88d5bb6f42 Cycle routes from zoom 12 in Touring view (Zahnstocher) 2013-05-28 09:09:21 +02:00
sonora
f121fd33d1 optimize name display for National forests and Wilderness areas 2013-05-27 11:52:10 +02:00
Victor Shcherb
472efba592 Update strict mode 2013-05-27 10:07:31 +02:00
sonora
395f1ef385 fix typo 2013-05-27 09:09:16 +02:00
sonora
8812587830 darken nat park font a little 2013-05-26 23:38:07 +02:00
sonora
04148e8dcc fix build 2013-05-26 21:22:35 +02:00
sonora
50635897de increase visibility of national park name 2013-05-26 19:41:44 +02:00
Victor Shcherb
0ae7340cb1 Update download 2013-05-26 15:43:00 +02:00
Victor Shcherb
85008c9c88 Working version 2013-05-26 15:43:00 +02:00
sonora
f0c26ac20f add comments for Wilderness Areas and Nat Forests 2013-05-26 10:40:28 +02:00
sonora
78082e6088 Prepare for some testing with tag protected_area 2013-05-26 10:21:04 +02:00
Victor Shcherb
04baf7f15d Disable strict mode 2013-05-23 20:08:20 +02:00
Victor Shcherb
7bd0697b09 Enable strict mode in OsmAnd~ version 2013-05-23 20:08:19 +02:00
Victor Shcherb
fd904b9c99 Fix most critical bugs 2013-05-23 20:08:19 +02:00