Skip to content

Commit 393f91f

Browse files
dpsuttonbbatsov
authored andcommitted
Rename javadoc-base-urls and add changelog
1 parent eab042f commit 393f91f

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
### Bugs fixed
88

99
* [#83](https://github.com/clojure-emacs/orchard/pull/83): Ignore non file URLs when checking for directory or file extensions.
10+
* [#84](https://github.com/clojure-emacs/orchard/pull/84): Fix javadoc urls
1011

1112
## 0.5.6 (2020-02-14)
1213

src/orchard/java.clj

+3-3
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@
345345
(first ms)
346346
{:candidates (zipmap (map :class ms) ms)})))))
347347

348-
(def backported-javadoc-bases
348+
(def javadoc-base-urls
349349
"Copied from clojure.java.javadoc. These are the base urls for
350350
javadocs from `clojure.java.javadoc/*core-java-api*`. It is here for
351351
two reasons:
@@ -373,8 +373,8 @@
373373
;; 8. clojure 1.10.1 doesn't have 13. We just backport them
374374
;; regardless of clojure version
375375
(zipmap ["java." "javax." "org.ietf.jgss." "org.omg." "org.w3c.dom." "org.xml.sax"]
376-
(repeat (or (backported-javadoc-bases misc/java-api-version)
377-
(backported-javadoc-bases 11))))))
376+
(repeat (or (javadoc-base-urls misc/java-api-version)
377+
(javadoc-base-urls 11))))))
378378
path))
379379

380380
;;; ## Initialization

0 commit comments

Comments
 (0)