<< Back to previous view

[CONTRIB-106] variable name colision in java-utils/set-system-properties Created: 09/Mar/11  Updated: 09/Mar/11

Status: Open
Project: Clojure-Contrib
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Defect Priority: Major
Reporter: Marcin Kozey Assignee: Unassigned
Resolution: Unresolved Votes: 0
Labels: None
Environment:

1.3.0-SNAPSHOT



 Description   

(defn set-system-properties
"Set some system properties. Nil clears a property."
[settings]
(doseq [[name val] settings]
(if val
(System/setProperty (name name) (name val))
(System/clearProperty (name name)))))

Somebody did a find/replace as-str -> name and created fn/variable colision with "name"


Generated at Tue Sep 16 02:30:09 CDT 2014 using JIRA 4.4#649-r158309.