Skip to content
Snippets Groups Projects

old import code

Merged Piotr Gawron requested to merge duplicates-removal into master
1 file
+ 8
0
Compare changes
  • Side-by-side
  • Inline
@@ -107,6 +107,14 @@ public class RedcapCalendarParser {
@@ -107,6 +107,14 @@ public class RedcapCalendarParser {
query = query.substring(index);
query = query.substring(index);
if (query.startsWith("_lev a_")) {
if (query.startsWith("_lev a_")) {
collection = AppointmentTypeCollection.LEVEL_A;
collection = AppointmentTypeCollection.LEVEL_A;
 
} else {
 
index = query.indexOf("_", 1);
 
if (index >= 0) {
 
query = query.substring(index);
 
if (query.startsWith("_lev a_")) {
 
collection = AppointmentTypeCollection.LEVEL_A;
 
}
 
}
}
}
}
}
if (collection == null) {
if (collection == null) {
Loading