Skip to content

Commit 797baef

Browse files
author
Matthias Fuchs
committed
javadoc fixes
1 parent 332771a commit 797baef

File tree

6 files changed

+12
-7
lines changed

6 files changed

+12
-7
lines changed

pom.xml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@
3939
</profiles>
4040

4141
<properties>
42+
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
4243
<maven.compiler.target>11</maven.compiler.target>
4344
<maven.compiler.source>11</maven.compiler.source>
4445
<xcodeScheme>Debug</xcodeScheme>
@@ -219,11 +220,15 @@
219220
<configuration>
220221
<failOnError>false</failOnError>
221222
<!-- <additionalparam>-Xdoclint:none</additionalparam> -->
222-
<additionalOptions>--allow-script-in-comments</additionalOptions>
223+
<additionalOptions>--allow-script-in-comments </additionalOptions>
224+
<useStandardDocletOptions>false</useStandardDocletOptions>
225+
223226
<quiet>true</quiet>
224227
<!-- does not work with revision property! -->
225228
<ignoreClirr>true</ignoreClirr>
226229

230+
<detectLinks>false</detectLinks>
231+
<detectOfflineLinks>false</detectOfflineLinks>
227232
<doclint>all,-html,-syntax</doclint>
228233
<version>false</version>
229234
<nosince>true</nosince>

src/main/java/ca/weblite/objc/NSObject.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
* <p>The parent object is used as a sort of superclass so that messages that aren't
3333
* explicitly handled by the Java class can be handled by the superclass.</p>
3434
*
35-
* <h3>Simple Example</h3>
35+
* <h2>Simple Example</h2>
3636
*
3737
* <p>The following example shows a subclass of NSObject that is used as a delegate
3838
* for an NSOpenPanel. Notice, that, by using the {@literal @}Msg annotation, the

src/main/java/ca/weblite/objc/Proxy.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
* A wrapper around a native (Objective-C) object that allows for sending
1212
* messages from Java.
1313
*
14-
* <h3>Example Wrapping NSMutableArray Object</h3>
14+
* <h2>Example Wrapping NSMutableArray Object</h2>
1515
*
1616
* <p>The following snippet is taken from a unit test, to give you an idea
1717
* of how to use the Proxy class to wrap an Objective-C object.</p>

src/main/java/ca/weblite/objc/Runtime.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
* A JNA wrapper around the objective-c runtime. This contains all of the functions
1010
* needed to interact with the runtime (e.g. send messages, etc..).
1111
*
12-
* <h3>Sample Usage</h3>
12+
* <h2>Sample Usage</h2>
1313
* <script src="https://gist.github.com/3974488.js?file=SampleLowLevelAPI.java"></script>
1414
*
1515
* @author shannah

src/main/java/ca/weblite/objc/TypeMapper.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ public Object cToJ(Object cVar, String signature, TypeMapping root) {
128128
* specified signature. By default, this will map scalars straight
129129
* across without change. Strings are mapped to NSStrings.
130130
*
131-
* <h1>Example Usage</h1>
131+
* <h4>Example Usage</h4>
132132
* <p>The following is a modified snippet from the NSObject class that shows
133133
* (roughly) how the jToC method is used to take the output of a Java method
134134
* and set the return value in an NSInvocation object to a corresponding

src/main/java/ca/weblite/objc/annotations/Msg.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
* messages. This annotation is only useful for subclasses of ca.weblite.objc.NSObject.
1111
*
1212
*
13-
* <h3>Example Class Using Annotation TO Handle Objective-C messages</h3>
13+
* <h2>Example Class Using Annotation TO Handle Objective-C messages</h2>
1414
*
1515
* <script src="https://gist.github.com/3969983.js?file=TestCustomClass.java"></script>
1616
*
@@ -49,7 +49,7 @@
4949
*
5050
*
5151
*
52-
* <h1>Example Signatures</h1>
52+
* <h4>Example Signatures</h4>
5353
* <table summary="Example Signatures">
5454
* <thead>
5555
* <tr>

0 commit comments

Comments
 (0)