The buildDocument() method incorrectly identifies empty lines as being invalid. The logic should be modified to correctly handle empty lines. There is no error handling currently in place to the library still works, but it will cause problems when we implement the observer pattern.
The buildDocument() method incorrectly identifies empty lines as being invalid. The logic should be modified to correctly handle empty lines. There is no error handling currently in place to the library still works, but it will cause problems when we implement the observer pattern.