Win a copy of AWS Security this week in the Cloud/Virtualization forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

search in GUI:

 
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,

in my spec it says about GUI search:

It must allow the user to search the data for all records, or for records where the name and/or location fields exactly match values specified by the user.



"exactly match" - I wonder if this means I may not even use equalsIgnoreCase() here? Normally I would just use it and write this in the choices.txt, but considering it's a MUST requirement I'm afraid it could cause automatic failure before...

What do you think, is this "overly paranoid" or should I really refrain from using case-insensitive matching here?

Thanks for your opinions (experiences?)
Sigrid
 
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think this is a design decision that would be argued either way. I chose to ignore case and qualified that approach by documenting it among my design decision points.
 
Sigrid Kajdan
Ranch Hand
Posts: 72
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Tom,

thanks for your answer. I think I'll stick to the case-sensitive version now as it fits nicely with my equals() method, but it's good to know other's opinions!

Ciao,
Sigrid
 
There are 29 Knuts in one Sickle, and 17 Sickles make up a Galleon. 42 tiny ads in a knut:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic