From ec7c525c9d50495c6ed1f797c53704745dfeb784 Mon Sep 17 00:00:00 2001 From: Noah Levitt Date: Fri, 7 Sep 2012 23:19:52 -0700 Subject: [PATCH] use Integer instead of int because null is allowed --- .../src/main/java/org/archive/modules/fetcher/FetchHTTP2.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/src/main/java/org/archive/modules/fetcher/FetchHTTP2.java b/modules/src/main/java/org/archive/modules/fetcher/FetchHTTP2.java index 2e44d811..fdb4e161 100644 --- a/modules/src/main/java/org/archive/modules/fetcher/FetchHTTP2.java +++ b/modules/src/main/java/org/archive/modules/fetcher/FetchHTTP2.java @@ -320,7 +320,7 @@ public class FetchHTTP2 extends AbstractFetchHTTP implements Lifecycle { kp.put("httpProxyHost",host); } - public int getHttpProxyPort() { + public Integer getHttpProxyPort() { return (Integer) kp.get("httpProxyPort"); } /**