| | |
| | | * |
| | | * Copyright 2008-2010 Sun Microsystems, Inc. |
| | | * Portions Copyright 2014-2016 ForgeRock AS. |
| | | * Portions Copyright 2026 3A Systems, LLC. |
| | | */ |
| | | package org.opends.guitools.controlpanel.ui; |
| | | |
| | |
| | | } |
| | | |
| | | String ldifPath = file.getText(); |
| | | if (ldifPath == null || "".equals(ldifPath.trim())) |
| | | if (ldifPath == null || ldifPath.trim().isEmpty()) |
| | | { |
| | | errors.add(INFO_NO_LDIF_PATH.get()); |
| | | setPrimaryInvalid(lFile); |
| | |
| | | if (writeRejects.isSelected()) |
| | | { |
| | | String rejectPath = rejectsFile.getText(); |
| | | if (rejectPath == null || "".equals(rejectPath.trim())) |
| | | if (rejectPath == null || rejectPath.trim().isEmpty()) |
| | | { |
| | | errors.add(ERR_CTRL_PANEL_REJECTS_FILE_REQUIRED.get()); |
| | | setPrimaryInvalid(lRejectsFile); |
| | |
| | | if (writeSkips.isSelected()) |
| | | { |
| | | String skipPath = skipsFile.getText(); |
| | | if (skipPath == null || "".equals(skipPath.trim())) |
| | | if (skipPath == null || skipPath.trim().isEmpty()) |
| | | { |
| | | errors.add(ERR_CTRL_PANEL_SKIPS_FILE_REQUIRED.get()); |
| | | setPrimaryInvalid(lSkipsFile); |