commit | 643eda4d180f5a2dc266021807e72e92e8fd6038 | [log] [tgz] |
---|---|---|
author | emcmanus <emcmanus@google.com> | Mon Mar 18 14:53:57 2019 |
committer | Ron Shapiro <shapiro.rd@gmail.com> | Fri Mar 22 18:22:26 2019 |
tree | caa37162dfbb6edce3d7104987e18d1cc39b33fd | |
parent | 8d6111dff54b46ac21d9c43c31883e1b27a2b455 [diff] |
Remove the special hack that allowed Optional<? extends Foo> to be set from Optional<SubFoo>. If we are going to allow the setter parameter to be assignable-to, rather than only equal-to, the getter return type then we should do it for all types. Meanwhile this re-establishes consistency. RELNOTES=n/a ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=238984739
A collection of source code generators for Java.
Java is full of code that is mechanical, repetitive, typically untested and sometimes the source of subtle bugs. Sounds like a job for robots!
The Auto subprojects are a collection of code generators that automate those types of tasks. They create the code you would have written, but without the bugs.
Save time. Save code. Save sanity.
AutoFactory - JSR-330-compatible factories
AutoService - Provider-configuration files for ServiceLoader
AutoValue - Immutable value-type code generation for Java 1.6+.
Common - Helper utilities for writing annotation processors.
Copyright 2013 Google, Inc. Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.