Skip to content

Commit

Permalink
code review
Browse files Browse the repository at this point in the history
  • Loading branch information
southeo committed Sep 11, 2024
1 parent c33f7df commit d8081a5
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package eu.dissco.backend.repository;

import static eu.dissco.backend.database.jooq.Tables.MACHINE_ANNOTATION_SERVICE;
import static eu.dissco.backend.repository.RepositoryUtils.HANDLE_STRING;

import com.fasterxml.jackson.core.JsonProcessingException;
import com.fasterxml.jackson.databind.ObjectMapper;
Expand Down Expand Up @@ -49,6 +50,6 @@ public List<MachineAnnotationService> getMasRecords(Set<String> mass) {

private String removeProxy(String id) {
return id.replace("urn:uuid:", "")
.replace("https://hdl.handle.net/", "");
.replace(HANDLE_STRING, "");
}
}

0 comments on commit d8081a5

Please sign in to comment.