Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
xiaofang li
Logging Log4j2
Commits
893ead0f
Commit
893ead0f
authored
8 years ago
by
Gary Gregory
Browse files
Options
Download
Email Patches
Plain Diff
Add missing Javadoc.
parent
1b9f1dfe
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
log4j-api/src/main/java/org/apache/logging/log4j/message/MapMessage.java
+5
-0
...ain/java/org/apache/logging/log4j/message/MapMessage.java
with
5 additions
and
0 deletions
+5
-0
log4j-api/src/main/java/org/apache/logging/log4j/message/MapMessage.java
+
5
-
0
View file @
893ead0f
...
...
@@ -382,6 +382,11 @@ public class MapMessage implements MultiformatMessage, StringBuilderFormattable
sb
.
append
(
'}'
);
}
/**
* Constructs a new instance based on an existing Map.
* @param map The Map.
* @return A new MapMessage
*/
public
MapMessage
newInstance
(
final
Map
<
String
,
String
>
map
)
{
return
new
MapMessage
(
map
);
}
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help