Andrej Fink
Andrej Fink
And probably Locale… Current Locale conversion is quite bad. How about: ```java .withConverter(Locale.class, 101, s->{ if (s == null || s.isBlank()){ return null; } else if (found(s.indexOf('-'))){ return Locale.forLanguageTag(trim(s));// de-DE...
Example application. Shows 1) Spring / Spring Boot integration (2/3 steps: SmallRyeConfig bean, integration into Environment/`@Value`; × `@ConfigProperty`) 2) useful one line converters: DateFormat, DateTimeFormatter, CharSequence, Charset, Locale https://github.com/magicprinc/SmallRyeConfig-SpringBoot
I am not a native English native speaker. But my different test subjects have understood the main point of this text.
I am not an AI fanatic either (rather hater), but I see facts: People use it more and more and in the future English will be less learned and “natively”...
more stackstraces `/home/jenkins/workspace/common-utils_build/common-utils/src/main/java/org/jooq/lambda/JCore.java:1375: error: An unhandled exception was thrown by the Error Prone static analysis plugin. public static String str (@Nullable Object obj, @NonNull Object nullDefault){ ^ Please report this...
Lombok authors are open to communicate and find solutions 🙏 https://github.com/projectlombok/lombok/issues/3917
A better out-of-box property name finder would also be very welcomed. I mean, something like Spring Boot has: https://docs.spring.io/spring-boot/docs/3.1.x/reference/htmlsingle/#features.external-config.typesafe-configuration-properties.relaxed-binding
@radcortez I agree with you: my experience shows: the best property name is the property/field name from the class. Advantages: 1) you can simply copy-paste it 2) "Find in files"...
I can't reproduce locally: this is not even my project: the project uses my library, that uses SmallRye Config. I think, an easy fix is: ``` io.smallrye.common.classloader.ClassPathUtils#consumeAsPaths(ClassLoader, String, Consumer) ```...
I have managed to start app in minikube: no exception. So I can't reproduce it. 🤷♀️ But now we know: a resource from `ClassLoader#getResources(name): Enumeration` SOMETIMES can't be opened using...