Format.java: Cleaned up imports.

2004-05-05  Tom Tromey  <tromey@redhat.com>

	* java/text/Format.java: Cleaned up imports.
	* java/text/DecimalFormat.java: Cleaned up imports.
	* java/security/SecureRandom.java: Cleaned up imports.
	(SecureRandom): Removed unused variable.
	* java/security/UnresolvedPermission.java: Cleaned up imports.
	* java/util/Date.java (parse): Removed unused variable.
	* java/util/ResourceBundle.java: Cleaned up imports.
	(getBundle): Removed unused variable.
	(tryBundle): Likewise.
	* java/util/regex/Pattern.java (Pattern): Removed unused constructor.

From-SVN: r81503
This commit is contained in:
Tom Tromey 2004-05-05 06:52:56 +00:00 committed by Michael Koch
parent b335a54914
commit d70bd7fff0
7 changed files with 17 additions and 21 deletions

View file

@ -460,7 +460,6 @@ public class Date implements Cloneable, Comparable, java.io.Serializable
int curYear = 1900 + new Date().getYear();
int firstYear = curYear - 80;
year = firstYear / 100 * 100 + num;
int yx = year;
if (year < firstYear)
year += 100;
}