summaryrefslogtreecommitdiff
path: root/platform/android/scripts
diff options
context:
space:
mode:
authorTobrun <tobrun@mapbox.com>2017-06-12 11:02:36 +0200
committerGitHub <noreply@github.com>2017-06-12 11:02:36 +0200
commite59766f4e805a2cd081fbf30ab2365d05ddda8a3 (patch)
tree51d237a1a7b853bb1049ede7438faa67f3047759 /platform/android/scripts
parent294f4f8df9541f735d3928c605f123c444c60a28 (diff)
downloadqtlocation-mapboxgl-e59766f4e805a2cd081fbf30ab2365d05ddda8a3.tar.gz
[android] - run MapboxMap invocations to ui thread for instrumentation tests (#9198)
Diffstat (limited to 'platform/android/scripts')
-rw-r--r--platform/android/scripts/generate-style-code.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/android/scripts/generate-style-code.js b/platform/android/scripts/generate-style-code.js
index bb04e3ba2a..a8b2c98c86 100644
--- a/platform/android/scripts/generate-style-code.js
+++ b/platform/android/scripts/generate-style-code.js
@@ -167,11 +167,11 @@ global.defaultValueJava = function(property) {
case 'string':
return '[' + property['default'] + "]";
case 'number':
- var result ='new Float[]{';
+ var result ='new Float[] {';
for (var i = 0; i < property.length; i++) {
result += "0f";
if (i +1 != property.length) {
- result += ",";
+ result += ", ";
}
}
return result + "}";