Pica: Avoid empty copies
@@ -632,7 +632,9 @@ public abstract class Pica extends BaseApi implements OpacApi {
}
} else {
copy.setBranch(location);
+ if (copy.notEmpty()) {
result.addCopy(copy);
+ }
location = "";
copy = new Copy();
}
