commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ggreg...@apache.org
Subject svn commit: r1744816 - in /commons/proper/jelly/trunk/src: java/org/apache/commons/jelly/Tag.java java/org/apache/commons/jelly/parser/XMLParser.java test/org/apache/commons/jelly/core/TestUnknownTags.java
Date Fri, 20 May 2016 23:39:08 GMT
Author: ggregory
Date: Fri May 20 23:39:08 2016
New Revision: 1744816

URL: http://svn.apache.org/viewvc?rev=1744816&view=rev
Log:
Standardize on US English spelling (recognised -> recognized.)

Modified:
    commons/proper/jelly/trunk/src/java/org/apache/commons/jelly/Tag.java
    commons/proper/jelly/trunk/src/java/org/apache/commons/jelly/parser/XMLParser.java
    commons/proper/jelly/trunk/src/test/org/apache/commons/jelly/core/TestUnknownTags.java

Modified: commons/proper/jelly/trunk/src/java/org/apache/commons/jelly/Tag.java
URL: http://svn.apache.org/viewvc/commons/proper/jelly/trunk/src/java/org/apache/commons/jelly/Tag.java?rev=1744816&r1=1744815&r2=1744816&view=diff
==============================================================================
--- commons/proper/jelly/trunk/src/java/org/apache/commons/jelly/Tag.java (original)
+++ commons/proper/jelly/trunk/src/java/org/apache/commons/jelly/Tag.java Fri May 20 23:39:08
2016
@@ -41,7 +41,7 @@ public interface Tag {
     public void setParent(Tag parent);
     
     /**
-     * Returns the TagLibrary - will be null if this is an unrecognised tag 
+     * Returns the TagLibrary - will be null if this is an unrecognized tag 
      * (ie a StaticTag) 
      * @return
      */

Modified: commons/proper/jelly/trunk/src/java/org/apache/commons/jelly/parser/XMLParser.java
URL: http://svn.apache.org/viewvc/commons/proper/jelly/trunk/src/java/org/apache/commons/jelly/parser/XMLParser.java?rev=1744816&r1=1744815&r2=1744816&view=diff
==============================================================================
--- commons/proper/jelly/trunk/src/java/org/apache/commons/jelly/parser/XMLParser.java (original)
+++ commons/proper/jelly/trunk/src/java/org/apache/commons/jelly/parser/XMLParser.java Fri
May 20 23:39:08 2016
@@ -1086,7 +1086,7 @@ public class XMLParser extends DefaultHa
                         script.addAttribute(attributeName, expression);
                     }
                 } else if (!taglib.isAllowUnknownTags())
-                    throw new JellyException("Unrecognised tag called " + localName + " in
TagLibrary " + namespaceURI);
+                    throw new JellyException("Unrecognized tag called " + localName + " in
TagLibrary " + namespaceURI);
                 return script;
             }
             return null;

Modified: commons/proper/jelly/trunk/src/test/org/apache/commons/jelly/core/TestUnknownTags.java
URL: http://svn.apache.org/viewvc/commons/proper/jelly/trunk/src/test/org/apache/commons/jelly/core/TestUnknownTags.java?rev=1744816&r1=1744815&r2=1744816&view=diff
==============================================================================
--- commons/proper/jelly/trunk/src/test/org/apache/commons/jelly/core/TestUnknownTags.java
(original)
+++ commons/proper/jelly/trunk/src/test/org/apache/commons/jelly/core/TestUnknownTags.java
Fri May 20 23:39:08 2016
@@ -54,7 +54,7 @@ public class TestUnknownTags extends Bas
 		}catch(JellyException e) {
 			if (e.getCause() instanceof SAXParseException) {
 				Throwable cause = e.getCause();
-				if (cause.getMessage().indexOf("Unrecognised tag called tag-that-does-not-exist in TagLibrary
jelly:test") > -1)
+				if (cause.getMessage().indexOf("Unrecognized tag called tag-that-does-not-exist in TagLibrary
jelly:test") > -1)
 					return;
 			}
 			throw e;



Mime
View raw message