Skip to content

Commit

Permalink
got rid of reflection warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
surt666 committed Apr 4, 2012
1 parent dd686ad commit 8bc8999
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/dynamo4clj/core.clj
Expand Up @@ -59,7 +59,7 @@
(= (get value 1) "delete") (doto (AttributeValueUpdate.) (.withValue (to-attr-value (get value 0))) (.withAction AttributeAction/DELETE))
(= (get value 1) "put") (doto (AttributeValueUpdate.) (.withValue (to-attr-value (get value 0))) (.withAction AttributeAction/PUT))))

(defn item-key [hash-key]
(defn- item-key [hash-key]
"Create a Key object from a value."
(Key. (to-attr-value hash-key)))

Expand Down

0 comments on commit 8bc8999

Please sign in to comment.