gsmet / devoxx24-playground

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

Can this be improved? #24

Closed geoand closed 2 weeks ago

geoand commented 2 weeks ago

This is my code:

public final class Strings {

    public static String sanitize(String value) {
        if (value == null) {
            return null;
        }

        return value.replace("---", "___");
    }
}

Is it good?