Skip to content
Snippets Groups Projects
Commit 7585dc3d authored by srosse's avatar srosse
Browse files

no-jira: hardened against autoboxing

parent 84fb3480
No related branches found
No related tags found
No related merge requests found
...@@ -113,7 +113,7 @@ public class STCourseNodeEditController extends ActivateableTabbableDefaultContr ...@@ -113,7 +113,7 @@ public class STCourseNodeEditController extends ActivateableTabbableDefaultContr
private VFSContainer courseFolderContainer; private VFSContainer courseFolderContainer;
private String chosenFile; private String chosenFile;
private Boolean allowRelativeLinks; private boolean allowRelativeLinks;
private DeliveryOptions deliveryOptions; private DeliveryOptions deliveryOptions;
private LinkFileCombiCalloutController combiLinkCtr; private LinkFileCombiCalloutController combiLinkCtr;
...@@ -311,7 +311,7 @@ public class STCourseNodeEditController extends ActivateableTabbableDefaultContr ...@@ -311,7 +311,7 @@ public class STCourseNodeEditController extends ActivateableTabbableDefaultContr
// update the module configuration // update the module configuration
ModuleConfiguration moduleConfig = stNode.getModuleConfiguration(); ModuleConfiguration moduleConfig = stNode.getModuleConfiguration();
nodeDisplayConfigFormController.updateModuleConfiguration(moduleConfig); nodeDisplayConfigFormController.updateModuleConfiguration(moduleConfig);
allowRelativeLinks = moduleConfig.getBooleanEntry(CONFIG_KEY_ALLOW_RELATIVE_LINKS); allowRelativeLinks = moduleConfig.getBooleanSafe(CONFIG_KEY_ALLOW_RELATIVE_LINKS);
// update some class vars // update some class vars
if (CONFIG_VALUE_DISPLAY_FILE.equals(moduleConfig.getStringValue(CONFIG_KEY_DISPLAY_TYPE))) { if (CONFIG_VALUE_DISPLAY_FILE.equals(moduleConfig.getStringValue(CONFIG_KEY_DISPLAY_TYPE))) {
editorEnabled = true; editorEnabled = true;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment