Skip to content

Commit

Permalink
Fix GroupAgentGenerator #113
Browse files Browse the repository at this point in the history
  • Loading branch information
pdolif committed Sep 25, 2021
1 parent 0c48c3e commit 9ba5d28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/main/java/i5/las2peer/tools/GroupAgentGenerator.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public class GroupAgentGenerator {
* @throws CryptoException
* @throws SerializationException
*/
public static void main(String[] argv, String groupName)
public static void main(String[] argv)
throws MalformedXMLException, IOException, AgentException, CryptoException, SerializationException {
if (argv.length == 0 || argv[0].equals("-?")) {
System.out.println("Just give a liste with xml files of the agents, you want to aggregate in a group");
Expand All @@ -41,7 +41,7 @@ public static void main(String[] argv, String groupName)
agents.add(a);
}

GroupAgentImpl result = GroupAgentImpl.createGroupAgent(agents.toArray(new AgentImpl[0]), groupName);
GroupAgentImpl result = GroupAgentImpl.createGroupAgent(agents.toArray(new AgentImpl[0]));

System.out.println(result.toXmlString());
}
Expand Down

0 comments on commit 9ba5d28

Please sign in to comment.