shollander
shollander
Thank you all for looking into this, I really appreciate it! It sounds like there is no good solution at the moment, unfortunately. Let me know if you do find...
I would be nice if MapStruct supported "wither" methods out of the box as an alternative to setters and builders. Using withXXX methods that return an immutable copy is an...
Because this will not compile: ``` RecoveryCallback = retryContext -> { throw retryContext.getLastThrowable(); }; ```
Exactly. It would require a lot of type checking and casting, etc. ```java RecoveryCallback = retryContext -> { Throwable t = retryContext.getLastThrowable(); if (t instanceof Exception) { throw (Exception)t; }...
Granted, although that doesn't address the second issue of unnecessarily wrapping the original exception in certain cases.
Not at the moment. My point was just that the API is slightly inconsistent here and can cause inconveniences. If you don't want to fix it there are workarounds.
@wilkinsona I have found that the shutdown hook created by https://github.com/spring-projects/spring-boot/blob/b164b16c21734a8581b39553594f102a75bb9738/spring-boot-project/spring-boot/src/main/java/org/springframework/boot/web/server/AbstractConfigurableWebServerFactory.java#L176 is never effective since there are other directories that get created underneath that top level directory. I am always...
This is my Gradle task: ``` tasks.register("buildDockerImage", DockerBuildImage) { inputDir = project.projectDir images.add("me/myImage") } ```