1. Chempound
  2. Untitled project
  3. chempound

Commits

Sam Adams  committed 6c527fd

Fix file path in InMemoryResourceStore

  • Participants
  • Parent commits d82534d
  • Branches default

Comments (0)

Files changed (2)

File chempound-api/src/main/java/net/chempound/storage/InMemoryResourceStore.java

View file
 
     @Override
     public void storeItem(final String root, final LocalResource item) throws IOException {
-        final String path = root + '/' + item.getPath();
+        final String path = root + item.getPath();
         write(path, item);
     }
 

File chempound-app/src/main/java/net/chempound/deposit/DepositHandler.java

View file
     }
 
     private void loadTriples(final LocalResource resource, final String root, final URI baseUri) throws IOException {
+        LOG.info("Loading triples from '" + resource.getPath() + "' [" + baseUri + "]");
         final Model model = readRdf(resource, baseUri);
 
         final URI resourceUri = baseUri.resolve(resource.getPath());