private static CloudQueueMessage getFirstOrNull ( final Iterable < CloudQueueMessage > messages ) { for ( final CloudQueueMessage m : messages ) { return m ; } return null ; }
Gets the first message from a list of queue messages if any .