summaryrefslogtreecommitdiff
path: root/libs/rs/rsg_ScriptJavaClass.cpp
diff options
context:
space:
mode:
authorBrian Muramatsu <btmura@google.com>2010-12-06 17:34:20 -0800
committerBrian Muramatsu <btmura@google.com>2010-12-06 17:37:30 -0800
commite1d4698ffd8dfa212a733339edf9a75d0cbf8da6 (patch)
tree802f28554d1e8a25ec98313b30bf172376f316d0 /libs/rs/rsg_ScriptJavaClass.cpp
parent03b758ef991a483eb9fee705aa0dacdf91a57dd1 (diff)
Fix Settings getFloat Methods
Don't pass null to Float.parseFloat, because that throws a NPE. Check for null and throw SettingNotFoundException to fulfill what the JavaDoc says. Change-Id: Iff742fb3c15be6e02f29b9dda9197dc05a867924
Diffstat (limited to 'libs/rs/rsg_ScriptJavaClass.cpp')
0 files changed, 0 insertions, 0 deletions