Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.99.4
Description
There is a typo in code snippet on page url http://sqoop.apache.org/docs/1.99.4/ClientAPI.html in the "View Error or Warning valdiation message" section
private static void printMessage(List<MConfig> configs) {
for(MConfig config : configs) {
List<MInput<?>> inputlist = config.getInputs();
if (config.getValidationMessages() != null) {
// print every validation message
for(Message message : config.getValidationMessages())
}
for (MInput minput : inputlist) {
if (minput.getValidationStatus() == Status.WARNING) {
for(Message message : config.getValidationMessages())
}
else if (minput.getValidationStatus() == Status.ERROR) {
for(Message message : config.getValidationMessages())
}
}
}
The text in the red needs to replaced by minput.