File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -213,7 +213,8 @@ public String update() throws ApplicationException, IOException {
213
213
public String update (String meetingCode , String sessionId ) throws ApplicationException , IOException {
214
214
String error = "{ \" error\" : \" expired\" }" ;
215
215
if (this .meetings .containsKey (meetingCode )) {
216
- if (sessions .get (meetingCode ) != null && sessions .get (meetingCode ).contains (sessionId )) {
216
+ List <String > list ;
217
+ if ((list = sessions .get (meetingCode )) != null && list .contains (sessionId )) {
217
218
return this .update (sessionId );
218
219
}
219
220
error = "{ \" error\" : \" session-timeout\" }" ;
@@ -330,7 +331,7 @@ public void sessionDestroyed(HttpSessionEvent arg0) {
330
331
331
332
Queue <Builder > messages ;
332
333
List <String > session_ids ;
333
- synchronized (this .meetings ) {
334
+ synchronized (this .meetings ) {
334
335
if ((session_ids = this .sessions .get (meetingCode )) != null ) {
335
336
session_ids .remove (arg0 .getSession ().getId ());
336
337
}
You can’t perform that action at this time.
0 commit comments