File tree Expand file tree Collapse file tree 5 files changed +10
-5
lines changed
log4j-api/src/main/java/org/apache/logging/log4j Expand file tree Collapse file tree 5 files changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -112,7 +112,7 @@ default void log(final Supplier<Message> messageSupplier) {}
112112 *
113113 * @param messageSupplier The supplier of the message to log.
114114 * @return the message logger or {@code null} if no logging occurred.
115- * @since 2.20
115+ * @since 2.20.0
116116 */
117117 default Message logAndGet (final Supplier <Message > messageSupplier ) {
118118 return null ;
Original file line number Diff line number Diff line change @@ -1971,7 +1971,7 @@ void fatal(
19711971 * Gets the flow message factory used to convert messages into flow messages.
19721972 *
19731973 * @return the flow message factory, as an instance of {@link FlowMessageFactory}.
1974- * @since 2.20
1974+ * @since 2.20.0
19751975 */
19761976 FlowMessageFactory getFlowMessageFactory ();
19771977
Original file line number Diff line number Diff line change @@ -214,6 +214,8 @@ private ThreadContext() {
214214
215215 /**
216216 * <em>Consider private, used for testing.</em>
217+ *
218+ * @since 2.20.0
217219 */
218220 public static void init () {
219221 final PropertiesUtil properties = PropertiesUtil .getProperties ();
Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ public interface FlowMessageFactory {
2828 * @param message format string
2929 * @param params parameters
3030 * @return the new entry message
31- * @since 2.20
31+ * @since 2.20.0
3232 */
3333 EntryMessage newEntryMessage (String message , Object ... params );
3434
@@ -46,7 +46,7 @@ public interface FlowMessageFactory {
4646 * @param format a format string
4747 * @param result the return value
4848 * @return the new exit message
49- * @since 2.20
49+ * @since 2.20.0
5050 */
5151 ExitMessage newExitMessage (String format , Object result );
5252
@@ -55,7 +55,7 @@ public interface FlowMessageFactory {
5555 *
5656 * @param message the original entry message
5757 * @return the new exit message
58- * @since 2.20
58+ * @since 2.20.0
5959 */
6060 ExitMessage newExitMessage (Message message );
6161
Original file line number Diff line number Diff line change @@ -49,6 +49,9 @@ public static PropertySource provider() {
4949 return INSTANCE ;
5050 }
5151
52+ /**
53+ * @since 2.20.0
54+ */
5255 public static String getSystemProperty (final String key , final String defaultValue ) {
5356 final String value = INSTANCE .getProperty (key );
5457 return value != null ? value : defaultValue ;
You can’t perform that action at this time.
0 commit comments