[xmlsectool] branch master updated: Reversed condition in constraint.

Ian Young ian at iay.org.uk
Sun May 15 01:56:33 EDT 2016


This is an automated email from the git hooks/post-receive script.

iay pushed a commit to branch master
in repository xmlsectool.

The following commit(s) were added to refs/heads/master by this push:
       new  224ab5e   Reversed condition in constraint.
224ab5e is described below

commit 224ab5ebc6aa837f90769ec6ab6f36039ada35d4
Author: Ian Young <ian at iay.org.uk>
AuthorDate: Sun May 15 06:56:26 2016 +0100

    Reversed condition in constraint.
---
 src/main/java/net/shibboleth/tool/xmlsectool/SchemaValidator.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main/java/net/shibboleth/tool/xmlsectool/SchemaValidator.java b/src/main/java/net/shibboleth/tool/xmlsectool/SchemaValidator.java
index 954106f..01445fe 100644
--- a/src/main/java/net/shibboleth/tool/xmlsectool/SchemaValidator.java
+++ b/src/main/java/net/shibboleth/tool/xmlsectool/SchemaValidator.java
@@ -108,7 +108,7 @@ public class SchemaValidator {
             final File[] schemaFilesOrDirectories,
             final List<File> accumulatedSchemaFiles) {
 
-        Constraint.isNull(lang, "Schema language may not be null");
+        Constraint.isNotNull(lang, "Schema language may not be null");
         
         if (schemaFilesOrDirectories == null || schemaFilesOrDirectories.length == 0) {
             return;

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the commits mailing list