projects
/
Sone.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
🔖 Update version and latest edition
[Sone.git]
/
src
/
test
/
java
/
net
/
pterodactylus
/
sone
/
test
/
TestValue.java
diff --git
a/src/test/java/net/pterodactylus/sone/test/TestValue.java
b/src/test/java/net/pterodactylus/sone/test/TestValue.java
index
454163e
..
6435d16
100644
(file)
--- a/
src/test/java/net/pterodactylus/sone/test/TestValue.java
+++ b/
src/test/java/net/pterodactylus/sone/test/TestValue.java
@@
-12,12
+12,10
@@
import com.google.common.base.Objects;
/**
* Simple {@link Value} implementation.
/**
* Simple {@link Value} implementation.
- *
- * @author <a href="mailto:bombe@pterodactylus.net">David ‘Bombe’ Roden</a>
*/
public class TestValue<T> implements Value<T> {
*/
public class TestValue<T> implements Value<T> {
- private final AtomicReference<T> value = new AtomicReference<
T
>();
+ private final AtomicReference<T> value = new AtomicReference<>();
public TestValue(@Nullable T originalValue) {
value.set(originalValue);
public TestValue(@Nullable T originalValue) {
value.set(originalValue);
@@
-60,7
+58,7
@@
public class TestValue<T> implements Value<T> {
@Nonnull
public static <T> Value<T> from(@Nullable T value) {
@Nonnull
public static <T> Value<T> from(@Nullable T value) {
- return new TestValue<
T
>(value);
+ return new TestValue<>(value);
}
}
}
}