Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
JAliEn
JAliEn
Commits
d06d5f01
Commit
d06d5f01
authored
Jul 11, 2018
by
Volodymyr Yurchenko
Browse files
Avoid NPE in getSE()
parent
fba41c2c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/alien/se/SEUtils.java
View file @
d06d5f01
...
...
@@ -176,7 +176,7 @@ public final class SEUtils {
final
SEfromString
request
=
new
SEfromString
(
null
,
seNumber
.
intValue
());
final
SEfromString
response
=
Dispatcher
.
execute
(
request
);
// System.err.println("Response: " + response);
return
response
.
getSE
();
return
response
!=
null
?
response
.
getSE
()
:
null
;
}
catch
(
@SuppressWarnings
(
"unused"
)
final
ServerException
se
)
{
return
null
;
}
...
...
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