test fix
This commit is contained in:
parent
a304e25629
commit
0eccbfe9a3
@ -27,7 +27,9 @@ public class ExchangeResponse {
|
|||||||
this.id = exchange.getId();
|
this.id = exchange.getId();
|
||||||
this.ownedAssignment = new GroupDefaultResponse(exchange.getOwnedAssignment().getGroup());
|
this.ownedAssignment = new GroupDefaultResponse(exchange.getOwnedAssignment().getGroup());
|
||||||
this.desiredGroup = new GroupDefaultResponse(exchange.getDesiredAssignment());
|
this.desiredGroup = new GroupDefaultResponse(exchange.getDesiredAssignment());
|
||||||
this.courseName = exchange.getOwnedAssignment().getGroup().getCourseId().getName();
|
this.courseName = exchange.getOwnedAssignment().getGroup().getCourseId() != null
|
||||||
|
? exchange.getOwnedAssignment().getGroup().getCourseId().getName()
|
||||||
|
: "";
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user