Skip to content

Commit

Permalink
Merge pull request #425 from jamiejackson/master
Browse files Browse the repository at this point in the history
Minor English typo corrections.
  • Loading branch information
Michael Offner committed Aug 21, 2014
2 parents 694e8ac + 37e2f50 commit ca2389a
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Expand Up @@ -36,7 +36,7 @@ public static synchronized Instrumentation getInstance() {

// try to load Agent
if(inst==null) {
SystemOut.printDate("class railo.runtime.instrumentation.Agent.getInstrumentation() is not returning a Instrumentation");
SystemOut.printDate("class railo.runtime.instrumentation.Agent.getInstrumentation() is not returning an Instrumentation");
try {
String id=getPid();
String path=getResourcFromLib().getAbsolutePath();
Expand Down
Expand Up @@ -136,7 +136,7 @@ public String format(Locale locale,double number, String mask) throws InvalidMas
break;

default:
throw new InvalidMaskException("invalid charcter ["+maskBuffer.charAt(i)+"], valid characters are ['_', '9', '.', '0', '(', ')', '+', '-', ',', 'L', 'C', '$', '^']");
throw new InvalidMaskException("invalid character ["+maskBuffer.charAt(i)+"], valid characters are ['_', '9', '.', '0', '(', ')', '+', '-', ',', 'L', 'C', '$', '^']");

}
if(removeChar) {
Expand Down
Expand Up @@ -254,7 +254,7 @@ else if(coll instanceof Map) {
String realKey = MapAsStruct.getCaseSensitiveKey((Map)coll, key.getString());
String detail=null;
if(realKey!=null) {
detail="The keys for this Map are case-sensitive, use bracked notation like this \"map['"+realKey+"']\" instead of dot notation like this \"map."+realKey+"\" to address the Map";
detail="The keys for this Map are case-sensitive, use bracket notation like this \"map['"+realKey+"']\" instead of dot notation like this \"map."+realKey+"\" to address the Map";
}

throw new ExpressionException("Key ["+key.getString()+"] doesn't exist in Map ("+((Map)coll).getClass().getName()+")",detail);
Expand Down

0 comments on commit ca2389a

Please sign in to comment.