Skip to content
Snippets Groups Projects
Commit 19832f34 authored by strentini's avatar strentini
Browse files

OO-179 : removed one attribute from wikiVO : isGroupWiki ( wikiVO are now all repo-wikis)

parent 52208e49
No related branches found
No related tags found
No related merge requests found
...@@ -116,7 +116,6 @@ public class WikisWebService { ...@@ -116,7 +116,6 @@ public class WikisWebService {
private static WikiVO wikivoFromRepoEntry(RepositoryEntry entry) { private static WikiVO wikivoFromRepoEntry(RepositoryEntry entry) {
WikiVO wiki = new WikiVO(); WikiVO wiki = new WikiVO();
wiki.setGroupWiki(false);
wiki.setTitle(entry.getDisplayname()); wiki.setTitle(entry.getDisplayname());
wiki.setKey(entry.getResourceableId()); wiki.setKey(entry.getResourceableId());
wiki.setSoftkey(entry.getSoftkey()); wiki.setSoftkey(entry.getSoftkey());
......
...@@ -55,11 +55,6 @@ public class WikiVO { ...@@ -55,11 +55,6 @@ public class WikiVO {
} }
/**
* for groupWikis, this is true, for "normal" repository-Wikis this is false
*/
private boolean isGroupWiki;
public Long getKey() { public Long getKey() {
return key; return key;
} }
...@@ -72,10 +67,6 @@ public class WikiVO { ...@@ -72,10 +67,6 @@ public class WikiVO {
return title; return title;
} }
public boolean isGroupWiki() {
return isGroupWiki;
}
public void setKey(Long key) { public void setKey(Long key) {
this.key = key; this.key = key;
} }
...@@ -88,15 +79,10 @@ public class WikiVO { ...@@ -88,15 +79,10 @@ public class WikiVO {
this.title = title; this.title = title;
} }
public void setGroupWiki(boolean isGroupWiki) {
this.isGroupWiki = isGroupWiki;
}
@Override @Override
public String toString() { public String toString() {
StringBuilder sb = new StringBuilder(); StringBuilder sb = new StringBuilder();
sb.append("WikiVO[key=").append(key).append(":title=").append(title); sb.append("WikiVO[key=").append(key).append(":title=").append(title);
sb.append(":isGroupWiki=").append(isGroupWiki);
sb.append("]"); sb.append("]");
return sb.toString(); return sb.toString();
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment