summaryrefslogtreecommitdiff
path: root/platform/android
diff options
context:
space:
mode:
authorTobrun <tobrun.van.nuland@gmail.com>2018-03-23 15:55:43 -0400
committerTobrun <tobrun@mapbox.com>2018-03-26 13:03:14 -0400
commitf5ce99f3e36eb49ee67b4fe662af1b15e6155ff6 (patch)
tree3aab0edbb3dbffb07eddc5036d10591a8d8f1306 /platform/android
parentdd301fbc0f9f988b47ad7b6532249833b3aa848c (diff)
downloadqtlocation-mapboxgl-f5ce99f3e36eb49ee67b4fe662af1b15e6155ff6.tar.gz
[android] - allow multiple expressions in string, number and bool asserting expressions
Diffstat (limited to 'platform/android')
-rw-r--r--platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/style/expressions/Expression.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/style/expressions/Expression.java b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/style/expressions/Expression.java
index 531c1af420..efb2660da0 100644
--- a/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/style/expressions/Expression.java
+++ b/platform/android/MapboxGLAndroidSDK/src/main/java/com/mapbox/mapboxsdk/style/expressions/Expression.java
@@ -1357,7 +1357,7 @@ public class Expression {
* @return expression
* @see <a href="https://www.mapbox.com/mapbox-gl-js/style-spec/#expressions-types-string">Style specification</a>
*/
- public static Expression string(@NonNull Expression input) {
+ public static Expression string(@NonNull Expression... input) {
return new Expression("string", input);
}
@@ -1370,7 +1370,7 @@ public class Expression {
* @return expression
* @see <a href="https://www.mapbox.com/mapbox-gl-js/style-spec/#expressions-types-number">Style specification</a>
*/
- public static Expression number(@NonNull Expression input) {
+ public static Expression number(@NonNull Expression... input) {
return new Expression("number", input);
}
@@ -1383,7 +1383,7 @@ public class Expression {
* @return expression
* @see <a href="https://www.mapbox.com/mapbox-gl-js/style-spec/#expressions-types-boolean">Style specification</a>
*/
- public static Expression bool(@NonNull Expression input) {
+ public static Expression bool(@NonNull Expression... input) {
return new Expression("boolean", input);
}