FilePermission.java: Made class final per spec.

* java/io/FilePermission.java: Made class final per spec.
	* java/text/DecimalFormatSymbols.java (setCurrencySymbol): Changed
	method name to match spec (fixed typo).
	* java/util/LinkedList.java: Implements List.

From-SVN: r37993
This commit is contained in:
Warren Levy 2000-12-04 10:20:00 +00:00 committed by Warren Levy
parent 98d9a8e66c
commit 21a160075e
4 changed files with 11 additions and 4 deletions

View File

@ -1,3 +1,10 @@
2000-12-04 Warren Levy <warrenl@redhat.com>
* java/io/FilePermission.java: Made class final per spec.
* java/text/DecimalFormatSymbols.java (setCurrencySymbol): Changed
method name to match spec (fixed typo).
* java/util/LinkedList.java: Implements List.
2000-12-04 Bryce McKinlay <bryce@albatross.co.nz>
* java/lang/natDouble.cc: Include fdlibm.h, not mprec.h. From

View File

@ -1,5 +1,5 @@
/* java.lang.FilePermission
Copyright (C) 1998 Free Software Foundation, Inc.
Copyright (C) 1998, 2000 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@ -30,7 +30,7 @@ package java.io;
import java.security.*;
public class FilePermission extends Permission implements Serializable {
public final class FilePermission extends Permission implements Serializable {
private static final String CURRENT_DIRECTORY = System.getProperty("user.dir");
private boolean usingPerms = false;
private boolean readPerm = false;

View File

@ -226,7 +226,7 @@ public final class DecimalFormatSymbols implements Cloneable, Serializable
return zeroDigit << 16 + groupingSeparator << 8 + decimalSeparator;
}
public void setCurrenySymbol (String currency)
public void setCurrencySymbol (String currency)
{
currencySymbol = currency;
}

View File

@ -41,7 +41,7 @@ import java.lang.reflect.Array;
* Linked list implementation of the List interface.
*/
public class LinkedList extends AbstractSequentialList
implements Serializable, Cloneable
implements List, Cloneable, Serializable
{
static final long serialVersionUID = 876323262645176354L;