java Programming Glossary: surprising
How to remove entity with ManyToMany relationship in JPA (and corresponding join table rows)? http://stackoverflow.com/questions/1082095/how-to-remove-entity-with-manytomany-relationship-in-jpa-and-corresponding-join collections is not changed automatically which is quite surprising for me All in all I would suggest you decide who is the owner...
Java Best Practices to Prevent Cross Site Scripting http://stackoverflow.com/questions/1159729/java-best-practices-to-prevent-cross-site-scripting lt b code tag is unsafe in some contexts. XSS has a surprising number of variants that make it easy to bypass blacklist validation...
Is String Literal Pool a collection of references to the String Object, Or a collection of Objects http://stackoverflow.com/questions/11700320/is-string-literal-pool-a-collection-of-references-to-the-string-object-or-a-co to String two new String one Output The output is a bit surprising. The second pair representing references to String object is..
Why are these == but not `equals()`? http://stackoverflow.com/questions/1259693/why-are-these-but-not-equals method expecting a Short yet here they are equal. This is surprising for the same reason as two but it seems worse. Not surprising.. for the same reason as two but it seems worse. Not surprising as x is autoboxed to and Integer . Not surprising as objects.. Not surprising as x is autoboxed to and Integer . Not surprising as objects in different classes should not be equal . What X..
Implementation for CombineFileInputFormat Hadoop 0.20.205 http://stackoverflow.com/questions/14270317/implementation-for-combinefileinputformat-hadoop-0-20-205 from very small log files text in lines using EMR. It is surprising that Hadoop does not have a default implementation for this..
Why does Java switch on ordinal ints appear to run faster with added cases? http://stackoverflow.com/questions/15621083/why-does-java-switch-on-ordinal-ints-appear-to-run-faster-with-added-cases to avoid breaking the pared down switch . I got the rather surprising to me at least result that the longer switch with more case..
How to implement a single instance Java application? http://stackoverflow.com/questions/177189/how-to-implement-a-single-instance-java-application of machine vs. Actual results return 127.0.0.1 . it is surprising to have getLocalHost return 127.0.0.1 on Linux but not on windows...
:: (double colon) operator in Java 8 http://stackoverflow.com/questions/20001427/double-colon-operator-in-java-8 Java 8 source and found this particular part of code very surprising. defined in IntPipeline.java @Override public final OptionalInt..
Good reasons to prohibit inheritance in Java? http://stackoverflow.com/questions/218744/good-reasons-to-prohibit-inheritance-in-java interaction of inherited classes with their parents can be surprising and unpredicatable if the ancestor wasn't designed to be inherited..
setOpaque(true/false); Java http://stackoverflow.com/questions/2451990/setopaquetrue-false-java combination of some Look Feels and some components may do surprising things. And in the end there is actually no right answer. share..
Unresponsive threading involving Swing and AWT-EventQueue http://stackoverflow.com/questions/2899682/unresponsive-threading-involving-swing-and-awt-eventqueue has said that doing so causes other problems. This isn't surprising as that change causes execution to occur in a different order..
Is 1/0 a legal Java expression? http://stackoverflow.com/questions/2934063/is-1-0-a-legal-java-expression this didn't even generate as much as a warning was very surprising to me. The intrigue deepens when you consider the fact that..
Why is there no parameter contra-variance for overriding? http://stackoverflow.com/questions/2995926/why-is-there-no-parameter-contra-variance-for-overriding this can be perfectly defined in the language it might be surprising to find out that the two almost exact calls 1 and 2 actually..
Why does the JVM still not support tail-call optimization? http://stackoverflow.com/questions/3616483/why-does-the-jvm-still-not-support-tail-call-optimization with a couple of the Java SDKs and the results were surprising. Running on Sun's Hotspot JVM for version 1.3 reveals that Hotspot..
Why do we need immutable class? http://stackoverflow.com/questions/3769607/why-do-we-need-immutable-class and are often thought of as values. Therefore its not surprising to find that String class and the Integer wrapper class as well..
why hibernate changed HibernateException to RuntimeException (unchecked) http://stackoverflow.com/questions/4609870/why-hibernate-changed-hibernateexception-to-runtimeexception-unchecked end in heated debates between Java developers. It isn ™t surprising that Hibernate has some noteworthy history as well. Until Hibernate..
Properly closing SSLSocket http://stackoverflow.com/questions/6424998/properly-closing-sslsocket the fact that they're hard to merge as one shouldn't be surprising considering the purpose of TLS. SSLSocket.close is the right..
Create a password protected excel file using apache poi? http://stackoverflow.com/questions/8817290/create-a-password-protected-excel-file-using-apache-poi which appears to only handle decryption. This isn't surprising POI is designed for data extraction and search indexing not..
|