Skip to content

Commit

Permalink
fix typos
Browse files Browse the repository at this point in the history
  • Loading branch information
helix84 committed Sep 12, 2016
1 parent 76e52f2 commit f6c8475
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public List<Record> 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))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -237,12 +237,12 @@
<!-- The following javascript removes the default text of empty text areas when they are focused on or submitted -->
<!-- There is also javascript to disable submitting a form when the 'enter' key is pressed. -->
<script>
//Clear default text of emty text areas on focus
//Clear default text of empty text areas on focus
function tFocus(element)
{
if (element.value == '<i18n:text>xmlui.dri2xhtml.default.textarea.value</i18n:text>'){element.value='';}
}
//Clear default text of emty text areas on submit
//Clear default text of empty text areas on submit
function tSubmit(form)
{
var defaultedElements = document.getElementsByTagName("textarea");
Expand Down

0 comments on commit f6c8475

Please sign in to comment.