public static URL getMatchUrl ( QuerySolution row , boolean operationDiscovery ) { // Check the input and return immediately if null if ( row == null ) { return null ; } URL matchUrl ; if ( operationDiscovery ) { matchUrl = Util . getOperationUrl ( row ) ; } else { matchUrl = Util . getServiceUrl ( row ) ; } return matchUrl ; }
Obtain the match url given the query row and the kind of discovery we are carrying out