Merge "Frameworks: Remove warning for SystemProperties.get" am: c589496ce9 am: b72c0626f5
am: 16e676be4b
Change-Id: Ie43c9ec866feba876016c8ceb4c1e5d6222f0a18
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