Stephan Schroevers

Results 104 comments of Stephan Schroevers

@cal101 the code on which I ran the previous analyses is closed-source, unfortunately. (@elucash sorry for not helping out more on this topic; currently very busy with other tasks. I...

@elucash WDYT of something like the following patch? ```diff diff --git a/generator/src/org/immutables/generator/EnvironmentState.java b/generator/src/org/immutables/generator/EnvironmentState.java index 82570a12..78826b17 100644 --- a/generator/src/org/immutables/generator/EnvironmentState.java +++ b/generator/src/org/immutables/generator/EnvironmentState.java @@ -1,5 +1,6 @@ package org.immutables.generator; +import java.lang.ref.WeakReference; import java.util.Set;...

Indeed, it's not fully satisfying that the root cause is unknown, but I guess that's a mystery for another day :) Looking forward to the release! (I tested the `WeakReference`...

@elucash would it be possible to have a new release with this change? (We're interested in adopting a release that includes #1156. :) ) NB: I noticed that there are...

@elucash I haven't used it myself, but [_File Leak Detector_](https://file-leak-detector.kohsuke.org/) may be helpful. (Looks like it won't work on newer JVMs, but JDK 8 might work still.)

@gaul I can add this one on my TODO list, but my weekends are rather full currently. So it's hard to firmly commit at the moment. Let's see :crossed_fingers: NB:...

+1 for the idea of generalizing the plugin to facilitate migrations from old lib _X_ to newer lib _Y_ (where in this case _X_ = Apache Commons and _Y_ is...

@ST-DDT, we do something like that in our project. I'll paste here the relevant class; hope it helps: ```java import static com.google.common.base.Preconditions.checkArgument; import static com.google.common.collect.Streams.stream; import com.fasterxml.jackson.databind.ObjectReader; import com.fasterxml.jackson.databind.ObjectWriter; import...

A non-Eclipse solution could be to use [google-java-format](https://github.com/google/google-java-format/). There's also a [googleformatter-maven-plugin](https://github.com/talios/googleformatter-maven-plugin).