From 98e041c461538d19883aa4a9a187c3da98d4ac03 Mon Sep 17 00:00:00 2001 From: tkellner Date: Wed, 10 Apr 2013 19:13:00 +0000 Subject: accept proxy port 65535 git-svn-id: https://joinup.ec.europa.eu/svn/pdf-over/trunk@200 174cde9d-5d70-4d2a-aa98-46368bc2aaf7 --- .../java/at/asit/pdfover/gui/workflow/ConfigurationContainerImpl.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/ConfigurationContainerImpl.java b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/ConfigurationContainerImpl.java index ef7a8450..de6ef608 100644 --- a/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/ConfigurationContainerImpl.java +++ b/pdf-over-gui/src/main/java/at/asit/pdfover/gui/workflow/ConfigurationContainerImpl.java @@ -174,7 +174,7 @@ public class ConfigurationContainerImpl implements ConfigurationContainer { */ @Override public void setProxyPort(int port) throws InvalidPortException { - if(port > 0 && port < 0xFFFF) { + if(port > 0 && port <= 0xFFFF) { this.proxyPort = port; return; } -- cgit v1.2.3