Skip to content
Snippets Groups Projects
Commit 2d9e718a authored by srosse's avatar srosse
Browse files

OO-235: fix NPE by autoboxing

parent 5de8fa81
No related branches found
No related tags found
No related merge requests found
...@@ -186,7 +186,7 @@ public class FileChooseCreateEditController extends BasicController{ ...@@ -186,7 +186,7 @@ public class FileChooseCreateEditController extends BasicController{
this.chosenFile = file; this.chosenFile = file;
this.rootContainer = rContainer; this.rootContainer = rContainer;
this.allowRelativeLinks = allowRelLinks; this.allowRelativeLinks = allowRelLinks == null ? false : allowRelLinks.booleanValue();
this.myContent = createVelocityContainer("chosenfile"); this.myContent = createVelocityContainer("chosenfile");
editButton = LinkFactory.createButtonSmall("command.edit", myContent, this); editButton = LinkFactory.createButtonSmall("command.edit", myContent, this);
deleteButton = LinkFactory.createButtonSmall("command.delete", myContent, this); deleteButton = LinkFactory.createButtonSmall("command.delete", myContent, this);
......
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