https://github.com/google/guice/pull/916
—
Reply to this email directly or view it on GitHub.
In extensions/multibindings/src/com/google/inject/multibindings/ProvidesIntoOptional.java:
> @@ -50,6 +50,9 @@ > @Target(METHOD) > @Retention(RUNTIME) > public @interface ProvidesIntoOptional { > + /** > + * @since 4.0
This should be on the top-level type instead I think?
In extensions/multibindings/src/com/google/inject/multibindings/ProvidesIntoOptional.java:
> @@ -50,6 +50,9 @@ > @Target(METHOD) > @Retention(RUNTIME) > public @interface ProvidesIntoOptional { > + /** > + * @since 4.0
Oh nevermind it's already there -- we can kill this one I think since it's an inner class on a brand new type.
In core/src/com/google/inject/spi/ProvisionListener.java:
> @@ -49,7 +49,11 @@ > */ > <T> void onProvision(ProvisionInvocation<T> provision); > > - /** Encapsulates a single act of provisioning.*/ > + /** > + * Encapsulates a single act of provisioning. > + * > + * @since 4.0
can rm this too since it's in a newly introduced class.
In extensions/grapher/src/com/google/inject/grapher/AbstractInjectorGrapher.java:
> @@ -39,7 +40,10 @@ > private final NodeCreator nodeCreator; > private final EdgeCreator edgeCreator; > > - /** Parameters used to override default settings of the grapher. */ > + /** > + * Parameters used to override default settings of the grapher. > + * @since 4.0
and this.
In extensions/multibindings/src/com/google/inject/multibindings/ProvidesIntoOptional.java:
> @@ -50,6 +50,9 @@ > @Target(METHOD) > @Retention(RUNTIME) > public @interface ProvidesIntoOptional { > + /** > + * @since 4.0
The reason I added them was because they're included in the report that ant jdiff
spits out. I can remove them from the inner classes if you don't mind the report not having a clean output
Thanks Ben! Will merge after rm'ing the inner class @
sinces. Any chance you'll send a followup with missing @
sinces in methods? :-)
In extensions/multibindings/src/com/google/inject/multibindings/ProvidesIntoOptional.java:
> @@ -50,6 +50,9 @@ > @Target(METHOD) > @Retention(RUNTIME) > public @interface ProvidesIntoOptional { > + /** > + * @since 4.0
Ahh, hmm. If jdiff wants it, I guess it's no big deal to keep them.
Will merge once travis gives the green light (don't see any reason it wouldn't... but stranger things have happened).
Travis has been behaving very oddly on my projects today... don't get your hopes up :)
In extensions/grapher/src/com/google/inject/grapher/BindingEdge.java:
> @@ -22,6 +22,7 @@ > * Edge that connects an interface to the type or instance that is bound to implement it. > * > * @author phop...@gmail.com (Pete Hopkins) > + * @since 4.0 > */ > public class BindingEdge extends Edge {
@sameb looks like this class was in 3.0, but was previously parameterized. i'll remove the since tag on it if that makes sense to you
In extensions/grapher/src/com/google/inject/grapher/BindingEdge.java:
> @@ -22,6 +22,7 @@ > * Edge that connects an interface to the type or instance that is bound to implement it. > * > * @author phop...@gmail.com (Pete Hopkins) > + * @since 4.0 > */ > public class BindingEdge extends Edge {
removing SGTM
I double checked all the places I added a since tag against the 3.0 javadoc. I ended up removing a few of them: BindingEdge, DependencyEdge, ImplementationNode, and InterfaceNode were in 3.0, but were previously paramaterized. I guess removing the type parameter made them show up in jdiff. I'm not sure what the deal was with the ElementVisitor ones. jdiff bug I guess. Everything else looked legit.
I think we should be good now as soon as Travis successfully completes
Thanks again Ben.
Hmm. Travis has been running for a few hours and still hasn't returned...
@sameb no problem. happy to help!
btw, jroper and I are both maintainers for Play Framework and we have a big release coming up where one of the main highlights is better support for Guice and DI. hoping to get guice 4 in if we can. you think it might be released in the next week or two?
Merged #916.