package net.rebworks.lunchy.domain.places;

import net.rebworks.lunchy.domain.Place;
import net.rebworks.lunchy.resources.LunchResource;

import javax.inject.Inject;
import javax.ws.rs.core.Context;
import javax.ws.rs.core.UriInfo;
import java.net.URI;
import java.util.Arrays;
import java.util.SortedSet;
import java.util.TreeSet;

public class BynsBistro implements Place {

    private static final TreeSet<String> ALIASES = new TreeSet<>(Arrays.asList("byns", "bynsbistro"));
    public static final String NAME = ALIASES.first();
    final UriInfo uriInfo;

    @Inject
    public BynsBistro(@Context final UriInfo uriInfo) {
        this.uriInfo = uriInfo;
    }

    @Override
    public String getName() {
        return "Byns Bistro";
    }

    @Override
    public SortedSet<String> getAliases() {
        return ALIASES;
    }

    @Override
    public URI getWebsite() {
        return URI.create("http://www.bynsbistro.nu/veckans-lunch.aspx");
    }

    @Override
    public URI getUri() {
        return LunchResource.getPlaceURI(uriInfo, NAME);
    }

}

@@ -908,16 +908,17 @@
 te(%22http
+s
 ://www.b
@@ -931,29 +931,17 @@
 tro.
-nu/veckans-lunch.aspx
+se/menyer
 %22);%0A

Fix the lunch URL for Byns Bistro