"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "android/src/com/google/zxing/client/android/HttpHelper.java" between
zxing-zxing-3.4.1.tar.gz and zxing-zxing-3.5.0.tar.gz

About: ZXing ("zebra crossing") is a multi-format 1D/2D barcode image processing library implemented in Java, with ports to other languages. Info: Project is in maintenance mode (no active development).

HttpHelper.java  (zxing-zxing-3.4.1):HttpHelper.java  (zxing-zxing-3.5.0)
skipping to change at line 38 skipping to change at line 38
import java.util.Collection; import java.util.Collection;
import java.util.HashSet; import java.util.HashSet;
/** /**
* Utility methods for retrieving content over HTTP using the more-supported {@c ode java.net} classes * Utility methods for retrieving content over HTTP using the more-supported {@c ode java.net} classes
* in Android. * in Android.
*/ */
public final class HttpHelper { public final class HttpHelper {
private static final Collection<String> REDIRECTOR_DOMAINS = new HashSet<>(Arr ays.asList( private static final Collection<String> REDIRECTOR_DOMAINS = new HashSet<>(Arr ays.asList(
"amzn.to", "bit.ly", "bitly.com", "fb.me", "goo.gl", "is.gd", "j.mp", "lnkd. "amzn.to", "bit.ly", "bitly.com", "fb.me", "goo.gl", "is.gd", "j.mp", "lnk
in", "ow.ly", d.in", "ow.ly",
"R.BEETAGG.COM", "r.beetagg.com", "SCN.BY", "su.pr", "t.co", "tinyurl.com", "R.BEETAGG.COM", "r.beetagg.com", "SCN.BY", "su.pr", "t.co", "tinyurl.com"
"tr.im" , "tr.im"
)); ));
private HttpHelper() { private HttpHelper() {
} }
/** /**
* Enumeration of supported HTTP content types * Enumeration of supported HTTP content types
*/ */
public enum ContentType { public enum ContentType {
/** HTML-like content type, including HTML, XHTML, etc. */ /** HTML-like content type, including HTML, XHTML, etc. */
 End of changes. 1 change blocks. 
4 lines changed or deleted 4 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)