summaryrefslogtreecommitdiff
path: root/platform/android/src/style/conversion/property_value.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'platform/android/src/style/conversion/property_value.hpp')
-rw-r--r--platform/android/src/style/conversion/property_value.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/platform/android/src/style/conversion/property_value.hpp b/platform/android/src/style/conversion/property_value.hpp
index 4121192f3f..a89b93794a 100644
--- a/platform/android/src/style/conversion/property_value.hpp
+++ b/platform/android/src/style/conversion/property_value.hpp
@@ -16,15 +16,15 @@ struct Converter<jni::jobject*, mbgl::style::PropertyValue<T>> {
Result<jni::jobject*> operator()(jni::JNIEnv& env, const mbgl::style::PropertyValue<T>& value) const {
if(value.isUndefined()) {
- //Return a nullptr representing a Java null value
+ // Return a nullptr representing a Java null value
return {nullptr};
} else if (value.isConstant()) {
- //Time to convert the constant value
+ // Time to convert the constant value
Result<jni::jobject*> result = convert<jni::jobject*, T>(env, value.asConstant());
return {*result};
- //return converted;
+ // return converted;
} else if (value.isFunction()) {
- //Must be a function than
+ // Must be a function than
return convert<jni::jobject*, mbgl::style::Function<T>>(env, value.asFunction());
} else {
throw std::runtime_error("Unknown property value type");
@@ -35,4 +35,4 @@ struct Converter<jni::jobject*, mbgl::style::PropertyValue<T>> {
} // namespace conversion
} // namespace android
-} // namespace mbgl \ No newline at end of file
+} // namespace mbgl