Bug 106386 Correct misspellings in source code

patch by unknown@simplemachines.org r=timeless rs=brendan
This commit is contained in:
timeless%mozdev.org 2005-11-25 08:31:42 +00:00
Родитель db820cf720
Коммит 7b73782dc2
6 изменённых файлов: 16 добавлений и 16 удалений

Просмотреть файл

@ -100,7 +100,7 @@ java.lang.Object
<TR BGCOLOR="white" ID="TableRowColor">
<TD><CODE><B><A HREF="../../grendel/dnd/DragSourceDropEvent.html#DragSourceDropEvent(java.lang.Object, boolean, boolean)">DragSourceDropEvent</A></B>(java.lang.Object&nbsp;aSource,
boolean&nbsp;cancelled,
boolean&nbsp;sucessful)</CODE>
boolean&nbsp;successful)</CODE>
<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
@ -181,7 +181,7 @@ DragSourceDropEvent</H3>
<PRE>
public <B>DragSourceDropEvent</B>(java.lang.Object&nbsp;aSource,
boolean&nbsp;cancelled,
boolean&nbsp;sucessful)</PRE>
boolean&nbsp;successful)</PRE>
<DL>
</DL>

Просмотреть файл

@ -639,9 +639,9 @@ java.lang.String <B>ADDRESS_QUOTES</B></PRE>
<HR>
<H3>
ADDRESS_SEPERATORS</H3>
ADDRESS_SEPARATORS</H3>
<PRE>
java.lang.String <B>ADDRESS_SEPERATORS</B></PRE>
java.lang.String <B>ADDRESS_SEPARATORS</B></PRE>
<DL>
</DL>
<HR>
@ -1114,9 +1114,9 @@ boolean <B>fCancelled</B></PRE>
<HR>
<H3>
fSucessful</H3>
fSuccessful</H3>
<PRE>
boolean <B>fSucessful</B></PRE>
boolean <B>fSuccessful</B></PRE>
<DL>
</DL>

Просмотреть файл

@ -552,7 +552,7 @@ public class AddressList extends JScrollPane implements Serializable {
public class AddressTextField extends JTextField implements FocusListener {
// public class AddressTextField extends ATC_Field implements FocusListener {
private final String ADDRESS_SEPERATORS = ",";
private final String ADDRESS_SEPARATORS = ",";
private final String ADDRESS_QUOTES = "\"";
private DeliveryButton mDeliveryButton;
@ -615,7 +615,7 @@ public class AddressList extends JScrollPane implements Serializable {
private void evaluate() {
String [] tokens = parseLine (getText());
//we've lost focus and they type nothing or a bunch of ADDRESS_SEPERATORS on this line.
//we've lost focus and they type nothing or a bunch of ADDRESS_SEPARATORS on this line.
if (tokens.length == 0) {
setText ("");
}
@ -641,7 +641,7 @@ public class AddressList extends JScrollPane implements Serializable {
* Parses up the string.
* @param aString The String to parse.
* @return returns an array of strings.
* @see ADDRESS_SEPERATORS
* @see ADDRESS_SEPARATORS
* @see ADDRESS_QUOTES
*/
private String[] parseLine (String aString) {
@ -673,8 +673,8 @@ public class AddressList extends JScrollPane implements Serializable {
}
}
//is this a seperator character?
else if (-1 != ADDRESS_SEPERATORS.indexOf(aString.charAt(head))) {
//is this a separator character?
else if (-1 != ADDRESS_SEPARATORS.indexOf(aString.charAt(head))) {
//if not in a quote and not
if (!quoted) {

Просмотреть файл

@ -121,7 +121,7 @@ public class NSTabbedPane extends JTabbedPane {
int widest = 0;
int tallest = 0;
//return the component with the largst preferred size.
//return the component with the largest preferred size.
Component[] comps = container.getComponents();
for (int i = 0; i < comps.length; i++) {
Dimension dim = comps[i].getPreferredSize();

Просмотреть файл

@ -27,10 +27,10 @@ package grendel.dnd;
public class DragSourceDropEvent
extends java.util.EventObject {
boolean fCancelled;
boolean fSucessful;
boolean fSuccessful;
public DragSourceDropEvent(Object aSource, boolean cancelled,
boolean sucessful) {
boolean successful) {
super(aSource);
fSucessful = sucessful;
fCancelled = cancelled;
@ -41,6 +41,6 @@ public class DragSourceDropEvent
}
public boolean isDropSuccessful() {
return fSucessful;
return fSuccessful;
}
}

Просмотреть файл

@ -285,7 +285,7 @@ your mailbox (because nobody would have known to remove or recalculate
it), and it would possibly be incorrect. (Presume further that the
header was not just incorrect, but intentionally malicious...)
Stricter parsing of the "From " seperator line doesn't help either,
Stricter parsing of the "From " separator line doesn't help either,
because there are many, many variations on what goes in that line
(since it was never standardized either); and also, some mail readers
include that line verbatim when forwarding messages (Sun's MailTool,