Skip to content

Commit

Permalink
Fix javadoc
Browse files Browse the repository at this point in the history
Closes: #1635
  • Loading branch information
matthiasblaesing committed Dec 4, 2024
1 parent 9e1e377 commit 3fb2f87
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
7 changes: 2 additions & 5 deletions build.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1305,10 +1305,8 @@ cd ..
<path refid="compile.path"/>
<pathelement location="${classes}"/>
</path>
<property name="header"
value="&lt;b&gt;JNA API&lt;/&gt;&lt;font size=&quot;-1&quot;&gt; ${jna.version}&lt;/font&gt;"/>
<property name="footer"
value="&lt;center&gt;&lt;i&gt;${copyright}&lt;/i&gt;&lt;/center&gt;"/>
<property name="header" value="JNA API - ${jna.version}"/>
<property name="footer" value="${copyright}"/>

<mkdir dir="${javadoc}"/>
<condition property="javadoc.opts" value="-Xdoclint:none" else="">
Expand All @@ -1328,7 +1326,6 @@ cd ..
<doctitle>JNA API Documentation</doctitle>
<header>${header}</header>
<bottom>${footer}</bottom>
<link href="http://download.oracle.com/javase/${javac.release}/docs/api/"/>

<packageset dir="${src}" defaultexcludes="yes">
<patternset>
Expand Down
5 changes: 2 additions & 3 deletions common.xml
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="JNA-Common" default="default" basedir=".">
<property name="name" value="jna"/>
<property name="year" value="2018"/>
<property name="copyright"
value="Copyright &amp;copy; 2007-${year} Timothy Wall. All Rights Reserved."/>
<property name="year" value="2024"/>
<property name="copyright" value="Copyright &amp;copy; 2007-${year} Timothy Wall. All Rights Reserved."/>
<property name="vendor" value="JNA Development Team"/>
<buildnumber/>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -272,10 +272,10 @@ public Kstat2NV mapGet(String name) {
* {@link Kstat2Map} is returned.
* <p>
* If the value is of type {@link Kstat2#KSTAT2_NVVT_INT}, a
* {@link long} is returned.
* {@code long} is returned.
* <p>
* If the value is of type {@link Kstat2#KSTAT2_NVVT_INTS}, an array of
* {@link long} is returned.
* {@code long} is returned.
* <p>
* If the value is of type {@link Kstat2#KSTAT2_NVVT_STR}, a
* {@link String} is returned.
Expand Down

0 comments on commit 3fb2f87

Please sign in to comment.