java Programming Glossary: holes
When exactly is it leak safe to use (anonymous) inner classes? http://stackoverflow.com/questions/10864853/when-exactly-is-it-leak-safe-to-use-anonymous-inner-classes class SwissCheese Can't have swiss cheese without some holes public Leak myHoles public SwissCheese Gotta have a Factory.. myHoles public SwissCheese Gotta have a Factory to make my holes LeakFactory _holeDriller new LeakFactory Now let's get the holes.. LeakFactory _holeDriller new LeakFactory Now let's get the holes and store them. myHoles new Leak 1000 for int i 0 i i 1000 Store..
Java error: Comparison method violates its general contract http://stackoverflow.com/questions/11441666/java-error-comparison-method-violates-its-general-contract it with paper and pencil and your code seems to have few holes if card1.getRarity card2.getRarity return 1 you do not return..
When to Garbage Collect http://stackoverflow.com/questions/1147386/when-to-garbage-collect or finalize methods has led to huge performance black holes. Garbage collection can be expensive. Any situation that forces..
How to force Jetty to ask for credentials with BASIC authentication after invalidating the session? http://stackoverflow.com/questions/2180206/how-to-force-jetty-to-ask-for-credentials-with-basic-authentication-after-invali and you need to make sure you don't leave any security holes open but it's conceptually quite easy Most people don't want..
How to avoid Java Code in JSP-Files? http://stackoverflow.com/questions/3177733/how-to-avoid-java-code-in-jsp-files HTML escaping so you don't need to worry about XSS holes in Facelets. See also Hidden features of JSP Servlet What's..
How to deal with Python ~ static typing? [closed] http://stackoverflow.com/questions/3621297/how-to-deal-with-python-static-typing Another problem with Java is that its type system has holes so big that you can drive a truck through String a new String..
Java Array, Finding Duplicates http://stackoverflow.com/questions/3951547/java-array-finding-duplicates the error for currentTimeMillis and there are some gaping holes in my benchmark. Note that for any list longer than 100000 you..
What strategy do you use for package naming in Java projects and why? http://stackoverflow.com/questions/533102/what-strategy-do-you-use-for-package-naming-in-java-projects-and-why with mostly academic experience. However I can't spot the holes in my reasoning so I'm hoping you all can so that I can move..
Is there a way to refer to the current type with a type variable? http://stackoverflow.com/questions/7354740/is-there-a-way-to-refer-to-the-current-type-with-a-type-variable This example exposes two holes in the pattern EvilLeafClass can lie and substitute any other..
Basic render 3D perspective projection onto 2D screen with camera (without opengl) http://stackoverflow.com/questions/8633034/basic-render-3d-perspective-projection-onto-2d-screen-with-camera-without-openg screen. Summary I hope that covers most of it. There are holes in the above and it's vague in places post any questions below...
How to handle authentication/authorization with users in a database? http://stackoverflow.com/questions/9965708/how-to-handle-authentication-authorization-with-users-in-a-database should implement such a filter to avoid potential security holes. In JSF side you could for example just put the logged in user..
|