Patch from Edwin Woudt to start transition to Java 2 as well as
language sanity. git-svn-id: svn://10.0.0.236/trunk@19959 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
93491aafd4
commit
e50f5c55aa
@ -163,7 +163,7 @@ public final class ByteBuf {
|
||||
if (count < newLength) {
|
||||
ensureCapacity(newLength);
|
||||
for (; count < newLength; count++) {
|
||||
value[count] = '\0';
|
||||
value[count] = (byte)'\0';
|
||||
}
|
||||
}
|
||||
count = newLength;
|
||||
|
||||
@ -31,7 +31,7 @@ class AddressDialog extends Dialog implements ActionListener {
|
||||
private final int BUTTON_WIDTH = 100;
|
||||
private final int BUTTON_HEIGHT = 28;
|
||||
|
||||
private List mSendToList; //ListBox gadget that holds recipients names.
|
||||
private java.awt.List mSendToList; //ListBox gadget that holds recipients names.
|
||||
private JTable mTable; //Tbale displays the address book entries.
|
||||
private Vector mAddresses; //a parallel list of recipients with mSendToList.
|
||||
private boolean wasCanceled = true; //true if Cancel button was used to dismiss dialog.
|
||||
|
||||
@ -98,7 +98,7 @@ public class FilterRulesParser extends Object {
|
||||
|
||||
// Instance classes
|
||||
private class StringToken extends Token {
|
||||
private String fString;
|
||||
String fString;
|
||||
StringToken(String s) {
|
||||
fString = s;
|
||||
}
|
||||
|
||||
@ -170,7 +170,7 @@ public final class MimeBase64Decoder extends MimeEncoder {
|
||||
public final void eof(ByteBuf out) {
|
||||
if (token != null && token_length != 0) {
|
||||
while (token_length < 4)
|
||||
token[token_length++] = '=';
|
||||
token[token_length++] = (byte)'=';
|
||||
decode_final_token(out);
|
||||
}
|
||||
token_length = 0;
|
||||
|
||||
@ -51,7 +51,7 @@ import java.lang.reflect.Constructor;
|
||||
import java.lang.reflect.InvocationTargetException;
|
||||
|
||||
|
||||
public synchronized class StoreFactory {
|
||||
public class StoreFactory {
|
||||
static StoreFactory fInstance = null;
|
||||
|
||||
Session fSession = null;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user