Merge "Frameworks: Remove warning for SystemProperties.get" am: c589496ce9
am: b72c0626f5
Change-Id: Ib0561d4ce3e027b2021bc6105f0be03ba6fffa99
This commit is contained in:
@@ -84,9 +84,6 @@ public class SystemProperties {
|
||||
/**
|
||||
* Get the String value for the given {@code key}.
|
||||
*
|
||||
* <b>WARNING:</b> Do not use this method if the value may not be a valid UTF string! This
|
||||
* method will crash in native code.
|
||||
*
|
||||
* @param key the key to lookup
|
||||
* @return an empty string if the {@code key} isn't found
|
||||
*/
|
||||
@@ -99,9 +96,6 @@ public class SystemProperties {
|
||||
/**
|
||||
* Get the String value for the given {@code key}.
|
||||
*
|
||||
* <b>WARNING:</b> Do not use this method if the value may not be a valid UTF string! This
|
||||
* method will crash in native code.
|
||||
*
|
||||
* @param key the key to lookup
|
||||
* @param def the default value in case the property is not set or empty
|
||||
* @return if the {@code key} isn't found, return {@code def} if it isn't null, or an empty
|
||||
|
||||
Reference in New Issue
Block a user