mirror of
https://github.com/DSpace/DSpace.git
synced 2025-10-08 02:24:18 +00:00
[DS-707] Finalize constants, eliminate unnecessary boxed primitive.
git-svn-id: http://scm.dspace.org/svn/repo/dspace/trunk@5490 9c30dcfa-912a-0410-8fc2-9e0234be79fd
This commit is contained in:
@@ -63,12 +63,12 @@ public class SubmissionStepConfig implements Serializable
|
|||||||
/*
|
/*
|
||||||
* The identifier for the Select Collection step
|
* The identifier for the Select Collection step
|
||||||
*/
|
*/
|
||||||
public static String SELECT_COLLECTION_STEP = "collection";
|
public static final String SELECT_COLLECTION_STEP = "collection";
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* The identifier for the Completion step
|
* The identifier for the Completion step
|
||||||
*/
|
*/
|
||||||
public static String COMPLETE_STEP = "complete";
|
public static final String COMPLETE_STEP = "complete";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* the id for this step ('id' only exists if this step is defined in the
|
* the id for this step ('id' only exists if this step is defined in the
|
||||||
@@ -130,7 +130,7 @@ public class SubmissionStepConfig implements Serializable
|
|||||||
String wfEditString = (String) stepMap.get("workflow-editable");
|
String wfEditString = (String) stepMap.get("workflow-editable");
|
||||||
if (wfEditString != null && wfEditString.length() > 0)
|
if (wfEditString != null && wfEditString.length() > 0)
|
||||||
{
|
{
|
||||||
workflowEditable = new Boolean(wfEditString).booleanValue();
|
workflowEditable = Boolean.parseBoolean(wfEditString);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user