package cgeo.geocaching.connector.trackable;

import cgeo.geocaching.Trackable;

import org.eclipse.jdt.annotation.NonNull;
import org.eclipse.jdt.annotation.Nullable;

public class UnknownTrackableConnector extends AbstractTrackableConnector {

    @Override
    public boolean canHandleTrackable(final String geocode) {
        return false;
    }

    @NonNull
    @Override
    public String getServiceTitle() {
        throw new IllegalStateException("this connector does not have a corresponding name.");
    }

    @Override
    public boolean hasTrackableUrls() {
        return false;
    }

    @Override
    @Nullable
    public Trackable searchTrackable(final String geocode, final String guid, final String id) {
        return null;
    }

    @Override
    @NonNull
    public TrackableBrand getBrand() {
        return TrackableBrand.UNKNOWN;
    }
}

@@ -64,32 +64,77 @@
 ching.Trackable;
+%0Aimport cgeo.geocaching.connector.UserAction;
 %0A%0Aimport org.ecl
@@ -207,16 +207,70 @@
 lable;%0A%0A
+import java.util.Collections;%0Aimport java.util.List;%0A%0A
 public c
@@ -956,11 +956,131 @@
 N;%0A    %7D
+%0A%0A    @Override%0A    @NonNull%0A    public List%3CUserAction%3E getUserActions() %7B%0A        return Collections.EMPTY_LIST;%0A    %7D
 %0A%7D%0A

Fix failing UnknownTrackableConnector Test