summaryrefslogtreecommitdiff
path: root/java/java.go
diff options
context:
space:
mode:
authorPaul Duffin <paulduffin@google.com>2020-03-20 20:45:04 +0000
committerPaul Duffin <paulduffin@google.com>2020-03-23 08:48:03 +0000
commit7b5f1a616b221ced913ea854e5c21d3e45acb41f (patch)
tree5d9999b1e6bbefc6ba844011ec0a4dd8590ca0a5 /java/java.go
parent6a7e953e62a5c44c682281162cb6fb4ad6584fe1 (diff)
Use reflect.Zero(type) to get value to clear field
Previously, the common value extraction code used an empty structure to get the value to use to clear a field whose value is common. This change removed the structure and used reflect.Zero(..) to get the value instead. Bug: 142935992 Test: m nothing Change-Id: Ibd5103dacb86e7754a786356c0d15ffbde7f98bf
Diffstat (limited to 'java/java.go')
0 files changed, 0 insertions, 0 deletions