This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design 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