Skip to content

Commit

Permalink
Merge pull request #115 from rwth-acis/fix-113
Browse files Browse the repository at this point in the history
Fix GroupAgentGenerator #113
  • Loading branch information
pdolif authored Oct 11, 2021
2 parents 96cef9c + 9ba5d28 commit 99c11db
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 99c11db

Please sign in to comment.