ducky/devices
2015-12-19
Parent:b6494e1a499e
ducky/devices/vendor/golang.org/x/net/PATENTS
Fix JSON pointers in errors when creating devices. Our JSON pointers used to point at the root of the document, but the properties were actually in objects in an array keyed off of "devices", so we had to update the field property of our errors to match. While we were in there, we fixed the "insufficient" error for a Device's name to be "missing" when the name is an empty string. So far, the only way for a Device's name for it to be insufficient is _for it to be the empty string_, but if in the future we raise the minimum length of the Device name, there will be a distinction and I'd like the code to recognise it.
1 Additional IP Rights Grant (Patents)
3 "This implementation" means the copyrightable works distributed by
4 Google as part of the Go project.
6 Google hereby grants to You a perpetual, worldwide, non-exclusive,
7 no-charge, royalty-free, irrevocable (except as stated in this section)
8 patent license to make, have made, use, offer to sell, sell, import,
9 transfer and otherwise run, modify and propagate the contents of this
10 implementation of Go, where such license applies only to those patent
11 claims, both currently owned or controlled by Google and acquired in
12 the future, licensable by Google that are necessarily infringed by this
13 implementation of Go. This grant does not include claims that would be
14 infringed only as a consequence of further modification of this
15 implementation. If you or your agent or exclusive licensee institute or
16 order or agree to the institution of patent litigation against any
17 entity (including a cross-claim or counterclaim in a lawsuit) alleging
18 that this implementation of Go or any code incorporated within this
19 implementation of Go constitutes direct or contributory patent
20 infringement, or inducement of patent infringement, then any patent
21 rights granted to you under this License for this implementation of Go
22 shall terminate as of the date such litigation is filed.