Remove deprecated IntentIntegrator method

git-svn-id: https://zxing.googlecode.com/svn/trunk@2645 59b500cc-1b3d-0410-9834-0bbf25fbcc57
This commit is contained in:
srowen@gmail.com 2013-04-10 16:34:11 +00:00
parent ab1c907ad8
commit 042c690d36

View file

@ -16,7 +16,6 @@
package com.google.zxing.integration.android;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collection;
import java.util.Collections;
@ -209,18 +208,6 @@ public class IntentIntegrator {
return targetApplications;
}
/**
* @deprecated call {@link #setTargetApplications(List)}
*/
@Deprecated
public void setTargetApplications(Collection<String> targetApplications) {
List<String> list = new ArrayList<String>(targetApplications.size());
for (String app : targetApplications) {
list.add(app);
}
setTargetApplications(list);
}
public final void setTargetApplications(List<String> targetApplications) {
if (targetApplications.isEmpty()) {
throw new IllegalArgumentException("No target applications");