Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
OLAT CI-CD Testing Project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Requirements
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Deploy
Package Registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
Service Desk
Analyze
Contributor analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Lars Oliver Dam
OLAT CI-CD Testing Project
Commits
cc4696c9
Commit
cc4696c9
authored
11 years ago
by
srosse
Browse files
Options
Downloads
Patches
Plain Diff
OO-789: check null in vitero admin panel as the persisted properties doesn't accept null property
parent
04c41909
No related branches found
Branches containing commit
Tags
OpenOLAT_12.5.8
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/main/java/org/olat/modules/vitero/ViteroModule.java
+3
-3
3 additions, 3 deletions
src/main/java/org/olat/modules/vitero/ViteroModule.java
with
3 additions
and
3 deletions
src/main/java/org/olat/modules/vitero/ViteroModule.java
+
3
−
3
View file @
cc4696c9
...
@@ -231,7 +231,7 @@ public class ViteroModule extends AbstractOLATModule implements ConfigOnOff {
...
@@ -231,7 +231,7 @@ public class ViteroModule extends AbstractOLATModule implements ConfigOnOff {
}
}
public
void
setProtocol
(
String
protocol
)
{
public
void
setProtocol
(
String
protocol
)
{
setStringProperty
(
PROTOCOL
,
protocol
,
true
);
setStringProperty
(
PROTOCOL
,
protocol
==
null
?
""
:
protocol
,
true
);
}
}
public
int
getPort
()
{
public
int
getPort
()
{
...
@@ -247,7 +247,7 @@ public class ViteroModule extends AbstractOLATModule implements ConfigOnOff {
...
@@ -247,7 +247,7 @@ public class ViteroModule extends AbstractOLATModule implements ConfigOnOff {
}
}
public
void
setBaseUrl
(
String
baseUrl
)
{
public
void
setBaseUrl
(
String
baseUrl
)
{
setStringProperty
(
BASE_URL
,
baseUrl
,
true
);
setStringProperty
(
BASE_URL
,
baseUrl
==
null
?
""
:
baseUrl
,
true
);
}
}
public
String
getContextPath
()
{
public
String
getContextPath
()
{
...
@@ -255,7 +255,7 @@ public class ViteroModule extends AbstractOLATModule implements ConfigOnOff {
...
@@ -255,7 +255,7 @@ public class ViteroModule extends AbstractOLATModule implements ConfigOnOff {
}
}
public
void
setContextPath
(
String
contextPath
)
{
public
void
setContextPath
(
String
contextPath
)
{
setStringProperty
(
CONTEXT_PATH
,
contextPath
,
true
);
setStringProperty
(
CONTEXT_PATH
,
contextPath
==
null
?
""
:
contextPath
,
true
);
}
}
public
String
getDisplayName
()
{
public
String
getDisplayName
()
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment