private Boolean isServerInstallRequested(String local, Printer[] server) { if (server != null && local != null) { for (int i = 0; i < server.Length; i++) { if (server[i] != null) { if (server[i].getAlias().Trim() == local.Trim()) return true; } } return false; } else return true; }
private Boolean isInstalledLocally( String[] local, Printer server ) { if (server != null && local != null) { for (int i = 0; i < local.Length; i++) { if (server.getAlias().Trim() == local[i].Trim()) { return true; } } return false; } return true; }