Duplicates in Multibinder beta4 regression

2014-05-20 Thread Thomas Suckow
I am seeing a regression in beta4 that allows duplicate bindings in a multibinder even when duplicates are not permitted. I am attempting to git bisect but it takes my system forever to build Guice, so it may be a while before I can locate the problem. If anyone else could look into it, I

Re: Duplicates in Multibinder beta4 regression

2014-05-20 Thread Thomas Suckow
change. sam On Tue, May 20, 2014 at 2:10 AM, Thomas Suckow tsu...@gmail.comjavascript: wrote: I am seeing a regression in beta4 that allows duplicate bindings in a multibinder even when duplicates are not permitted. I am attempting to git bisect but it takes my system forever to build

Re: Duplicates in Multibinder beta4 regression

2014-05-20 Thread Thomas Suckow
at 10:57 AM, Thomas Suckow tsuc...@gmail.com wrote: I missed those changes when I skimmed the commits. It does appear they are the culprit (I finally figured out the maven syntax to build only multibindings core to speed up bisecting). Since that is intended, I will update my unit tests and make

Re: New in git head: OptionalBinder

2014-04-02 Thread Thomas Suckow
We can likely make this work for scala-guice in a similar manner to the Multibinder wrapper. Thomas Suckow On Wed, Apr 2, 2014 at 11:09 AM, Christian Gruber cgru...@google.comwrote: Let's get the OSGI fix in, and THEN cut beta5. c. On 2 Apr 2014, at 10:57, Sam Berlin wrote: No way

Re: a simple question ( after reading Dhanji's book)

2013-08-16 Thread Thomas Suckow
I don't remember how off the top of my head. But this is a common question. Look for the robot legs problem in the context of Guice and you should find an example. On Aug 16, 2013 7:40 AM, Jozsef Hegedus jhegedu...@gmail.com wrote: Hi, I have read (but probably not completely yet understood)

Re: Inject into scala curried function

2012-10-07 Thread Thomas Suckow
I think you should inject the validator and processor into the class that contains computevalue. I also recommend looking at scala-guice. If you do find another way, I would love to hear it or add it to scala-guice. On Oct 5, 2012 10:53 AM, Travis Stevens wilhel...@gmail.com wrote: I have an

Re: Injecting generic types

2012-04-19 Thread Thomas Suckow
://github.com/Deathbobomega/scala-guice It will hide this pain inside Scala magic. -- Thomas Suckow On Wed, Apr 18, 2012 at 6:28 PM, Hilco Wijbenga hilco.wijbe...@gmail.com wrote: On 18 April 2012 17:47, Mirko Raner mi...@raner.ws wrote: Hi all, the Guice documentation for the Binder class states

Re: Injecting generic types

2012-04-19 Thread Thomas Suckow
) bind(literal).annotatedWith(SynchronizedLinked.class).to(SynchronizedLinkedHashMap.class) -- Thomas Suckow On Thu, Apr 19, 2012 at 3:57 AM, Thomas Broyer t.bro...@gmail.com wrote: On Thursday, April 19, 2012 12:30:27 PM UTC+2, Reinhard Nägele wrote: This is, of course, possible. Look

Re: Module Design

2012-02-15 Thread Thomas Suckow
I am no expert on Guice (only been using it for a few days), so I dare not comment. However, you posted on Friday, at least give it another day or two. -- Thomas Suckow On Sun, Feb 12, 2012 at 10:41 PM, egolan egola...@gmail.com wrote: anyone? On Feb 10, 4:34 pm, egolan egola...@gmail.com

Re: Guice with Scala Actors

2012-02-15 Thread Thomas Suckow
/8e16fcd0005fb78ba66a7f803166465340d63ebb/core/src/main/scala/net/codingwell/weave/LocalExecutorModule.scala Thanks! Thomas Suckow On Wed, Feb 15, 2012 at 6:42 AM, Alen Vrečko alen.vre...@gmail.com wrote: Sorry for such late reply. Exam period. Didn't check ML. Will reply as somebody might

Guice with Scala Actors

2012-02-06 Thread Thomas Suckow
I am using Guice with Scala. I am looking into adding the first actors into my application and am a little turned off of using annotations to inject as that would create a bunch more classes. Can anyone think of an easier way to wire them in? I suppose it really may not be any more classes as