@Test public void testBuildParameters2() { Map<String, String> parms = sut.buildParameters(null); assertTrue(parms.isEmpty()); }
protected Map<String, String> buildParameters(final Map<String, String> extraParameters) { Map<String, String> parameters = new HashMap<String, String>(); if (storedExtraParameters != null) { parameters.putAll(storedExtraParameters); } if (extraParameters != null) { parameters.putAll(extraParameters); } return parameters; }
BaseActivityLinkBuilder { protected Map<String, String> buildParameters(final Map<String, String> extraParameters) { Map<String, String> parameters = new HashMap<String, String>(); if (storedExtraParameters != null) { parameters.putAll(storedExtraParameters); } if (extraParameters != null) { parameters.putAll(extraParameters); } return parameters; } }
BaseActivityLinkBuilder { protected Map<String, String> buildParameters(final Map<String, String> extraParameters) { Map<String, String> parameters = new HashMap<String, String>(); if (storedExtraParameters != null) { parameters.putAll(storedExtraParameters); } if (extraParameters != null) { parameters.putAll(extraParameters); } return parameters; }  }
BaseActivityLinkBuilder { protected Map<String, String> buildParameters(final Map<String, String> extraParameters) { Map<String, String> parameters = new HashMap<String, String>(); if (storedExtraParameters != null) { parameters.putAll(storedExtraParameters); } if (extraParameters != null) { parameters.putAll(extraParameters); } return parameters; }  String buildActivityPermalink(final long activityId, final EntityType streamType,
            final String streamUniqueId); String buildActivityPermalink(final long activityId, final EntityType streamType,
            final String streamUniqueId, final Map<String, String> extraParameters); abstract CreateUrlRequest buildActivityPermalinkUrlRequest(final long activityId,
            final EntityType streamType, final String streamUniqueId, final Map<String, String> extraParameters); void addExtraParameter(final String key, final Object value); }
BaseActivityLinkBuilder { protected Map<String, String> buildParameters(final Map<String, String> extraParameters) { Map<String, String> parameters = new HashMap<String, String>(); if (storedExtraParameters != null) { parameters.putAll(storedExtraParameters); } if (extraParameters != null) { parameters.putAll(extraParameters); } return parameters; }  String buildActivityPermalink(final long activityId, final EntityType streamType,
            final String streamUniqueId); String buildActivityPermalink(final long activityId, final EntityType streamType,
            final String streamUniqueId, final Map<String, String> extraParameters); abstract CreateUrlRequest buildActivityPermalinkUrlRequest(final long activityId,
            final EntityType streamType, final String streamUniqueId, final Map<String, String> extraParameters); void addExtraParameter(final String key, final Object value);  }