Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Reimers, Dominik
fpinjava
Commits
05d0ec1f
Commit
05d0ec1f
authored
Mar 19, 2016
by
pysaumont
Browse files
ACr3
parent
479e267c
Changes
1
Hide whitespace changes
Inline
Side-by-side
fpinjava-parent/fpinjava-common/src/main/java/com/fpinjava/common/Result.java
View file @
05d0ec1f
...
...
@@ -508,7 +508,7 @@ public abstract class Result<T> implements Serializable {
public
static
<
T
>
Result
<
T
>
of
(
final
T
value
)
{
return
value
!=
null
?
success
(
value
)
:
empty
(
);
:
Result
.
failure
(
"Null value"
);
}
public
static
<
T
>
Result
<
T
>
of
(
final
T
value
,
final
String
message
)
{
...
...
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