jadams-tresys closed pull request #125: Fixed typo in "charaters" URL: https://github.com/apache/incubator-daffodil/pull/125
This is a PR merged from a forked repository. As GitHub hides the original diff on merge, it is displayed below for the sake of provenance: As this is a foreign pull request (from a fork), the diff is supplied below (as it won't show otherwise due to GitHub magic): diff --git a/daffodil-io/src/main/scala/org/apache/daffodil/io/DataStreamCommonImplMixin.scala b/daffodil-io/src/main/scala/org/apache/daffodil/io/DataStreamCommonImplMixin.scala index eacf4a267..c4fb403bc 100644 --- a/daffodil-io/src/main/scala/org/apache/daffodil/io/DataStreamCommonImplMixin.scala +++ b/daffodil-io/src/main/scala/org/apache/daffodil/io/DataStreamCommonImplMixin.scala @@ -43,7 +43,7 @@ trait DataStreamCommonState { var debugging: Boolean = false // // These are for dealing with 4-byte UTF-8 codepoints - // that require 2 16-bit charaters. + // that require 2 16-bit characters. // // This only comes up in an incredibly obscure case // when fillCharBuffer is called with a char buffer having diff --git a/daffodil-lib/src/main/scala/org/apache/daffodil/cookers/EntityReplacer.scala b/daffodil-lib/src/main/scala/org/apache/daffodil/cookers/EntityReplacer.scala index 4117218b4..340c4665b 100644 --- a/daffodil-lib/src/main/scala/org/apache/daffodil/cookers/EntityReplacer.scala +++ b/daffodil-lib/src/main/scala/org/apache/daffodil/cookers/EntityReplacer.scala @@ -512,7 +512,7 @@ sealed abstract class StringLiteralBase( case whitespaceMatcher(_) => true case _ => false } - context.schemaDefinitionWhen(hasWhitespace, "For %s, the string (%s) must not contain any whitespace. Use DFDL Entities for whitespace charaters.", propName, raw) + context.schemaDefinitionWhen(hasWhitespace, "For %s, the string (%s) must not contain any whitespace. Use DFDL Entities for whitespace characters.", propName, raw) testRaw(raw, context) val thawed = thaw(raw) testThawed(thawed, context) ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org With regards, Apache Git Services