Posts by Evandro Santos • 11 points
2 posts
-
0
votes2
answers49
viewsA: Javascript code enhancement for site field validation
In this line of code: var result = url.match(re); the result variable will only be populated if it finds corresponding values in the url variable, so my test would be: var result = url.match(re); if…
-
1
votes2
answers162
viewsA: Equals() and Hashcode() superscript
I did the tests with a class created with code, name and size. I automatically generated by eclipse and worked perfectly. In your code, in some situations appears super.getCodigo(), I am deducing…