Created
November 27, 2017 06:05
-
-
Save stevenheidel/c4c99c499cf8e03f5268031316d4e81a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
List<String> getSearchResults(...) { | |
try { | |
List<String> results = // make REST call to search service | |
return results; | |
} catch (RemoteInvocationException e) { | |
return Collections.emptyList(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment