Update pushed.

From: Sergiy Matusevych [mailto:notifications@github.com]
Sent: Friday, May 09, 2014 9:28 PM
To: Microsoft-CISL/REEF
Cc: Julia Wang (QIUHE)
Subject: Re: [REEF] Dynamic port number assignment for the HTTP server and various small fixes (#784)


In reef-webserver/src/main/java/com/microsoft/reef/webserver/HttpServerImpl.java:

> +    private static final Logger LOG = Logger.getLogger(HttpServerImpl.class.getName());

> +

> +    /**

> +     * maximum port number range

> +     */

> +    private static final int MAX_PORT = 9999;

> +

> +    /**

> +     * minimum port number range

> +     */

> +    private static final int MIN_PORT = 1000;

> +

> +    /**

> +     * Jetty server.

> +     */

> +    private Server server;

the code snippet was only to illustrate the idea. reorder the code to assign values to the member variables only once outside of the loop (BTW, this is not nit picking, but rather a standard pattern)

—
Reply to this email directly or view it on GitHub<https://github.com/Microsoft-CISL/REEF/pull/784/files#r12502467>.