diff options
author | kboskin <kboskin> | 2020-07-28 13:54:27 +0300 |
---|---|---|
committer | kboskin <kboskin> | 2020-07-28 13:54:27 +0300 |
commit | 5610cd776931557707823422950c2f5326c12ba3 (patch) | |
tree | 636ccba348bb378376732a385ddf72e9c16eb3b8 /base/src/main/java/com/smartdevicelink/proxy/rpc/enums | |
parent | 6c7a485db82154c61ed0f0b40621e90b18676092 (diff) | |
download | sdl_android-5610cd776931557707823422950c2f5326c12ba3.tar.gz |
[0257]
- Rollback formatting changes
Diffstat (limited to 'base/src/main/java/com/smartdevicelink/proxy/rpc/enums')
-rw-r--r-- | base/src/main/java/com/smartdevicelink/proxy/rpc/enums/VehicleDataType.java | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/base/src/main/java/com/smartdevicelink/proxy/rpc/enums/VehicleDataType.java b/base/src/main/java/com/smartdevicelink/proxy/rpc/enums/VehicleDataType.java index 0cab6ae83..ee3979fa4 100644 --- a/base/src/main/java/com/smartdevicelink/proxy/rpc/enums/VehicleDataType.java +++ b/base/src/main/java/com/smartdevicelink/proxy/rpc/enums/VehicleDataType.java @@ -56,9 +56,9 @@ public enum VehicleDataType { * Notifies FUELLEVEL_STATEData may be subscribed */ VEHICLEDATA_FUELLEVEL_STATE, - /** - * Notifies FUELCONSUMPTIONData may be subscribed - */ +/** + * Notifies FUELCONSUMPTIONData may be subscribed + */ VEHICLEDATA_FUELCONSUMPTION, /** * Notifies EXTERNTEMPData may be subscribed @@ -173,16 +173,16 @@ public enum VehicleDataType { */ VEHICLEDATA_HANDSOFFSTEERING; - /** + /** * Convert String to VehicleDataType - * * @param value String * @return VehicleDataType */ + public static VehicleDataType valueForString(String value) { - try { + try{ return valueOf(value); - } catch (Exception e) { + }catch(Exception e){ return null; } } |