gsmet / devoxx24-playground

A playground for our AI-infused bot
0 stars 0 forks source link

What's wrong? #19

Closed geoand closed 2 weeks ago

geoand commented 2 weeks ago

I have the following code:

Screenshot from 2024-09-12 12-37-08

I also have another class: Screenshot from 2024-09-12 12-47-40

Kindly let me know what the problem is. Thank you

devoxx-24-ai-infused-bot[bot] commented 2 weeks ago

""

devoxx-24-ai-infused-bot[bot] commented 2 weeks ago

Detected the following screenshots that correspond to code:

https://github.com/user-attachments/assets/0660db53-53ec-4ed8-9da3-4b4dbc6e86da ---->

public final class Strings {
    public static String sanitize(String value) {
        if (value == null) {
            return null;
        }
        return value.replace("--", "_");
    }
}

https://github.com/user-attachments/assets/e4ac9e5e-608e-4a55-abc2-0457c3ede1a6 ---->

@ConfigMapping(prefix = "devoxx.triage")
public interface TriageConfig {
    @WithDefault("false")
    boolean init();

    Optional<Path> source();
}