Project

General

Profile

« Previous | Next » 

Revision 6624

Fix cast to List<Node> in isNodeAuthorized().

View differences:

src/edu/ucsb/nceas/metacat/dataone/CNodeService.java
799 799
	  try {
800 800
	    // get the target node reference from the nodes list
801 801
	    CNode cn = D1Client.getCN();
802
	    List<Node> nodes = (List<Node>) cn.listNodes();
802
	    List<Node> nodes = cn.listNodes().getNodeList();
803 803

  
804 804
	    for ( Node node : nodes ) {
805 805
	        Subject nodeSubject = node.getSubject(0);

Also available in: Unified diff