Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge from moe writing branch from 061401e8f8d2b201f88f2bfd7509a49b2433685c #235

Conversation

cgruber
Copy link
Contributor

@cgruber cgruber commented May 6, 2015

No description provided.

eamonnmcmanus and others added 5 commits May 6, 2015 13:01
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=91642645
…List<String> to be set by a setter whose argument can be given to ImmutableList.copyOf, for example setFoo(Iterable<String>). More generally, if the property type has a method copyOf and the setter parameter is compatible with the copyOf parameter, the setter is valid and its implementation will call copyOf.

Also, remove an unnecessary extra copy that was being done for array properties in toBuilder() methods.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=92372232
Its logic to test that GeneratesCodeProcessor had run before RequiresGeneratedCodeProcessor was incorrect. Specifically:

1. Filer.getResource() does not throw for nonexisting files if the location is the output location.

2. The resource to test should have a ".java" extension.

3. The filer fails if you even try to read a resource that exists.

Instead, we just keep track of whether the GeneratesCodeProcessor has run on elements and check that explicitly.
-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=92832468
…oFactories implementing same interface.

-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=92862023
…e of the project w.r.t. API stability.

-------------
Created by MOE: http://code.google.com/p/moe-java
MOE_MIGRATED_REVID=92939163
eamonnmcmanus added a commit that referenced this pull request May 6, 2015
…8d2b201f88f2bfd7509a49b2433685c

Merge from moe writing branch from 061401e
@eamonnmcmanus eamonnmcmanus merged commit e72ded3 into master May 6, 2015
@cgruber
Copy link
Contributor Author

cgruber commented May 6, 2015

Damn, dude, your response time is amazing. :D

@cgruber cgruber deleted the moe_writing_branch_from_061401e8f8d2b201f88f2bfd7509a49b2433685c branch May 6, 2015 22:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants