src/java.desktop/share/classes/java/awt/datatransfer/MimeTypeParameterList.java
Print this page
@@ -161,19 +161,19 @@
// yup it's quoted so eat it and capture the quoted string
++currentIndex;
lastIndex = currentIndex;
if(currentIndex < length) {
- // find the next unescqped quote
+ // find the next unescaped quote
foundit = false;
while((currentIndex < length) && !foundit) {
currentChar = rawdata.charAt(currentIndex);
if(currentChar == '\\') {
// found an escape sequence so pass this and the next character
currentIndex += 2;
} else if(currentChar == '"') {
- // foundit!
+ // found it!
foundit = true;
} else {
++currentIndex;
}
}