Code Review
/
yangtools.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
BUG-7464: Reformat source code
[yangtools.git]
/
third-party
/
triemap
/
src
/
main
/
java
/
org
/
opendaylight
/
yangtools
/
triemap
/
Some.java
diff --git
a/third-party/triemap/src/main/java/org/opendaylight/yangtools/triemap/Some.java
b/third-party/triemap/src/main/java/org/opendaylight/yangtools/triemap/Some.java
index 114ac650c02bddfb0c2e3d4d2a47cdb06d264364..183dd4db6015640e841babf6a312fe6a78ce47f7 100644
(file)
--- a/
third-party/triemap/src/main/java/org/opendaylight/yangtools/triemap/Some.java
+++ b/
third-party/triemap/src/main/java/org/opendaylight/yangtools/triemap/Some.java
@@
-2,21
+2,22
@@
package org.opendaylight.yangtools.triemap;
/**
* Mimic Some in Scala
/**
* Mimic Some in Scala
- *
+ *
* @author Roman Levenstein <romixlev@gmail.com>
*
* @param <V>
*/
class Some<V> extends Option<V>{
final V value;
* @author Roman Levenstein <romixlev@gmail.com>
*
* @param <V>
*/
class Some<V> extends Option<V>{
final V value;
- public Some(V v) {
+ public Some(
final
V v) {
value = v;
}
value = v;
}
-
+
public V get() {
return value;
}
public V get() {
return value;
}
-
+
+ @Override
public boolean nonEmpty () {
return value != null;
}
public boolean nonEmpty () {
return value != null;
}