﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
770	Wrong variable assignment in org.openstreetmap.josm.io.MyHttpHandler	krasnoj@…	framm	"Hi!

I think the function:
public MyHttpHandler(String proxy, int port) {
                proxy = proxy;
                proxyPort = port;
}

is wrong. The right code should be:
public MyHttpHandler(String proxy, int port) {
                this.proxy = proxy;
                this.proxyPort = port;
}

If you write proxy=proxy, this assignment has no effect to the class variable proxy. Instead this.proxy=proxy overwrites the class variable (instead the function argument) like it is wantet."	defect	closed	major		Core		fixed	wrong variable assignment	krasnoj@…
