updated to fix a compile errors
git-svn-id: svn://anubis/gvsu@285 45c1a28c-8058-47b2-ae61-ca45b979098e
This commit is contained in:
parent
c7db5e1519
commit
0630f75228
@ -82,7 +82,8 @@ public class PresenceServiceImpl implements PresenceService
|
|||||||
Response resp = new Client(Protocol.HTTP).handle(request);
|
Response resp = new Client(Protocol.HTTP).handle(request);
|
||||||
if ( ! resp.getStatus().isSuccess() )
|
if ( ! resp.getStatus().isSuccess() )
|
||||||
System.out.println(resp.getStatus());
|
System.out.println(resp.getStatus());
|
||||||
DomRepresentation d = resp.getEntityAsDom();
|
DomRepresentation rep = resp.getEntityAsDom();
|
||||||
|
Document d = rep.getDocument();
|
||||||
Node n = d.getFirstChild();
|
Node n = d.getFirstChild();
|
||||||
if (n == null)
|
if (n == null)
|
||||||
return null;
|
return null;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user