Skip to content

Commit

Permalink
code update
Browse files Browse the repository at this point in the history
slight update to respect new standards of Java
  • Loading branch information
EmmanuelADAM committed Mar 15, 2022
1 parent 027211d commit f92577b
Show file tree
Hide file tree
Showing 588 changed files with 19,164 additions and 20,682 deletions.
4 changes: 2 additions & 2 deletions src/FIPA/AgentIDHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
package FIPA;

public class AgentIDHelper {
private static org.omg.CORBA.TypeCode _tc;

// It is useless to have instances of this class
private AgentIDHelper() {
}
Expand Down Expand Up @@ -72,8 +74,6 @@ public static void insert(org.omg.CORBA.Any a, AgentID that) {
a.read_value(out.create_input_stream(), type());
}

private static org.omg.CORBA.TypeCode _tc;

synchronized public static org.omg.CORBA.TypeCode type() {
int _memberCount = 4;
org.omg.CORBA.StructMember[] _members = null;
Expand Down
4 changes: 2 additions & 2 deletions src/FIPA/AgentIDsHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
package FIPA;

public class AgentIDsHelper {
private static org.omg.CORBA.TypeCode _tc;

// It is useless to have instances of this class
private AgentIDsHelper() {
}
Expand Down Expand Up @@ -45,8 +47,6 @@ public static void insert(org.omg.CORBA.Any a, AgentID[] that) {
a.read_value(out.create_input_stream(), type());
}

private static org.omg.CORBA.TypeCode _tc;

synchronized public static org.omg.CORBA.TypeCode type() {
if (_tc == null)
_tc = org.omg.CORBA.ORB.init().create_alias_tc(id(), "AgentIDs", org.omg.CORBA.ORB.init().create_sequence_tc(0, AgentIDHelper.type()));
Expand Down
4 changes: 2 additions & 2 deletions src/FIPA/DateTimeHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
package FIPA;

public class DateTimeHelper {
private static org.omg.CORBA.TypeCode _tc;

// It is useless to have instances of this class
private DateTimeHelper() {
}
Expand Down Expand Up @@ -47,8 +49,6 @@ public static void insert(org.omg.CORBA.Any a, DateTime that) {
a.read_value(out.create_input_stream(), type());
}

private static org.omg.CORBA.TypeCode _tc;

synchronized public static org.omg.CORBA.TypeCode type() {
int _memberCount = 8;
org.omg.CORBA.StructMember[] _members = null;
Expand Down
4 changes: 2 additions & 2 deletions src/FIPA/EnvelopeHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
package FIPA;

public class EnvelopeHelper {
private static org.omg.CORBA.TypeCode _tc;

// It is useless to have instances of this class
private EnvelopeHelper() {
}
Expand Down Expand Up @@ -174,8 +176,6 @@ public static void insert(org.omg.CORBA.Any a, Envelope that) {
a.read_value(out.create_input_stream(), type());
}

private static org.omg.CORBA.TypeCode _tc;

synchronized public static org.omg.CORBA.TypeCode type() {
int _memberCount = 12;
org.omg.CORBA.StructMember[] _members = null;
Expand Down
4 changes: 2 additions & 2 deletions src/FIPA/EnvelopesHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
package FIPA;

public class EnvelopesHelper {
private static org.omg.CORBA.TypeCode _tc;

// It is useless to have instances of this class
private EnvelopesHelper() {
}
Expand Down Expand Up @@ -45,8 +47,6 @@ public static void insert(org.omg.CORBA.Any a, Envelope[] that) {
a.read_value(out.create_input_stream(), type());
}

private static org.omg.CORBA.TypeCode _tc;

synchronized public static org.omg.CORBA.TypeCode type() {
if (_tc == null)
_tc = org.omg.CORBA.ORB.init().create_alias_tc(id(), "Envelopes", org.omg.CORBA.ORB.init().create_sequence_tc(0, EnvelopeHelper.type()));
Expand Down
4 changes: 2 additions & 2 deletions src/FIPA/FipaMessageHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
package FIPA;

public class FipaMessageHelper {
private static org.omg.CORBA.TypeCode _tc;

// It is useless to have instances of this class
private FipaMessageHelper() {
}
Expand Down Expand Up @@ -53,8 +55,6 @@ public static void insert(org.omg.CORBA.Any a, FipaMessage that) {
a.read_value(out.create_input_stream(), type());
}

private static org.omg.CORBA.TypeCode _tc;

synchronized public static org.omg.CORBA.TypeCode type() {
int _memberCount = 2;
org.omg.CORBA.StructMember[] _members = null;
Expand Down
4 changes: 2 additions & 2 deletions src/FIPA/MTSHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
package FIPA;

public class MTSHelper {
private static org.omg.CORBA.TypeCode _tc;

// It is useless to have instances of this class
private MTSHelper() {
}
Expand All @@ -31,8 +33,6 @@ public static void insert(org.omg.CORBA.Any a, MTS that) {
a.read_value(out.create_input_stream(), type());
}

private static org.omg.CORBA.TypeCode _tc;

synchronized public static org.omg.CORBA.TypeCode type() {
if (_tc == null)
_tc = org.omg.CORBA.ORB.init().create_interface_tc(id(), "MTS");
Expand Down
4 changes: 2 additions & 2 deletions src/FIPA/OptAgentIDHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
package FIPA;

public class OptAgentIDHelper {
private static org.omg.CORBA.TypeCode _tc;

// It is useless to have instances of this class
private OptAgentIDHelper() {
}
Expand Down Expand Up @@ -51,8 +53,6 @@ public static void insert(org.omg.CORBA.Any a, AgentID[] that) {
a.read_value(out.create_input_stream(), type());
}

private static org.omg.CORBA.TypeCode _tc;

synchronized public static org.omg.CORBA.TypeCode type() {
if (_tc == null)
_tc = org.omg.CORBA.ORB.init().create_alias_tc(id(), "OptAgentID", org.omg.CORBA.ORB.init().create_sequence_tc((int) (1L), AgentIDHelper.type()));
Expand Down
4 changes: 2 additions & 2 deletions src/FIPA/OptDateTimeHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
package FIPA;

public class OptDateTimeHelper {
private static org.omg.CORBA.TypeCode _tc;

// It is useless to have instances of this class
private OptDateTimeHelper() {
}
Expand Down Expand Up @@ -51,8 +53,6 @@ public static void insert(org.omg.CORBA.Any a, DateTime[] that) {
a.read_value(out.create_input_stream(), type());
}

private static org.omg.CORBA.TypeCode _tc;

synchronized public static org.omg.CORBA.TypeCode type() {
if (_tc == null)
_tc = org.omg.CORBA.ORB.init().create_alias_tc(id(), "OptDateTime", org.omg.CORBA.ORB.init().create_sequence_tc((int) (1L), DateTimeHelper.type()));
Expand Down
4 changes: 2 additions & 2 deletions src/FIPA/OptReceivedObjectHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
package FIPA;

public class OptReceivedObjectHelper {
private static org.omg.CORBA.TypeCode _tc;

// It is useless to have instances of this class
private OptReceivedObjectHelper() {
}
Expand Down Expand Up @@ -51,8 +53,6 @@ public static void insert(org.omg.CORBA.Any a, ReceivedObject[] that) {
a.read_value(out.create_input_stream(), type());
}

private static org.omg.CORBA.TypeCode _tc;

synchronized public static org.omg.CORBA.TypeCode type() {
if (_tc == null)
_tc = org.omg.CORBA.ORB.init().create_alias_tc(id(), "OptReceivedObject", org.omg.CORBA.ORB.init().create_sequence_tc((int) (1L), ReceivedObjectHelper.type()));
Expand Down
4 changes: 2 additions & 2 deletions src/FIPA/OptTransportBehaviourTypeHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
package FIPA;

public class OptTransportBehaviourTypeHelper {
private static org.omg.CORBA.TypeCode _tc;

// It is useless to have instances of this class
private OptTransportBehaviourTypeHelper() {
}
Expand Down Expand Up @@ -58,8 +60,6 @@ public static void insert(org.omg.CORBA.Any a, Property[][] that) {
a.read_value(out.create_input_stream(), type());
}

private static org.omg.CORBA.TypeCode _tc;

synchronized public static org.omg.CORBA.TypeCode type() {
if (_tc == null)
_tc = org.omg.CORBA.ORB.init().create_alias_tc(id(), "OptTransportBehaviourType", org.omg.CORBA.ORB.init().create_sequence_tc((int) (1L), org.omg.CORBA.ORB.init().create_sequence_tc(0, PropertyHelper.type())));
Expand Down
4 changes: 2 additions & 2 deletions src/FIPA/PayloadHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
package FIPA;

public class PayloadHelper {
private static org.omg.CORBA.TypeCode _tc;

// It is useless to have instances of this class
private PayloadHelper() {
}
Expand Down Expand Up @@ -41,8 +43,6 @@ public static void insert(org.omg.CORBA.Any a, byte[] that) {
a.read_value(out.create_input_stream(), type());
}

private static org.omg.CORBA.TypeCode _tc;

synchronized public static org.omg.CORBA.TypeCode type() {
if (_tc == null)
_tc = org.omg.CORBA.ORB.init().create_alias_tc(id(), "Payload", org.omg.CORBA.ORB.init().create_sequence_tc(0, org.omg.CORBA.ORB.init().get_primitive_tc(org.omg.CORBA.TCKind.tk_octet)));
Expand Down
4 changes: 2 additions & 2 deletions src/FIPA/PropertyHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
package FIPA;

public class PropertyHelper {
private static org.omg.CORBA.TypeCode _tc;

// It is useless to have instances of this class
private PropertyHelper() {
}
Expand Down Expand Up @@ -35,8 +37,6 @@ public static void insert(org.omg.CORBA.Any a, Property that) {
a.read_value(out.create_input_stream(), type());
}

private static org.omg.CORBA.TypeCode _tc;

synchronized public static org.omg.CORBA.TypeCode type() {
int _memberCount = 2;
org.omg.CORBA.StructMember[] _members = null;
Expand Down
4 changes: 2 additions & 2 deletions src/FIPA/ReceivedObjectHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
package FIPA;

public class ReceivedObjectHelper {
private static org.omg.CORBA.TypeCode _tc;

// It is useless to have instances of this class
private ReceivedObjectHelper() {
}
Expand Down Expand Up @@ -41,8 +43,6 @@ public static void insert(org.omg.CORBA.Any a, ReceivedObject that) {
a.read_value(out.create_input_stream(), type());
}

private static org.omg.CORBA.TypeCode _tc;

synchronized public static org.omg.CORBA.TypeCode type() {
int _memberCount = 5;
org.omg.CORBA.StructMember[] _members = null;
Expand Down
4 changes: 2 additions & 2 deletions src/FIPA/TransportBehaviourTypeHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
package FIPA;

public class TransportBehaviourTypeHelper {
private static org.omg.CORBA.TypeCode _tc;

// It is useless to have instances of this class
private TransportBehaviourTypeHelper() {
}
Expand Down Expand Up @@ -45,8 +47,6 @@ public static void insert(org.omg.CORBA.Any a, Property[] that) {
a.read_value(out.create_input_stream(), type());
}

private static org.omg.CORBA.TypeCode _tc;

synchronized public static org.omg.CORBA.TypeCode type() {
if (_tc == null)
_tc = org.omg.CORBA.ORB.init().create_alias_tc(id(), "TransportBehaviourType", org.omg.CORBA.ORB.init().create_sequence_tc(0, PropertyHelper.type()));
Expand Down
4 changes: 2 additions & 2 deletions src/FIPA/URLHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
package FIPA;

public class URLHelper {
private static org.omg.CORBA.TypeCode _tc;

// It is useless to have instances of this class
private URLHelper() {
}
Expand All @@ -34,8 +36,6 @@ public static void insert(org.omg.CORBA.Any a, String that) {
a.read_value(out.create_input_stream(), type());
}

private static org.omg.CORBA.TypeCode _tc;

synchronized public static org.omg.CORBA.TypeCode type() {
if (_tc == null)
_tc = org.omg.CORBA.ORB.init().create_alias_tc(id(), "URL", org.omg.CORBA.ORB.init().get_primitive_tc(org.omg.CORBA.TCKind.tk_string));
Expand Down
21 changes: 10 additions & 11 deletions src/FIPA/_MTSImplBase.java
Original file line number Diff line number Diff line change
Expand Up @@ -12,27 +12,26 @@
import java.util.Hashtable;

public abstract class _MTSImplBase extends org.omg.CORBA.DynamicImplementation implements MTS {
// Constructor
public _MTSImplBase() {
super();
}

// Type strings for this class and its superclases
private static final String[] _type_ids = {
"IDL:FIPA/MTS:1.0"
};

@Deprecated
public String[] _ids() {
return _type_ids.clone();
}

private static final java.util.Dictionary<String, Integer> _methods = new Hashtable<>();

static {
_methods.put("message", 0);
}

// Constructor
public _MTSImplBase() {
super();
}

@Deprecated
public String[] _ids() {
return _type_ids.clone();
}

// DSI Dispatch call
@Deprecated
public void invoke(org.omg.CORBA.ServerRequest r) {
Expand Down
8 changes: 4 additions & 4 deletions src/FIPA/_MTSStub.java
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,15 @@ public class _MTSStub
extends org.omg.CORBA.portable.ObjectImpl
implements MTS {

private static final String[] _type_ids = {
"IDL:FIPA/MTS:1.0"
};

public _MTSStub(org.omg.CORBA.portable.Delegate d) {
super();
_set_delegate(d);
}

private static final String[] _type_ids = {
"IDL:FIPA/MTS:1.0"
};

public String[] _ids() {
return _type_ids.clone();
}
Expand Down
4 changes: 2 additions & 2 deletions src/FIPA/stringsHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
package FIPA;

public class stringsHelper {
private static org.omg.CORBA.TypeCode _tc;

// It is useless to have instances of this class
private stringsHelper() {
}
Expand Down Expand Up @@ -45,8 +47,6 @@ public static void insert(org.omg.CORBA.Any a, String[] that) {
a.read_value(out.create_input_stream(), type());
}

private static org.omg.CORBA.TypeCode _tc;

synchronized public static org.omg.CORBA.TypeCode type() {
if (_tc == null)
_tc = org.omg.CORBA.ORB.init().create_alias_tc(id(), "strings", org.omg.CORBA.ORB.init().create_sequence_tc(0, org.omg.CORBA.ORB.init().get_primitive_tc(org.omg.CORBA.TCKind.tk_string)));
Expand Down
13 changes: 6 additions & 7 deletions src/jade/Boot.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,12 @@ public class Boot {
public static final String DEFAULT_FILENAME = "leap.properties";
private static final Logger logger = Logger.getMyLogger("jade.Boot");

/**
* Default constructor.
*/
public Boot() {
}

/**
* Fires up the <b><em>JADE</em></b> system.
* This method initializes the Profile Manager and then starts the
Expand Down Expand Up @@ -105,13 +111,6 @@ public static void main(String[] args) {
}
}

/**
* Default constructor.
*/
public Boot() {
}


public static Properties parseCmdLineArgs(String[] args) throws IllegalArgumentException {
Properties props = new ExtendedProperties();

Expand Down
Loading

0 comments on commit f92577b

Please sign in to comment.