X-Git-Url: http://jaekl.net/gitweb/?p=cfb.git;a=blobdiff_plain;f=test%2Fnet%2Fjaekl%2Fcfb%2Fxml%2Fmessages%2FMessagesData.java;fp=test%2Fnet%2Fjaekl%2Fcfb%2Fxml%2Fmessages%2FMessagesData.java;h=28360b232b5e2b414fd90f3b3b3fc037bfb04224;hp=0000000000000000000000000000000000000000;hb=e9a80ba4b35ce25d00d259038c7d2cb0a954dcc4;hpb=4b7b597ce11de6d85ac77c089e1eb7ca0cb30f66
diff --git a/test/net/jaekl/cfb/xml/messages/MessagesData.java b/test/net/jaekl/cfb/xml/messages/MessagesData.java
new file mode 100644
index 0000000..28360b2
--- /dev/null
+++ b/test/net/jaekl/cfb/xml/messages/MessagesData.java
@@ -0,0 +1,450 @@
+package net.jaekl.cfb.xml.messages;
+
+public class MessagesData
+{
+ private static final String DATA = "\n"
+ + "\n"
+ + "
This particular warning generally indicates that a\n" + + "value known not to be null was checked against null.\n" + + "While the check is not necessary, it may simply be a case\n" + + "of defensive programming.
\n" + + "]]>\n" + + "new Integer(int)
is guaranteed to always result in a new object whereas\n"
+ + " Integer.valueOf(int)
allows caching of values to be done by the compiler, class library, or JVM.\n"
+ + " Using of cached values avoids object allocation and the code will be faster.\n"
+ + " \n"
+ + " \n"
+ + " Values between -128 and 127 are guaranteed to have corresponding cached instances\n"
+ + " and using valueOf
is approximately 3.5 times faster than using constructor.\n"
+ + " For values outside the constant range the performance of both styles is the same.\n"
+ + "
\n"
+ + " Unless the class must be compatible with JVMs predating Java 1.5,\n"
+ + " use either autoboxing or the valueOf()
method when creating instances of\n"
+ + " Long
, Integer
, Short
, Character
, and Byte
.\n"
+ + "