Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 8d498b0f authored by Jérôme Euzenat's avatar Jérôme Euzenat
Browse files

- restored indented presentation for XML format

parent 316a2219
No related branches found
No related tags found
No related merge requests found
...@@ -1259,8 +1259,8 @@ public class AServProtocolManager implements Service { ...@@ -1259,8 +1259,8 @@ public class AServProtocolManager implements Service {
} }
BasicOntologyNetwork newnoo = (BasicOntologyNetwork)noo; BasicOntologyNetwork newnoo = (BasicOntologyNetwork)noo;
newnoo.setIndentString( "" ); newnoo.setIndentString( " " );
newnoo.setNewLineString( "" ); newnoo.setNewLineString( System.getProperty("line.separator") );
// Print it in a string // Print it in a string
ByteArrayOutputStream result = new ByteArrayOutputStream(); ByteArrayOutputStream result = new ByteArrayOutputStream();
PrintWriter writer = null; PrintWriter writer = null;
...@@ -1377,7 +1377,9 @@ public class AServProtocolManager implements Service { ...@@ -1377,7 +1377,9 @@ public class AServProtocolManager implements Service {
} }
public List<Message> alignonet( Properties params ) { public List<Message> alignonet( Properties params ) {
List<Message> result = new ArrayList<>(); List<Message> result = new ArrayList<>();
//not finished //not finished
//parameters: onID, method, reflexive, symmetric //parameters: onID, method, reflexive, symmetric
...@@ -1411,7 +1413,7 @@ public class AServProtocolManager implements Service { ...@@ -1411,7 +1413,7 @@ public class AServProtocolManager implements Service {
} }
} }
return result; return result;
} }
// TO VERIFY // TO VERIFY
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment