myfaces-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tandrasc...@apache.org
Subject [myfaces] branch master updated: cosmetics
Date Sun, 11 Aug 2019 08:43:29 GMT
This is an automated email from the ASF dual-hosted git repository.

tandraschko pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/myfaces.git


The following commit(s) were added to refs/heads/master by this push:
     new 663973b  cosmetics
663973b is described below

commit 663973b84e8962ed778f350fd68babd508066c83
Author: Thomas Andraschko <tandraschko@apache.org>
AuthorDate: Sun Aug 11 10:43:25 2019 +0200

    cosmetics
---
 .../java/org/apache/myfaces/view/facelets/compiler/SAXCompiler.java    | 2 +-
 .../org/apache/myfaces/view/facelets/compiler/TagLibraryConfig.java    | 3 +--
 2 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/impl/src/main/java/org/apache/myfaces/view/facelets/compiler/SAXCompiler.java
b/impl/src/main/java/org/apache/myfaces/view/facelets/compiler/SAXCompiler.java
index 52385fc..282a3df 100644
--- a/impl/src/main/java/org/apache/myfaces/view/facelets/compiler/SAXCompiler.java
+++ b/impl/src/main/java/org/apache/myfaces/view/facelets/compiler/SAXCompiler.java
@@ -1112,8 +1112,8 @@ public final class SAXCompiler extends Compiler
         SAXParserFactory factory = SAXParserFactory.newInstance();
         factory.setNamespaceAware(true);
         factory.setFeature("http://xml.org/sax/features/namespace-prefixes", true);
-        factory.setFeature("http://xml.org/sax/features/validation", this.isValidating());
         factory.setValidating(this.isValidating());
+        factory.setFeature("http://xml.org/sax/features/validation", this.isValidating());
         SAXParser parser = factory.newSAXParser();
         XMLReader reader = parser.getXMLReader();
         reader.setProperty("http://xml.org/sax/properties/lexical-handler", handler);
diff --git a/impl/src/main/java/org/apache/myfaces/view/facelets/compiler/TagLibraryConfig.java
b/impl/src/main/java/org/apache/myfaces/view/facelets/compiler/TagLibraryConfig.java
index 6694950..5a4f0b0 100644
--- a/impl/src/main/java/org/apache/myfaces/view/facelets/compiler/TagLibraryConfig.java
+++ b/impl/src/main/java/org/apache/myfaces/view/facelets/compiler/TagLibraryConfig.java
@@ -584,8 +584,7 @@ public final class TagLibraryConfig
                     }
                     catch (NoSuchMethodException e)
                     {
-                        throw new Exception("No Function Found on type: " + type.getName()
+ " with signature: "
-                                + s);
+                        throw new Exception("No Function Found on type: " + type.getName()
+ " with signature: " + s);
                     }
 
                 }


Mime
View raw message