/** * Initializes the user agent string by loading a template from * {@code InternalConfig} and filling in the detected version/platform * info. */ private static void initializeUserAgent() { userAgent = userAgent(); }
/** * Initializes the user agent string by loading a template from * {@code InternalConfig} and filling in the detected version/platform * info. */ private static void initializeUserAgent() { userAgent = userAgent(); }
/** * Loads the versionInfo.properties file from the AWS Java SDK and stores * the information so that the file doesn't have to be read the next time * the data is needed. */ private static void initializeUserAgent() { userAgent = userAgent(); }
@Test public void userAgent() { String userAgent = VersionInfoUtils.userAgent(); System.out.println(userAgent); System.out.println(userAgent.length()); assertNotNull(userAgent); } }
/** * Loads the versionInfo.properties file from the AWS Java SDK and stores * the information so that the file doesn't have to be read the next time * the data is needed. */ private static void initializeUserAgent() { userAgent = userAgent(); }
/** * Loads the versionInfo.properties file from the AWS Java SDK and stores * the information so that the file doesn't have to be read the next time * the data is needed. */ private static void initializeUserAgent() { userAgent = userAgent(); }
/** * Initializes the user agent string by loading a template from * {@code InternalConfig} and filling in the detected version/platform * info. */ private static void initializeUserAgent() { userAgent = userAgent(); }