Skip to content

Commit

Permalink
Merge pull request #848 from noncom/master
Browse files Browse the repository at this point in the history
make java-resource-paths file find strategy ignore folders
  • Loading branch information
laurentpetit committed Aug 31, 2015
2 parents 713702e + 4fa3023 commit 0e3f7c9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions ChangeLog.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ Laurent Petit <laurent dot petit at gmail dot com>
=== REPL
- The REPL View is now visible in all Perspectives, not only the perspective where it was opened. Fix #686

=== Issues
- The `java-resource-paths` file finding strategy was considering folders as correct results which was wrong. Fix #847

== Counterclockwise 0.34.0

Expand Down
2 changes: 1 addition & 1 deletion ccw.core/src/clj/ccw/eclipse.clj
Original file line number Diff line number Diff line change
Expand Up @@ -489,7 +489,7 @@
(-> root-path (.append path))
(-> root-path (.append package-path) (.append path)))
search (workspace-resource path)]
:when search]
:when (and search (= IResource/FILE (.getType search)))]
(.toOSString (.getLocation search)))))

(defn project-relative-path
Expand Down

0 comments on commit 0e3f7c9

Please sign in to comment.