diff --git a/docs/team/bentohset.md b/docs/team/bentohset.md index 2c62e1a219..aecf4e6c7b 100644 --- a/docs/team/bentohset.md +++ b/docs/team/bentohset.md @@ -75,7 +75,7 @@ Storage object diagram: Add module sequence diagram: -![AddModuleSequenceDiagram](/docs/uml/diagrams/AddModSequence.png) +![AddModuleSequenceDiagram](../uml/diagrams/AddModSequence.png) Remove module sequence diagram: diff --git a/src/main/java/seedu/penus/storage/StorageDecoder.java b/src/main/java/seedu/penus/storage/StorageDecoder.java index b9b545199e..f73af81301 100644 --- a/src/main/java/seedu/penus/storage/StorageDecoder.java +++ b/src/main/java/seedu/penus/storage/StorageDecoder.java @@ -51,7 +51,7 @@ public static User decodeUser(String userLine) throws PenusException { public static Module decodemodule(String module) throws PenusException { String[] components = module.split(" ### "); String status = components[0].trim(); - String moduleCode = components[1].trim(); + String moduleCode = components[1].trim().toUpperCase(); if (!ModuleRetriever.isValidMod(moduleCode)) { throw new InvalidModuleException(); }