jss: explicitly scope TO-HASHSET

parent 60916a1f
......@@ -206,6 +206,6 @@ iterators or a Java array."
(defun to-hashset (list)
"Convert LIST to the java.util.HashSet contract"
(let ((set (new 'hashset)))
(let ((set (new 'java.util.hashset)))
(loop for l in list do (#"add" set l))
set))
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment