projects
/
jSite2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
add virtual flag in entry
[jSite2.git]
/
src
/
net
/
pterodactylus
/
jsite
/
project
/
RedirectEntry.java
diff --git
a/src/net/pterodactylus/jsite/project/RedirectEntry.java
b/src/net/pterodactylus/jsite/project/RedirectEntry.java
index
36f7bd6
..
82b2968
100644
(file)
--- 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