vshcherb
568ebb9c63
Merge pull request #492 from naoliv/pull18
...
Remove unnecessary boxing/unboxing
2013-08-05 10:48:58 -07:00
vshcherb
56508980ec
Merge pull request #495 from naoliv/pull21
...
Make some fields static
2013-08-05 10:42:52 -07:00
vshcherb
da648f9545
Merge pull request #496 from naoliv/pull20
...
Fix long literals ending with l
2013-08-05 10:39:15 -07:00
vshcherb
624f9a099f
Merge pull request #506 from naoliv/pull4
...
Fix single character string argument
2013-08-05 10:14:47 -07:00
Victor Shcherb
f89cd246f0
Fix exceptions
2013-08-04 13:51:14 +02:00
Nelson A. de Oliveira
c9dd6c0697
Make some fields static
...
A field may be static if it is declared final, and is initialized with a
constant
2013-08-03 10:48:18 -03:00
Nelson A. de Oliveira
8d3c8b6e9e
Fix long literals ending with l
...
These literals may be confusing, as lowercase 'l' looks very similar to
'1'
2013-08-03 10:48:11 -03:00
Nelson A. de Oliveira
dad7d53f43
Remove unnecessary boxing/unboxing
2013-08-03 10:47:53 -03:00
Nelson A. de Oliveira
20f18fd5a6
Fix single character string argument
...
These String literals may be replaced by equivalent character literals,
gaining some performance enhancement.
2013-08-03 10:42:15 -03:00
Nelson A. de Oliveira
a525df7694
Fix unnecessary bitwise operations
2013-07-31 15:39:50 -03:00
Nelson A. de Oliveira
ffaaef6610
Remove unecessary semicolon
2013-07-31 15:24:57 -03:00
Nelson A. de Oliveira
50207ec316
Remove continue and return
2013-07-31 15:24:15 -03:00
Nelson A. de Oliveira
bf05917be5
Remove redundant local variables
2013-07-31 15:22:39 -03:00
Nelson A. de Oliveira
1eea84da0b
Fix unnecessary boxing/unboxing
2013-07-31 15:15:26 -03:00
Nelson A. de Oliveira
1bdb389eae
Fix pointless aithmetic expressions
2013-07-31 15:14:11 -03:00
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
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