gsmet / devoxx24-playground

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

What's wrong with my code? #18

Closed geoand closed 2 months ago

geoand commented 2 months ago

I have the following code:

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

Kindly let me know what the problem is. Thank you

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

""

devoxx-24-ai-infused-bot[bot] commented 2 months 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("--", "_");
    }
}