fix typos

This commit is contained in:
Ivan Masár
2016-09-23 12:55:28 +02:00
parent fc99ffcc5a
commit 6fc128476d
27 changed files with 28 additions and 28 deletions

View File

@@ -113,8 +113,8 @@ public interface SearchService {
* If a user has the appropriate rights to administrate communities and/or
* collections we want to look up all contents of those communities and/or
* collections, ignoring the read policies of the items (e.g. to list all
* private items of communities/collections the user administrate). This
* method returns a query to filter for items that belongs to those
* private items of communities/collections the user administrates). This
* method returns a query to filter for items that belong to those
* communities/collections only.
*
* @param context

View File

@@ -35,7 +35,7 @@
boolean withdrawn = false;
boolean privateitems = false;
// Is the logged in user an admin or community admin or cllection admin
// Is the logged in user an admin or community admin or collection admin
Boolean admin = (Boolean)request.getAttribute("is.admin");
boolean isAdmin = (admin == null ? false : admin.booleanValue());

View File

@@ -35,7 +35,7 @@
{
layoutNavbar = "admin";
// Is the logged in user an admin or community admin or cllection admin
// Is the logged in user an admin or community admin or collection admin
Boolean admin = (Boolean)request.getAttribute("is.admin");
boolean isAdmin = (admin == null ? false : admin.booleanValue());

View File

@@ -46,7 +46,7 @@
List<Collection> collections= (List<Collection>) request.getAttribute("collections");
request.setAttribute("LanguageSwitch", "hide");
// Is the logged in user an admin or community admin or cllection admin
// Is the logged in user an admin or community admin or collection admin
Boolean admin = (Boolean)request.getAttribute("is.admin");
boolean isAdmin = (admin == null ? false : admin.booleanValue());

View File

@@ -51,7 +51,7 @@
List<ResourcePolicy> policies =
(List<ResourcePolicy>) request.getAttribute("policies");
// Is the logged in user an admin or community admin or cllection admin
// Is the logged in user an admin or community admin or collection admin
Boolean admin = (Boolean)request.getAttribute("is.admin");
boolean isAdmin = (admin == null ? false : admin.booleanValue());

View File

@@ -51,7 +51,7 @@
List<ResourcePolicy> policies =
(List<ResourcePolicy>) request.getAttribute("policies");
// Is the logged in user an admin or community admin or cllection admin
// Is the logged in user an admin or community admin or collection admin
Boolean admin = (Boolean)request.getAttribute("is.admin");
boolean isAdmin = (admin == null ? false : admin.booleanValue());

View File

@@ -70,7 +70,7 @@
Map bundle_policies = (Map)request.getAttribute("bundle_policies" );
Map bitstream_policies = (Map)request.getAttribute("bitstream_policies");
// Is the logged in user an admin or community admin or cllection admin
// Is the logged in user an admin or community admin or collection admin
Boolean admin = (Boolean)request.getAttribute("is.admin");
boolean isAdmin = (admin == null ? false : admin.booleanValue());

View File

@@ -38,7 +38,7 @@
<% request.setAttribute("LanguageSwitch", "hide"); %>
<%
// Is the logged in user an admin or community admin or cllection admin
// Is the logged in user an admin or community admin or collection admin
Boolean admin = (Boolean)request.getAttribute("is.admin");
boolean isAdmin = (admin == null ? false : admin.booleanValue());

View File

@@ -66,7 +66,7 @@
request.setAttribute("LanguageSwitch", "hide");
// Is the logged in user an admin or community admin or cllection admin
// Is the logged in user an admin or community admin or collection admin
Boolean admin = (Boolean)request.getAttribute("is.admin");
boolean isAdmin = (admin == null ? false : admin.booleanValue());

View File

@@ -38,7 +38,7 @@
request.setAttribute("LanguageSwitch", "hide");
// Is the logged in user an admin or community admin or cllection admin
// Is the logged in user an admin or community admin or collection admin
Boolean admin = (Boolean)request.getAttribute("is.admin");
boolean isAdmin = (admin == null ? false : admin.booleanValue());

View File

@@ -38,7 +38,7 @@
request.setAttribute("LanguageSwitch", "hide");
// Is the logged in user an admin or community admin or cllection admin
// Is the logged in user an admin or community admin or collection admin
Boolean admin = (Boolean)request.getAttribute("is.admin");
boolean isAdmin = (admin == null ? false : admin.booleanValue());

View File

@@ -37,7 +37,7 @@
// Obtain a context so that the location bar can display log in status
Context context = null;
// Is the logged in user an admin or community admin or cllection admin
// Is the logged in user an admin or community admin or collection admin
Boolean admin = (Boolean)request.getAttribute("is.admin");
boolean isAdmin = (admin == null ? false : admin.booleanValue());

View File

@@ -27,7 +27,7 @@
<%@ page import="org.dspace.core.ConfigurationManager" %>
<%
// Is the logged in user an admin or community admin or cllection admin
// Is the logged in user an admin or community admin or collection admin
Boolean admin = (Boolean)request.getAttribute("is.admin");
boolean isAdmin = (admin == null ? false : admin.booleanValue());

View File

@@ -31,7 +31,7 @@
Collection collection = (Collection) request.getAttribute("collection");
Community community = (Community) request.getAttribute("community");
// Is the logged in user an admin or community admin or cllection admin
// Is the logged in user an admin or community admin or collection admin
Boolean admin = (Boolean)request.getAttribute("is.admin");
boolean isAdmin = (admin == null ? false : admin.booleanValue());

View File

@@ -29,7 +29,7 @@
Item item = (Item) request.getAttribute("item");
request.setAttribute("LanguageSwitch", "hide");
// Is the logged in user an admin or community admin or cllection admin
// Is the logged in user an admin or community admin or collection admin
Boolean admin = (Boolean)request.getAttribute("is.admin");
boolean isAdmin = (admin == null ? false : admin.booleanValue());

View File

@@ -29,7 +29,7 @@
Item item = (Item) request.getAttribute("item");
request.setAttribute("LanguageSwitch", "hide");
// Is the logged in user an admin or community admin or cllection admin
// Is the logged in user an admin or community admin or collection admin
Boolean admin = (Boolean)request.getAttribute("is.admin");
boolean isAdmin = (admin == null ? false : admin.booleanValue());

View File

@@ -29,7 +29,7 @@
Item item = (Item) request.getAttribute("item");
request.setAttribute("LanguageSwitch", "hide");
// Is the logged in user an admin or community admin or cllection admin
// Is the logged in user an admin or community admin or collection admin
Boolean admin = (Boolean)request.getAttribute("is.admin");
boolean isAdmin = (admin == null ? false : admin.booleanValue());

View File

@@ -47,7 +47,7 @@
String title = (collection != null ? collection.getName() : "Unknown Collection");
String groupOptions = (String)request.getAttribute("curate_group_options");
String taskOptions = (String)request.getAttribute("curate_task_options");
// Is the logged in user an admin or community admin or cllection admin
// Is the logged in user an admin or community admin or collection admin
Boolean admin = (Boolean)request.getAttribute("is.admin");
boolean isAdmin = (admin == null ? false : admin.booleanValue());

View File

@@ -41,7 +41,7 @@
String groupOptions = (String)request.getAttribute("curate_group_options");
String taskOptions = (String)request.getAttribute("curate_task_options");
// Is the logged in user an admin or community admin or cllection admin
// Is the logged in user an admin or community admin or collection admin
Boolean admin = (Boolean)request.getAttribute("is.admin");
boolean isAdmin = (admin == null ? false : admin.booleanValue());

View File

@@ -42,7 +42,7 @@
String groupOptions = (String)request.getAttribute("curate_group_options");
String taskOptions = (String)request.getAttribute("curate_task_options");
// Is the logged in user an admin or community admin or cllection admin
// Is the logged in user an admin or community admin or collection admin
Boolean admin = (Boolean)request.getAttribute("is.admin");
boolean isAdmin = (admin == null ? false : admin.booleanValue());

View File

@@ -63,7 +63,7 @@
Boolean deleteButton = (Boolean)request.getAttribute("delete_button");
boolean bDeleteButton = (deleteButton == null ? false : deleteButton.booleanValue());
// Is the logged in user an admin or community admin or cllection admin
// Is the logged in user an admin or community admin or collection admin
Boolean admin = (Boolean)request.getAttribute("is.admin");
boolean isAdmin = (admin == null ? false : admin.booleanValue());

View File

@@ -38,7 +38,7 @@
Community parentCommunity = (Community) request.getAttribute("parent");
UUID parentID = (parentCommunity != null ? parentCommunity.getID() : null);
// Is the logged in user an admin or community admin or cllection admin
// Is the logged in user an admin or community admin or collection admin
Boolean admin = (Boolean)request.getAttribute("is.admin");
boolean isAdmin = (admin == null ? false : admin.booleanValue());

View File

@@ -61,7 +61,7 @@
Boolean itemAdmin = (Boolean)request.getAttribute("admin_button");
boolean isItemAdmin = (itemAdmin == null ? false : itemAdmin.booleanValue());
// Is the logged in user an admin or community admin or cllection admin
// Is the logged in user an admin or community admin or collection admin
Boolean admin = (Boolean)request.getAttribute("is.admin");
boolean isAdmin = (admin == null ? false : admin.booleanValue());

View File

@@ -27,7 +27,7 @@
<%@ page import="org.dspace.core.ConfigurationManager" %>
<%
// Is the logged in user an admin or community admin or cllection admin
// Is the logged in user an admin or community admin or collection admin
Boolean admin = (Boolean)request.getAttribute("is.admin");
boolean isAdmin = (admin == null ? false : admin.booleanValue());

View File

@@ -42,7 +42,7 @@
List<Group> groups = (List<Group>) request.getAttribute("membergroups");
request.setAttribute("LanguageSwitch", "hide");
// Is the logged in user an admin or community admin or cllection admin
// Is the logged in user an admin or community admin or collection admin
Boolean admin = (Boolean)request.getAttribute("is.admin");
boolean isAdmin = (admin == null ? false : admin.booleanValue());

View File

@@ -33,7 +33,7 @@
List<Group> groups =
(List<Group>) request.getAttribute("groups");
// Is the logged in user an admin or community admin or cllection admin
// Is the logged in user an admin or community admin or collection admin
Boolean admin = (Boolean)request.getAttribute("is.admin");
boolean isAdmin = (admin == null ? false : admin.booleanValue());

View File

@@ -37,7 +37,7 @@
// Obtain a context so that the location bar can display log in status
Context context = null;
// Is the logged in user an admin or community admin or cllection admin
// Is the logged in user an admin or community admin or collection admin
Boolean admin = (Boolean)request.getAttribute("is.admin");
boolean isAdmin = (admin == null ? false : admin.booleanValue());