summaryrefslogtreecommitdiff
path: root/ojluni/annotations/hiddenapi/java/util/TimerTask.java
diff options
context:
space:
mode:
authorTobias Thierer <tobiast@google.com>2018-10-09 19:36:58 +0100
committerTobias Thierer <tobiast@google.com>2018-10-10 17:28:09 +0100
commit7c1d1d17289dd038b0a1f12b47826af3fa5f5d2c (patch)
tree747f25d430bf6b3ccc32a9c93d94c8cb7c6702e2 /ojluni/annotations/hiddenapi/java/util/TimerTask.java
parent6bc41514f311f58890c271aa80c9819655b39776 (diff)
Prepare ForwardingOs for publication as @CorePlatformApi.
Tweak the class to better conform to standard idioms for forwarding classes. - Make the constructor protected (there shouldn't be a need to instantiate the class without overriding at least one method). - Disallow null value for the delegate. - Make the delegate accessible via a protected delegate() getter, rather than as a field. - Override toString(). This CL updates the BlockGuardOs implementation accordingly, since it can no longer access the superclass's "os" field (now private). Test: Treehugger Test: ForwardingOsTest Bug: 115503977 Change-Id: I25f92879edd4de83ebff47b73c5194587cd53179
Diffstat (limited to 'ojluni/annotations/hiddenapi/java/util/TimerTask.java')
0 files changed, 0 insertions, 0 deletions