Skip to content

Commit d577776

Browse files
Merge pull request #33 from RobertStewart/master
Minor Javadoc fixes
2 parents bb11184 + 3efbb10 commit d577776

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

src/main/java/org/log4mongo/BsonAppender.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
* classes must implement append(DBObject) to store the BSON representation of a LoggingEvent.
2727
* <p>
2828
* An example BSON structure for a single log entry is as follows:
29-
* <p>
29+
* </p>
3030
*
3131
* <pre>
3232
* {
@@ -73,7 +73,7 @@
7373
* "className" : "NativeMethodAccessorImpl"
7474
* }
7575
* },
76-
* ... 8< ...
76+
* ...
7777
* ]
7878
* },
7979
* {
@@ -89,7 +89,7 @@
8989
* "className" : "TestMongoDbAppender"
9090
* }
9191
* },
92-
* ... 8< ...
92+
* ...
9393
* ]
9494
* }
9595
* ]

src/main/java/org/log4mongo/ExtendedMongoDbAppender.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,11 @@ public void initTopLevelProperties() {
4646
}
4747

4848
/**
49-
* This will handle spaces and empty values A = minus- & C=equals= & E==F For XML, must escape
50-
* (&amp;)
49+
* This will handle spaces and empty values A = minus- @amp; C=equals= @amp; E==F
50+
* For XML, must escape the ampersand.
5151
*
5252
* @param rootLevelProperties
53+
* key=value list of elements to be added to the root level log
5354
*/
5455
public void setRootLevelProperties(String rootLevelProperties) {
5556
for (String keyValue : rootLevelProperties.split(" *& *")) {

src/main/java/org/log4mongo/MongoDbAppender.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -186,7 +186,7 @@ public void setHostname(final String hostname) {
186186
}
187187

188188
/**
189-
* @return The port of the MongoDB server <i>(will be > 0)</i>.
189+
* @return The port of the MongoDB server <i>(will be greater than 0)</i>.
190190
*/
191191
public String getPort() {
192192
return port;

0 commit comments

Comments
 (0)