Skip to content
Snippets Groups Projects
Commit 22151226 authored by mbrodhu's avatar mbrodhu
Browse files

delete necessarity of revision number

parent 8fdec657
No related branches found
No related tags found
No related merge requests found
......@@ -64,15 +64,15 @@ public class RecordDelivererIDIOM extends RecordDelivererAbstract {
changedId = idInDatabase.substring("textgrid:".length());
}
if (!idInDatabase.contains(".")) {
if (!idInDatabase.contains(".0")) {
changedId = changedId.substring(0,changedId.length() - 1) + "0";
//changedId = changedId + ".0";
if(changedId.contains(".1")) {
changedId = changedId.replace(".1", "");
}
}
if(changedId.contains(".1")) {
changedId = changedId.replace(".1", "");
}
System.out.println("id in elasticsearch is: " + changedId);
......
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