From f6c8475cb2755341a77fc0ac7c02ff2616361402 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ivan=20Mas=C3=A1r?= Date: Mon, 12 Sep 2016 15:08:17 +0200 Subject: [PATCH] fix typos --- dspace-api/src/main/java/org/dspace/browse/ItemCounter.java | 2 +- .../main/java/org/dspace/submit/lookup/PubmedService.java | 2 +- .../main/java/org/dspace/sword/ItemCollectionGenerator.java | 6 +++--- .../src/main/webapp/xsl/core/page-structure.xsl | 4 ++-- 4 files changed, 7 insertions(+), 7 deletions(-) diff --git a/dspace-api/src/main/java/org/dspace/browse/ItemCounter.java b/dspace-api/src/main/java/org/dspace/browse/ItemCounter.java index e40a814e41..3fcaf56de0 100644 --- a/dspace-api/src/main/java/org/dspace/browse/ItemCounter.java +++ b/dspace-api/src/main/java/org/dspace/browse/ItemCounter.java @@ -49,7 +49,7 @@ public class ItemCounter protected ConfigurationService configurationService; /** - * Construct a new item counter which will use the give DSpace Context + * Construct a new item counter which will use the given DSpace Context * * @param context current context * @throws ItemCountException if count error diff --git a/dspace-api/src/main/java/org/dspace/submit/lookup/PubmedService.java b/dspace-api/src/main/java/org/dspace/submit/lookup/PubmedService.java index faddd846a0..c343eaa674 100644 --- a/dspace-api/src/main/java/org/dspace/submit/lookup/PubmedService.java +++ b/dspace-api/src/main/java/org/dspace/submit/lookup/PubmedService.java @@ -76,7 +76,7 @@ public List search(String title, String author, int year) if (StringUtils.isNotBlank(title)) { query.append("((").append(title).append("[TI]) OR ("); - // [TI] non funziona sempre, titolo di capitoli di libro + // [TI] does not always work, book chapter title query.append("(").append(title).append("[book]))"); } if (StringUtils.isNotBlank(author)) diff --git a/dspace-sword/src/main/java/org/dspace/sword/ItemCollectionGenerator.java b/dspace-sword/src/main/java/org/dspace/sword/ItemCollectionGenerator.java index 4da4bec49d..45fc529e9c 100644 --- a/dspace-sword/src/main/java/org/dspace/sword/ItemCollectionGenerator.java +++ b/dspace-sword/src/main/java/org/dspace/sword/ItemCollectionGenerator.java @@ -32,11 +32,11 @@ public ItemCollectionGenerator(SWORDService service) } /** - * Build the collection around the give DSpaceObject. If the object + * Build the collection around the given DSpaceObject. If the object * is not an instance of a DSpace Item this method will throw an * exception. * - * @param dso the dso for which the collection should be build + * @param dso the dso for which the collection should be built * @throws DSpaceSWORDException if the dso is not an instance of Item */ public Collection buildCollection(DSpaceObject dso) @@ -95,7 +95,7 @@ public Collection buildCollection(DSpaceObject dso) scol.setAbstract(dcAbstract); } - // do we suppot mediated deposit + // do we support mediated deposit scol.setMediation(swordConfig.isMediated()); // the list of mime types that we accept, which we take from the diff --git a/dspace-xmlui-mirage2/src/main/webapp/xsl/core/page-structure.xsl b/dspace-xmlui-mirage2/src/main/webapp/xsl/core/page-structure.xsl index fec7881b52..462f9b86f3 100644 --- a/dspace-xmlui-mirage2/src/main/webapp/xsl/core/page-structure.xsl +++ b/dspace-xmlui-mirage2/src/main/webapp/xsl/core/page-structure.xsl @@ -237,12 +237,12 @@