Removed unnecessary check

This commit is contained in:
Ziver Koc 2021-08-29 14:53:16 +02:00
parent 2d1e6f8f50
commit f4b9d46077
2 changed files with 10 additions and 12 deletions

View file

@ -204,8 +204,7 @@ public class HalServer {
* @param page is the page to register with the server.
*/
public static void registerExternalPage(String url, HttpPage page){
if (httpExternal != null)
httpExternal.setPage(url, page);
httpExternal.setPage(url, page);
}
/**