Revert "Added Validation for invalid file in schemas-directory."
[netconf.git] / netconf / tools / netconf-testtool / src / main / java / org / opendaylight / netconf / test / tool / TesttoolParameters.java
index 606b1a5bc1f91c6d95440956b28bf4690f5616be..b8cea1bdd49bc0aa4f3d5f13b19544291e1888f9 100644 (file)
@@ -328,9 +328,6 @@ public class TesttoolParameters {
                             if (!file.renameTo(correctNameFile)) {
                                 throw new IllegalStateException("Failed to rename '%s'." + file);
                             }
-                        } else {
-                            throw new IllegalStateException(String.format("Cannot read content of  \"%s\"",
-                                    file.getName()));
                         }
                     } catch (final IOException e) {
                         // print error to console (test tool is running from console)