@Test(expected = NullPointerException.class) public void testNullDomainNamePatternsAreForbiddenInDeprecatedApi() { new DomainNameMapping<String>("NotFound").add(null, "Some value"); }
@Deprecated public DomainNameMapping<V> add(String hostname, V output) { map.put(normalizeHostname(checkNotNull(hostname, "hostname")), checkNotNull(output, "output")); return this; }
DomainNameMapping implements Mapping<String, V> { @Deprecated public DomainNameMapping<V> add(String hostname, V output) { map.put(normalizeHostname(checkNotNull(hostname, "hostname")), checkNotNull(output, "output")); return this; } }
DomainNameMapping implements Mapping<String, V> { @Deprecated public DomainNameMapping<V> add(String hostname, V output) { map.put(normalizeHostname(checkNotNull(hostname, "hostname")), checkNotNull(output, "output")); return this; } @Deprecated  DomainNameMapping(V defaultValue); @Deprecated  DomainNameMapping(int initialCapacity, V defaultValue);   DomainNameMapping(Map<String, V> map, V defaultValue); }
DomainNameMapping implements Mapping<String, V> { @Deprecated public DomainNameMapping<V> add(String hostname, V output) { map.put(normalizeHostname(checkNotNull(hostname, "hostname")), checkNotNull(output, "output")); return this; } @Deprecated  DomainNameMapping(V defaultValue); @Deprecated  DomainNameMapping(int initialCapacity, V defaultValue);   DomainNameMapping(Map<String, V> map, V defaultValue); @Deprecated DomainNameMapping<V> add(String hostname, V output); @Override V map(String hostname); Map<String, V> asMap(); @Override String toString(); }
DomainNameMapping implements Mapping<String, V> { @Deprecated public DomainNameMapping<V> add(String hostname, V output) { map.put(normalizeHostname(checkNotNull(hostname, "hostname")), checkNotNull(output, "output")); return this; } @Deprecated  DomainNameMapping(V defaultValue); @Deprecated  DomainNameMapping(int initialCapacity, V defaultValue);   DomainNameMapping(Map<String, V> map, V defaultValue); @Deprecated DomainNameMapping<V> add(String hostname, V output); @Override V map(String hostname); Map<String, V> asMap(); @Override String toString();  }