X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=src%2Fnet%2Fpterodactylus%2Fjsite%2Fproject%2FRedirectEntry.java;h=82b2968f89290a6a73edd2e584475453e95c44d8;hb=95caf3bdb2b7946e4f20a45025f730dd47c5985c;hp=36f7bd644fbf8ca835d35cfa4c63b21bb8c7d1bb;hpb=dcab7505473d0a4f779b4199eba4e201c4923df6;p=jSite2.git diff --git a/src/net/pterodactylus/jsite/project/RedirectEntry.java b/src/net/pterodactylus/jsite/project/RedirectEntry.java index 36f7bd6..82b2968 100644 --- a/src/net/pterodactylus/jsite/project/RedirectEntry.java +++ b/src/net/pterodactylus/jsite/project/RedirectEntry.java @@ -34,6 +34,13 @@ public class RedirectEntry extends AbstractEntry { private String target; /** + * Creates a new entry that redirects to another URL. + */ + public RedirectEntry() { + super(true); + } + + /** * Returns the target of the redirect. * * @return The target of the redirect