remove switch default
@@ -79,7 +79,7 @@ public enum OnlineDatabases implements MZmineModule {
return switch (this) {
case PubChem -> "https://pubchem.ncbi.nlm.nih.gov/compound/" + databaseCompoundId;
- default -> null;
+ case KEGG, METACYC, CHEMSPIDER, MASSBANKEurope, LIPIDMAPS, YMDB, HMDB -> null;
};
}
