linkedin / parseq

Asynchronous Java made easier
Apache License 2.0
1.17k stars 266 forks source link

Cbrentharris/undo refaactor of anonymous class to lambda #338

Closed cbrentharris closed 1 year ago

cbrentharris commented 1 year ago

Create defined class to perform analysis within thread When refactoring from an Anonymous class to a lambda, an infinite recursion occured because each analysis was required to then fork and create a new analysis when it was done because it defined a new anonymous class.

This PR simply defines the class specifically to avoid it analyzing itself. A follow up should be to filter anonymous classes unrelated to parseq

Testing done -- brought it into local repository that was seeing stackoverflow and no longer see it.