Skip to content
Snippets Groups Projects
Commit 056b8594 authored by Thomas Schnaak's avatar Thomas Schnaak
Browse files

fix: rename Visibility none

parent 44a7d2fb
No related branches found
No related tags found
No related merge requests found
package unipotsdam.gf.modules.journal.model;
public enum Visibility { ALL, GROUP, DOZENT, NONE
public enum Visibility { ALL, GROUP, DOZENT, MINE
}
......@@ -117,8 +117,8 @@ public class DummyJournalService implements JournalService {
try{
v = Visibility.valueOf(visibility);
}catch (IllegalArgumentException e){
v = Visibility.NONE;
log.debug("Illegal argument for visibility, default to NONE");
v = Visibility.MINE;
log.debug("Illegal argument for visibility, default to MINE");
}
return v;
}
......@@ -132,7 +132,7 @@ public class DummyJournalService implements JournalService {
Journal j1 = new Journal(0,studentIdentifier,test, cal.getTimeInMillis() , Visibility.ALL, "test1");
j1.setCreator("Test Test");
Journal j2 = new Journal(1,studentIdentifier,test, cal.getTimeInMillis() , Visibility.NONE, "test2");
Journal j2 = new Journal(1,studentIdentifier,test, cal.getTimeInMillis() , Visibility.MINE, "test2");
j2.setCreator("Test Test");
Journal j3 = new Journal(2,studentIdentifier,test, cal.getTimeInMillis() , Visibility.GROUP, "test3");
j3.setCreator("Test Test");
......
......@@ -55,7 +55,7 @@
<option value="ALL"> Alle </option>
<option value="GROUP"> Gruppe </option>
<option value="DOZENT"> Dozent </option>
<option value="NONE"> Niemand </option>
<option value="NONE"> Nur Ich </option>
</select>
</div>
......
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