Permalink
Browse files

Merge pull request #18 from huangz1990/master

Remove duplicated protocol definition in clojurewerkz.neocons.rest.paths
  • Loading branch information...
2 parents 10c48ee + 58d813a commit 878f7b20c89e7993a826a76c151a774eabe372b4 Michael Klishin committed Nov 29, 2012
Showing with 0 additions and 7 deletions.
  1. +0 −7 src/clojure/clojurewerkz/neocons/rest/paths.clj
@@ -87,13 +87,6 @@
(relationship-in? [rel path] "Returns true if path includes given relationship"))
-(defprotocol PathPredicates
- (included-in? [node path] "Returns true if path includes given node")
- (included-in? [rel path] "Returns true if path includes given relationship")
- (node-in? [node path] "Returns true if path includes given node")
- (relationship-in? [rel path] "Returns true if path includes given relationship"))
-
-
(extend-protocol PathPredicates
Long
(node-in? [^long node ^Path path]

0 comments on commit 878f7b2

Please sign in to comment.