public Site overrideWith ( final Site other ) { return new Site ( other . id > 0L ? other . id : this . id , other . baseURL != null ? other . baseURL : this . baseURL , other . title != null ? other . title : this . title , other . description != null ? other . description : this . description , other . permalinkStructure != null ? other . permalinkStructure : this . permalinkStructure , other . defaultCategory != null ? other . defaultCategory : this . defaultCategory ) ; }
Overrides values in this site with those in another if set .