diff options
author | Tobias Thierer <tobiast@google.com> | 2016-08-02 16:41:11 +0100 |
---|---|---|
committer | Tobias Thierer <tobiast@google.com> | 2017-04-05 20:52:04 +0000 |
commit | 0ad48dc8aab4b1475a73e61fcd202f418ae13561 (patch) | |
tree | daaba329f562a99784dbb7730a9f76f19efded20 /rs/java/android/renderscript/ProgramVertexFixedFunction.java | |
parent | eb7c287c716e1bfff67e9ab72cc1dfc47380c905 (diff) |
Document the fact that StatFs.restat() and ctor can throw.
StatFs.restat() and the StatFs constructor can throw
IllegalArgumentException. This was not previously documented;
not all callers took this into account, for example:
http://r.android.com/251290
This CL adds documentation to those methods. It also adds
comments to two of the callers.
Separately from this CL, we may in addition consider adding
new API StatFs.checkedRestat() and StatFs.checkedCreate()
or similar that throw IOException; we cannot change the
existing constructor and method since they are public.
Test: Checked that "make" still completed successfully.
Change-Id: I6a0b3cb7718939408937c61de7c3b000b948fa59
Diffstat (limited to 'rs/java/android/renderscript/ProgramVertexFixedFunction.java')
0 files changed, 0 insertions, 0 deletions