Skip to content
Snippets Groups Projects
Commit ef0d93d8 authored by Daniel Vogel's avatar Daniel Vogel
Browse files

Deleted question attribute chosenField. Grid questions now also use possibleAnswers

parent 76cae86b
Branches
Tags
No related merge requests found
...@@ -293,7 +293,6 @@ public class CouchDBDao implements IDatabaseDao { ...@@ -293,7 +293,6 @@ public class CouchDBDao implements IDatabaseDao {
q.put("offsetX", question.getOffsetX()); q.put("offsetX", question.getOffsetX());
q.put("offsetY", question.getOffsetY()); q.put("offsetY", question.getOffsetY());
q.put("zoomLvl", question.getZoomLvl()); q.put("zoomLvl", question.getZoomLvl());
q.put("chosenFields", question.getChosenFields());
return q; return q;
} }
...@@ -317,7 +316,6 @@ public class CouchDBDao implements IDatabaseDao { ...@@ -317,7 +316,6 @@ public class CouchDBDao implements IDatabaseDao {
q.put("offsetX", question.getOffsetX()); q.put("offsetX", question.getOffsetX());
q.put("offsetY", question.getOffsetY()); q.put("offsetY", question.getOffsetY());
q.put("zoomLvl", question.getZoomLvl()); q.put("zoomLvl", question.getZoomLvl());
q.put("chosenFields", question.getChosenFields());
this.database.saveDocument(q); this.database.saveDocument(q);
question.set_rev(q.getRev()); question.set_rev(q.getRev());
......
...@@ -49,7 +49,6 @@ public class Question { ...@@ -49,7 +49,6 @@ public class Question {
private int offsetX; private int offsetX;
private int offsetY; private int offsetY;
private int zoomLvl; private int zoomLvl;
private int[][] chosenFields;
public final String getType() { public final String getType() {
return type; return type;
...@@ -259,14 +258,6 @@ public class Question { ...@@ -259,14 +258,6 @@ public class Question {
this.zoomLvl = zoomLvl; this.zoomLvl = zoomLvl;
} }
public int[][] getChosenFields() {
return chosenFields;
}
public void setChosenFields(int[][] chosenFields) {
this.chosenFields = chosenFields;
}
@Override @Override
public final String toString() { public final String toString() {
return "Question type '" + this.type + "': " + this.subject + ";\n" + this.text + this.possibleAnswers; return "Question type '" + this.type + "': " + this.subject + ";\n" + this.text + this.possibleAnswers;
......
security.arsnova-url=http://localhost:8080
security.cas-server-url=https://cas.thm.de/cas
security.facebook.key=318531508227494
security.facebook.secret=e3f38cfc72bb63e35641b637081a6177
security.twitter.key=PEVtidSG0HzSrxVRPpsCXw
security.twitter.secret=mC0HOvxiEgqwdDWCcDoy3q75nUQPu1bYRp1ncHWGd0
security.google.key=110959746118.apps.googleusercontent.com
security.google.secret=CkzUJZswY8rjWCCYnHVovyGA
security.ssl=false
security.keystore=/etc/arsnova.thm.de.jks
security.storepass=arsnova
# minutes, after which the feedback is deleted
feedback.cleanup=10
couchdb.host=localhost
couchdb.port=5984
couchdb.name=arsnova
couchdb.username=root
couchdb.password=root
socketio.ip=0.0.0.0
socketio.port=10443
connector.uri=http://localhost:8080/connector-service
connector.username=test
connector.password=test
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment