Tomáš Doležal
Tomáš Doležal
Set archiveClassifier to keep the same name.
When I create my own controller that inserts data into the repository and return the audited result, everything works as it should. Why is it even necessary to convert the...
I have tried similar if not the same solution, but the result is the same. So it's not possible yet, am I getting that right?
Because, I used a custom DateTime provider for auditing. ``` @EnableJpaAuditing(dateTimeProviderRef = "offsetDateTimeProvider") ... @Bean("offsetDateTimeProvider") DateTimeProvider offsetDateTimeProvider() { return () -> Optional.of(OffsetDateTime.now()); } ```
Doesn't seem to be logging anything even when they're on the same server. Maybe it's relevant #10055 Because after I killed the process: ``` io.vertx.core.VertxException: Thread blocked at java.base/java.io.RandomAccessFile.readBytes0(Native Method)...
I think you are looking for some auto-formatter, not static analysis tool.
You could use default to prevent such a warning.
Imagine: ``` a=idc b=${a}else ``` You have to use curly braces in such a statement... Otherwise shell would try to find variable by name 'aelse' I prefer not to use...
Good practice is to avoid one-liner for future maintenance. `if ! f; then` In this case you can always add functionality without any refactoring (just adding lines)
For more complex error handling you have to store exit code into variable for case statement, etc