Skip to content

Instantly share code, notes, and snippets.

@gabriel403
Created August 20, 2013 09:15
Show Gist options
  • Save gabriel403/6279151 to your computer and use it in GitHub Desktop.
Save gabriel403/6279151 to your computer and use it in GitHub Desktop.
try {
List<IdmDataItem> additionalRequestItems = this.request.getRequestData().getAdditionalData().getItem();
} catch(NullPointerException e) {
List<IdmDataItem> additionalRequestItems = new List<IdmDataItem>();
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment