My personal daily WTF
I know that the XML APIs in Java are a bit Kafka'esque and perhaps even a bit buggy, but still...
/**From
* As Gregor Samsa awoke one morning from uneasy dreams he found himself
* transformed in his bed into a gigantic insect. He was lying on his hard,
* as it were armour plated, back, and if he lifted his head a little he
* could see his big, brown belly divided into stiff, arched segments, on
* top of which the bed quilt could hardly keep in position and was about
* to slide off completely. His numerous legs, which were pitifully thin
* compared to the rest of his bulk, waved helplessly before his eyes.
* "What has happened to me?", he thought. It was no dream....
*/
protected static String DEFAULT_TRANSLET_NAME = "GregorSamsa";
TransformerFactoryImpl
in the 1.5 JDK. Probably originally from Xalan/J so don't flame Sun. And, I'm far from the first to notice this. How'd you like to be this guy
Labels: java humor wtf
0 Comments:
Post a Comment
<< Home