Fixing the build.
LDAPReplicationDomain.java:
In parseFractionalConfig(), added back the null checks on the Iterator because some client code passes in null.
| | |
| | | Iterator<String> iterator; |
| | | |
| | | // Deduce the wished fractional mode |
| | | if (exclIt.hasNext()) |
| | | if (exclIt != null && exclIt.hasNext()) |
| | | { |
| | | if (inclIt.hasNext()) |
| | | if (inclIt != null && inclIt.hasNext()) |
| | | { |
| | | throw new ConfigException( |
| | | NOTE_ERR_FRACTIONAL_CONFIG_BOTH_MODES.get()); |
| | |
| | | } |
| | | else |
| | | { |
| | | if (inclIt.hasNext()) |
| | | if (inclIt != null && inclIt.hasNext()) |
| | | { |
| | | fractionalMode = INCLUSIVE_FRACTIONAL; |
| | | iterator = inclIt; |