@Test public void testDomainWithoutLanguageCode() throws MalformedURLException { URL url = new URL("http: ProjectInfo info = new ProjectInfo(url.getHost()); assertEquals("", info.getLanguage()); }
public final String getLanguage() { return language != null ? language : ""; }
ProjectInfo { public final String getLanguage() { return language != null ? language : ""; } }
ProjectInfo { public final String getLanguage() { return language != null ? language : ""; } ProjectInfo(String hostname); }
ProjectInfo { public final String getLanguage() { return language != null ? language : ""; } ProjectInfo(String hostname); final String getHostname(); final String getLanguage(); final String getSiteVersion(); final String getProjectDomain(); }
ProjectInfo { public final String getLanguage() { return language != null ? language : ""; } ProjectInfo(String hostname); final String getHostname(); final String getLanguage(); final String getSiteVersion(); final String getProjectDomain();  }