Commit 21a16007 by Warren Levy Committed by Warren Levy

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
parent 98d9a8e6
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> 2000-12-04 Bryce McKinlay <bryce@albatross.co.nz>
* java/lang/natDouble.cc: Include fdlibm.h, not mprec.h. From * java/lang/natDouble.cc: Include fdlibm.h, not mprec.h. From
......
/* java.lang.FilePermission /* 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. This file is part of GNU Classpath.
...@@ -30,7 +30,7 @@ package java.io; ...@@ -30,7 +30,7 @@ package java.io;
import java.security.*; 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 static final String CURRENT_DIRECTORY = System.getProperty("user.dir");
private boolean usingPerms = false; private boolean usingPerms = false;
private boolean readPerm = false; private boolean readPerm = false;
......
...@@ -226,7 +226,7 @@ public final class DecimalFormatSymbols implements Cloneable, Serializable ...@@ -226,7 +226,7 @@ public final class DecimalFormatSymbols implements Cloneable, Serializable
return zeroDigit << 16 + groupingSeparator << 8 + decimalSeparator; return zeroDigit << 16 + groupingSeparator << 8 + decimalSeparator;
} }
public void setCurrenySymbol (String currency) public void setCurrencySymbol (String currency)
{ {
currencySymbol = currency; currencySymbol = currency;
} }
......
...@@ -41,7 +41,7 @@ import java.lang.reflect.Array; ...@@ -41,7 +41,7 @@ import java.lang.reflect.Array;
* Linked list implementation of the List interface. * Linked list implementation of the List interface.
*/ */
public class LinkedList extends AbstractSequentialList public class LinkedList extends AbstractSequentialList
implements Serializable, Cloneable implements List, Cloneable, Serializable
{ {
static final long serialVersionUID = 876323262645176354L; static final long serialVersionUID = 876323262645176354L;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment