Repository: logging-log4j2
Updated Branches:
  refs/heads/master d92cc27d3 -> 6c8f0d6bc


LOG4J2-1874 javadoc enhancements


Project: http://git-wip-us.apache.org/repos/asf/logging-log4j2/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j2/commit/6c8f0d6b
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j2/tree/6c8f0d6b
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j2/diff/6c8f0d6b

Branch: refs/heads/master
Commit: 6c8f0d6bc299066d3cabc2726130faa2cb560555
Parents: d92cc27
Author: rpopma <[email protected]>
Authored: Sun Jun 18 16:15:23 2017 +0900
Committer: rpopma <[email protected]>
Committed: Sun Jun 18 16:15:23 2017 +0900

----------------------------------------------------------------------
 .../apache/logging/log4j/core/layout/ByteBufferDestination.java | 4 ++++
 .../logging/log4j/core/layout/ByteBufferDestinationHelper.java  | 5 +++++
 2 files changed, 9 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/6c8f0d6b/log4j-core/src/main/java/org/apache/logging/log4j/core/layout/ByteBufferDestination.java
----------------------------------------------------------------------
diff --git 
a/log4j-core/src/main/java/org/apache/logging/log4j/core/layout/ByteBufferDestination.java
 
b/log4j-core/src/main/java/org/apache/logging/log4j/core/layout/ByteBufferDestination.java
index 5559698..6e5f031 100644
--- 
a/log4j-core/src/main/java/org/apache/logging/log4j/core/layout/ByteBufferDestination.java
+++ 
b/log4j-core/src/main/java/org/apache/logging/log4j/core/layout/ByteBufferDestination.java
@@ -51,6 +51,8 @@ public interface ByteBufferDestination {
      * Writes the given data to this ByteBufferDestination entirely. Call of 
this method should *not* be protected
      * with synchronized on this ByteBufferDestination instance. 
ByteBufferDestination implementations should
      * synchronize themselves inside this method, if needed.
+     *
+     * @since 2.9 (see LOG4J2-1874)
      */
     void writeBytes(ByteBuffer data);
 
@@ -65,6 +67,8 @@ public interface ByteBufferDestination {
      * This method is called writeBytes() to avoid clashing with {@link 
OutputStreamManager#write(byte[], int, int)},
      * which might be overridden in user-defined subclasses as protected, 
hence adding it to interface and requiring
      * the method to be public breaks source compatibility.
+     *
+     * @since 2.9 (see LOG4J2-1874)
      */
     void writeBytes(byte[] data, int offset, int length);
 }

http://git-wip-us.apache.org/repos/asf/logging-log4j2/blob/6c8f0d6b/log4j-core/src/main/java/org/apache/logging/log4j/core/layout/ByteBufferDestinationHelper.java
----------------------------------------------------------------------
diff --git 
a/log4j-core/src/main/java/org/apache/logging/log4j/core/layout/ByteBufferDestinationHelper.java
 
b/log4j-core/src/main/java/org/apache/logging/log4j/core/layout/ByteBufferDestinationHelper.java
index 0102725..e1fa40d 100644
--- 
a/log4j-core/src/main/java/org/apache/logging/log4j/core/layout/ByteBufferDestinationHelper.java
+++ 
b/log4j-core/src/main/java/org/apache/logging/log4j/core/layout/ByteBufferDestinationHelper.java
@@ -18,6 +18,11 @@ package org.apache.logging.log4j.core.layout;
 
 import java.nio.ByteBuffer;
 
+/**
+ * Helper class for ByteBufferDestination implementors.
+ *
+ * @since 2.9 (see LOG4J2-1874)
+ */
 public final class ByteBufferDestinationHelper {
 
     private ByteBufferDestinationHelper() {

Reply via email to