Skip to content

Commit

Permalink
Minor bug fix for dspace-api updates
Browse files Browse the repository at this point in the history
  • Loading branch information
tdonohue committed Feb 14, 2018
1 parent d7990d2 commit 16460e5
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
4 changes: 2 additions & 2 deletions dspace-api/src/main/java/org/dspace/app/util/Util.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ public class Util {
private static Logger log = Logger.getLogger(Util.class);

/**
* Default constructor
* Default constructor. Must be protected as org.dspace.xmlworkflow.WorkflowUtils extends it
*/
private Util() { }
protected Util() { }

/**
* Utility method to convert spaces in a string to HTML non-break space
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,11 @@ public class WorkflowUtils extends Util {
protected static final XmlWorkflowFactory xmlWorkflowFactory = XmlWorkflowServiceFactory.getInstance()
.getWorkflowFactory();

/**
* Default constructor
*/
private WorkflowUtils() { }

/**
* Return a string for logging, containing useful information about the
* current request - the URL, the method and parameters.
Expand Down

0 comments on commit 16460e5

Please sign in to comment.