
io.muserver.openapi.OpenApiUtils Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of mu-server Show documentation
Show all versions of mu-server Show documentation
A simple but powerful web server framework
The newest version!
package io.muserver.openapi;
import java.util.*;
class OpenApiUtils {
private OpenApiUtils() {}
static Map immutable(Map map) {
if (map == null) {
return null;
}
return Collections.unmodifiableMap(new HashMap<>(map));
}
static List immutable(List list) {
if (list == null) {
return null;
}
return Collections.unmodifiableList(new ArrayList<>(list));
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy