PAN-52 Fixed issue with the Theorems API

This commit is contained in:
2019-03-21 11:02:46 -06:00
parent 4622c49cee
commit ab360abcf8
@@ -52,8 +52,6 @@ public class TheoremController {
return new ResponseEntity<>(HttpStatus.BAD_REQUEST); return new ResponseEntity<>(HttpStatus.BAD_REQUEST);
} }
branch = branch.toLowerCase();
if (branch.contains("_") || branch.contains("-")) { if (branch.contains("_") || branch.contains("-")) {
branch = branch.replace("_", "\\s"); branch = branch.replace("_", "\\s");
branch = branch.replace("-", "\\s"); branch = branch.replace("-", "\\s");