Commit 6233cbbc by Michael Koch Committed by Michael Koch

ProtocolConstants.java, DER.java: Removing redundant modifiers.

2003-10-11  Michael Koch  <konqueror@gmx.de>

	* gnu/java/rmi/server/ProtocolConstants.java,
	gnu/java/security/der/DER.java:
	Removing redundant modifiers.

From-SVN: r72359
parent 9440ae0c
2003-10-11 Michael Koch <konqueror@gmx.de> 2003-10-11 Michael Koch <konqueror@gmx.de>
* gnu/java/rmi/server/ProtocolConstants.java,
gnu/java/security/der/DER.java:
Removing redundant modifiers.
2003-10-11 Michael Koch <konqueror@gmx.de>
* java/util/Map.java, * java/util/Map.java,
java/util/Observer.java, java/util/Observer.java,
java/util/zip/Checksum.java, java/util/zip/Checksum.java,
......
...@@ -37,27 +37,26 @@ exception statement from your version. */ ...@@ -37,27 +37,26 @@ exception statement from your version. */
package gnu.java.rmi.server; package gnu.java.rmi.server;
public interface ProtocolConstants { public interface ProtocolConstants
{
int PROTOCOL_HEADER = 0x4a524d49; // JRMI
int PROTOCOL_VERSION = 2;
final public static int PROTOCOL_HEADER = 0x4a524d49; // JRMI int STREAM_PROTOCOL = 0x4b;
final public static int PROTOCOL_VERSION = 2; int SINGLE_OP_PROTOCOL = 0x4c;
int MULTIPLEX_PROTOCOL = 0x4d;
final public static int STREAM_PROTOCOL = 0x4b; int PROTOCOL_ACK = 0x4e;
final public static int SINGLE_OP_PROTOCOL = 0x4c; int PROTOCOL_NACK = 0x4f;
final public static int MULTIPLEX_PROTOCOL = 0x4d;
final public static int PROTOCOL_ACK = 0x4e; int MESSAGE_CALL = 0x50;
final public static int PROTOCOL_NACK = 0x4f; int MESSAGE_CALL_ACK = 0x51;
int MESSAGE_PING = 0x52;
int MESSAGE_PING_ACK = 0x53;
int MESSAGE_DGCACK = 0x54;
final public static int MESSAGE_CALL = 0x50; int RETURN_ACK = 0x01;
final public static int MESSAGE_CALL_ACK = 0x51; int RETURN_NACK = 0x02;
final public static int MESSAGE_PING = 0x52;
final public static int MESSAGE_PING_ACK = 0x53;
final public static int MESSAGE_DGCACK = 0x54;
final public static int RETURN_ACK = 0x01; int DEFAULT_PROTOCOL = STREAM_PROTOCOL;
final public static int RETURN_NACK = 0x02; }
final public static int DEFAULT_PROTOCOL = STREAM_PROTOCOL;
};
...@@ -45,46 +45,42 @@ package gnu.java.security.der; ...@@ -45,46 +45,42 @@ package gnu.java.security.der;
*/ */
public interface DER public interface DER
{ {
int UNIVERSAL = 0x00;
// Constants. int APPLICATION = 0x40;
// ------------------------------------------------------------------------ int CONTEXT = 0x80;
int PRIVATE = 0xC0;
public static final int UNIVERSAL = 0x00;
public static final int APPLICATION = 0x40; int CONSTRUCTED = 0x20;
public static final int CONTEXT = 0x80;
public static final int PRIVATE = 0xC0; int ANY = 0x00;
int BOOLEAN = 0x01;
public static final int CONSTRUCTED = 0x20; int INTEGER = 0x02;
int BIT_STRING = 0x03;
public static final int ANY = 0x00; int OCTET_STRING = 0x04;
public static final int BOOLEAN = 0x01; int NULL = 0x05;
public static final int INTEGER = 0x02; int OBJECT_IDENTIFIER = 0x06;
public static final int BIT_STRING = 0x03; int REAL = 0x09;
public static final int OCTET_STRING = 0x04; int ENUMERATED = 0x0a;
public static final int NULL = 0x05; int RELATIVE_OID = 0x0d;
public static final int OBJECT_IDENTIFIER = 0x06;
public static final int REAL = 0x09; int SEQUENCE = 0x10;
public static final int ENUMERATED = 0x0a; int SET = 0x11;
public static final int RELATIVE_OID = 0x0d;
Object CONSTRUCTED_VALUE = new Object();
public static final int SEQUENCE = 0x10;
public static final int SET = 0x11; int NUMERIC_STRING = 0x12;
int PRINTABLE_STRING = 0x13;
public static final Object CONSTRUCTED_VALUE = new Object(); int T61_STRING = 0x14;
int VIDEOTEX_STRING = 0x15;
public static final int NUMERIC_STRING = 0x12; int IA5_STRING = 0x16;
public static final int PRINTABLE_STRING = 0x13; int GRAPHIC_STRING = 0x19;
public static final int T61_STRING = 0x14; int ISO646_STRING = 0x1A;
public static final int VIDEOTEX_STRING = 0x15; int GENERAL_STRING = 0x1B;
public static final int IA5_STRING = 0x16;
public static final int GRAPHIC_STRING = 0x19; int UTF8_STRING = 0x0C;
public static final int ISO646_STRING = 0x1A; int UNIVERSAL_STRING = 0x1C;
public static final int GENERAL_STRING = 0x1B; int BMP_STRING = 0x1E;
public static final int UTF8_STRING = 0x0C; int UTC_TIME = 0x17;
public static final int UNIVERSAL_STRING = 0x1C; int GENERALIZED_TIME = 0x18;
public static final int BMP_STRING = 0x1E;
public static final int UTC_TIME = 0x17;
public static final int GENERALIZED_TIME = 0x18;
} }
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