Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
reg-app
Regapp
Commits
9e8f8407
Commit
9e8f8407
authored
Apr 23, 2015
by
michael.simon
Browse files
catch possible null value
parent
2e20092d
Changes
1
Hide whitespace changes
Inline
Side-by-side
bwreg-webapp/src/main/java/edu/kit/scc/webreg/bean/admin/config/IndexConfigBean.java
View file @
9e8f8407
...
...
@@ -107,6 +107,9 @@ public class IndexConfigBean implements Serializable {
}
public
boolean
getScheduledReload
()
{
return
(
appConfig
.
getLastLoad
().
compareTo
(
appConfig
.
getNextScheduledReload
())
<
0
);
if
(
appConfig
.
getLastLoad
()
==
null
||
appConfig
.
getNextScheduledReload
()
==
null
)
return
false
;
else
return
(
appConfig
.
getLastLoad
().
compareTo
(
appConfig
.
getNextScheduledReload
())
<
0
);
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment