stevel 2003/01/25 11:13:33
Modified: java/src/org/apache/axis/utils JavaUtils.java
Log:
spelling correction, added abstract to the list of java keywords
Revision Changes Path
1.90 +4 -4 xml-axis/java/src/org/apache/axis/utils/JavaUtils.java
Index: JavaUtils.java
===================================================================
RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/utils/JavaUtils.java,v
retrieving revision 1.89
retrieving revision 1.90
diff -u -r1.89 -r1.90
--- JavaUtils.java 25 Dec 2002 23:28:47 -0000 1.89
+++ JavaUtils.java 25 Jan 2003 19:13:33 -0000 1.90
@@ -616,7 +616,7 @@
*/
static final String keywords[] =
{
- "abstract", "boolean", "break", "byte", "case",
+ "assert", "abstract", "boolean", "break", "byte", "case",
"catch", "char", "class", "const", "continue",
"default", "do", "double", "else", "extends",
"false", "final", "finally", "float", "for",
@@ -1152,7 +1152,7 @@
} // mimeToJava
//avoid testing and possibly failing everytime.
- private static boolean checkForAttchmentSupport = true;
+ private static boolean checkForAttachmentSupport = true;
private static boolean attachmentSupportEnabled = false;
/**
@@ -1162,9 +1162,9 @@
*/
public static synchronized boolean isAttachmentSupported() {
- if (checkForAttchmentSupport) {
+ if (checkForAttachmentSupport) {
//aviod testing and possibly failing everytime.
- checkForAttchmentSupport = false;
+ checkForAttachmentSupport = false;
try {
// Attempt to resolve DataHandler and MimeMultipart and
// javax.xml.transform.Source, all necessary for full