| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
This reverts commit 38dfab1
|
I was able to replicate 100% of the time without the change as per @tinnou original test |
Sorry, something went wrong.
| public void dispatchIfNotDispatchedBefore(int level, Runnable dispatch) { | ||
| public boolean dispatchIfNotDispatchedBefore(int level) { | ||
| if (dispatchedLevels.contains(level)) { | ||
| Assert.assertShouldNeverHappen("level " + level + " already dispatched"); |
There was a problem hiding this comment.
you could actually return the Assert
Sorry, something went wrong.
* Added @OverRide as part of errorprone code health check * Revert "Added @OverRide as part of errorprone code health check" This reverts commit 38dfab1 * Brads attempt at graphql-java#1234 * Missed the test
| Back | FazBrowse Home | New Git URL |
See #1234
This is similar but more deliberate. That is we work out IF we have to dispatch inside the lock and then do the dispatch outside it.
I think this is a smidge cleaner than the other PR. (but the same effect)