Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Hi, everyone ,i have a question with toUpperCase().

 
Javan Li
Ranch Hand
Posts: 84
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
for example:
protected CustomizeRecItem get(String strTableName,String strColName) {
return (CustomizeRecItem)mapRecItem_.get(strTableName.toUpperCase() +
":" + strColName.toUpperCase());
}
If i change to below , is it any difference ??
protected CustomizeRecItem get(String strTableName,String strColName) {
return (CustomizeRecItem)mapRecItem_.get((strTableName +
":" + strColName).toUpperCase());
}
 
David Weitzman
Ranch Hand
Posts: 1365
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Moving this to JIG
 
David Weitzman
Ranch Hand
Posts: 1365
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There's no difference.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic