From: Peter S. <sz...@us...> - 2004-04-30 14:06:56
|
Update of /cvsroot/nhibernate/nhibernate/src/NHibernate/SqlCommand In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18403/NHibernate/SqlCommand Modified Files: ForUpdateFragment.cs Template.cs Log Message: HQL looks like finished. Changed string.Empty to String.Empty. Index: Template.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/SqlCommand/Template.cs,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** Template.cs 29 Apr 2004 14:00:53 -0000 1.6 --- Template.cs 30 Apr 2004 14:06:47 -0000 1.7 *************** *** 23,41 **** static Template() { ! Keywords["and"] = string.Empty; ! Keywords["or"] = string.Empty; ! Keywords["not"] = string.Empty; ! Keywords["like"] = string.Empty; ! Keywords["is"] = string.Empty; ! Keywords["in"] = string.Empty; ! Keywords["between"] = string.Empty; ! Keywords["null"] = string.Empty; ! Keywords["select"] = string.Empty; ! Keywords["from"] = string.Empty; ! Keywords["where"] = string.Empty; ! Keywords["having"] = string.Empty; ! Keywords["group"] = string.Empty; ! Keywords["order"] = string.Empty; ! Keywords["by"] = string.Empty; delimiterList.Add(" "); --- 23,41 ---- static Template() { ! Keywords["and"] = String.Empty; ! Keywords["or"] = String.Empty; ! Keywords["not"] = String.Empty; ! Keywords["like"] = String.Empty; ! Keywords["is"] = String.Empty; ! Keywords["in"] = String.Empty; ! Keywords["between"] = String.Empty; ! Keywords["null"] = String.Empty; ! Keywords["select"] = String.Empty; ! Keywords["from"] = String.Empty; ! Keywords["where"] = String.Empty; ! Keywords["having"] = String.Empty; ! Keywords["group"] = String.Empty; ! Keywords["order"] = String.Empty; ! Keywords["by"] = String.Empty; delimiterList.Add(" "); *************** *** 70,74 **** public static void AddKeyword(string keyword) { ! Keywords[keyword] = string.Empty; } --- 70,74 ---- public static void AddKeyword(string keyword) { ! Keywords[keyword] = String.Empty; } Index: ForUpdateFragment.cs =================================================================== RCS file: /cvsroot/nhibernate/nhibernate/src/NHibernate/SqlCommand/ForUpdateFragment.cs,v retrieving revision 1.3 retrieving revision 1.4 diff -C2 -d -r1.3 -r1.4 *** ForUpdateFragment.cs 29 Apr 2004 14:00:53 -0000 1.3 --- ForUpdateFragment.cs 30 Apr 2004 14:06:47 -0000 1.4 *************** *** 38,43 **** { return aliases.Length==0 ? ! new SqlString(string.Empty) : ! new SqlString(" for update of " + aliases + ( nowait ? " nowait" : string.Empty)); } --- 38,43 ---- { return aliases.Length==0 ? ! new SqlString(String.Empty) : ! new SqlString(" for update of " + aliases + ( nowait ? " nowait" : String.Empty)); } |