This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Hi,
Two small cleanups from GNU Classpath that were missed earlier.
2004-11-07 Michael Koch <konqueror@gmx.de>
* java/lang/Process.java:
Import cleanups.
2004-11-07 Jeroen Frijters <jeroen@frijters.net>
* java/util/zip/ZipEntry.java
(KNOWN_SIZE, KNOWN_CSIZE, KNOWN_CRC, KNOWN_TIME): Made final.
Committed,
Mark
Index: java/lang/Process.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/lang/Process.java,v
retrieving revision 1.7
diff -u -r1.7 Process.java
--- java/lang/Process.java 19 Mar 2003 12:15:04 -0000 1.7
+++ java/lang/Process.java 7 Nov 2004 13:03:11 -0000
@@ -1,5 +1,6 @@
/* Process.java - Represent spawned system process
- Copyright (C) 1998, 1999, 2001, 2002, 2003 Free Software Foundation, Inc.
+ Copyright (C) 1998, 1999, 2001, 2002, 2003, 2004
+ Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -38,8 +39,8 @@
package java.lang;
-import java.io.OutputStream;
import java.io.InputStream;
+import java.io.OutputStream;
/**
* An instance of a subclass of <code>Process</code> is created by the
Index: java/util/zip/ZipEntry.java
===================================================================
RCS file: /cvs/gcc/gcc/libjava/java/util/zip/ZipEntry.java,v
retrieving revision 1.21
diff -u -r1.21 ZipEntry.java
--- java/util/zip/ZipEntry.java 6 Nov 2004 16:32:56 -0000 1.21
+++ java/util/zip/ZipEntry.java 7 Nov 2004 13:03:11 -0000
@@ -51,10 +51,10 @@
*/
public class ZipEntry implements ZipConstants, Cloneable
{
- private static int KNOWN_SIZE = 1;
- private static int KNOWN_CSIZE = 2;
- private static int KNOWN_CRC = 4;
- private static int KNOWN_TIME = 8;
+ private static final int KNOWN_SIZE = 1;
+ private static final int KNOWN_CSIZE = 2;
+ private static final int KNOWN_CRC = 4;
+ private static final int KNOWN_TIME = 8;
private static Calendar cal;
Attachment:
signature.asc
Description: This is a digitally signed message part
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |