Mentions légales du service

Skip to content
Snippets Groups Projects
Commit bd486001 authored by Cássia Trojahn dos Santos's avatar Cássia Trojahn dos Santos
Browse files

No commit message

No commit message
parent 2874a005
No related branches found
No related tags found
No related merge requests found
......@@ -168,6 +168,12 @@ public class MyAlignmentWS extends MyAlignment implements AlignmentWS {
@Override
public String align(URI source, URI target) {
try {
for (Object c: this.getArrayElements().toArray()) {
this.remCell((Cell)c);
}
init(source,target);
align((Alignment)null, new Properties());
SBWriter sbWriter = null;
......@@ -189,11 +195,14 @@ public class MyAlignmentWS extends MyAlignment implements AlignmentWS {
}
</div>
<p><font color="red"> Note that we have added a loop for removing the cells in the URIAlignment object (lines before the method <tt>init(source,target))</tt>.
This is due the fact that the method <tt>align</tt> will be called several times
in a web service cycle life (for each test). If we do not remove the cells computed in a previous call, the previous cells will be included in the current result. </font></p>
<p> Nothing more is needed. </p>
<p> You can download <a href="SBWriter.java">SBWriter.java</a>.</p>
<h2>Publishing the web service</h2>
<p>In order to be available for external access, the web service must
......
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