Created
June 27, 2018 11:31
-
-
Save galderz/da67bac08b3e5e6aa02da26f76821a50 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
RemoteCache<String, String> metadataCache = | |
remote.getCache(PROTOBUF_METADATA_CACHE_NAME); | |
metadataCache.put(fileName, protoFile); | |
String filesWithErrors = metadataCache.get(ERRORS_KEY_SUFFIX); | |
if (filesWithErrors != null) | |
throw new AssertionError("Error in proto file(s): " + filesWithErrors); | |
else | |
System.out.println("Added schema file: " + fileName); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment