Permalink
Browse files

Tiny cleanup

  • Loading branch information...
dlubarov committed Jan 8, 2018
1 parent 884fd94 commit 238a2ac284be6b490ba6545f51062c1687d6b454
@@ -6,7 +6,7 @@
import com.lubarov.daniel.web.http.HttpRequest;
public final class Authenticator {
public static enum Status {AUTH_SUCCEEDED, AUTH_FAILED, AUTH_NOT_ATTEMPTED, PASSWORD_NOT_SETUP}
public enum Status {AUTH_SUCCEEDED, AUTH_FAILED, AUTH_NOT_ATTEMPTED, PASSWORD_NOT_SETUP}
private Authenticator() {}
@@ -31,6 +31,7 @@
public Sequence<A> sorted(Ordering<? super A> ordering);
/** If the collection has exactly one element, return it, otherwise return None. */
public Option<A> tryGetOnlyElement();
public ImmutableCollection<A> toImmutable();
@@ -5,7 +5,7 @@
/**
* An object which may or may not hold a value. In other words, it is a
* {@link daniel.data.collection.Collection} which contains at most one element.
* {@link com.lubarov.daniel.data.collection.Collection} which contains at most one element.
*/
public abstract class Option<A> extends AbstractImmutableCollection<A> {
Option() {}

0 comments on commit 238a2ac

Please sign in to comment.