You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@logging.apache.org by ma...@apache.org on 2018/04/03 17:20:34 UTC

[4/8] logging-log4j-kotlin git commit: Simplify companion object declaration

Simplify companion object declaration


Project: http://git-wip-us.apache.org/repos/asf/logging-log4j-kotlin/repo
Commit: http://git-wip-us.apache.org/repos/asf/logging-log4j-kotlin/commit/68f51ba1
Tree: http://git-wip-us.apache.org/repos/asf/logging-log4j-kotlin/tree/68f51ba1
Diff: http://git-wip-us.apache.org/repos/asf/logging-log4j-kotlin/diff/68f51ba1

Branch: refs/heads/master
Commit: 68f51ba17746ffd16c73c73b0d32a0aaefcd8c1c
Parents: 845862f
Author: Raman Gupta <ro...@gmail.com>
Authored: Tue Apr 3 12:17:55 2018 -0400
Committer: Raman Gupta <ro...@gmail.com>
Committed: Tue Apr 3 12:17:55 2018 -0400

----------------------------------------------------------------------
 src/main/asciidoc/usage.adoc | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/logging-log4j-kotlin/blob/68f51ba1/src/main/asciidoc/usage.adoc
----------------------------------------------------------------------
diff --git a/src/main/asciidoc/usage.adoc b/src/main/asciidoc/usage.adoc
index 5a40074..e49e9e2 100644
--- a/src/main/asciidoc/usage.adoc
+++ b/src/main/asciidoc/usage.adoc
@@ -39,9 +39,7 @@ The `Logging` interface can also be mixed into `object` declarations, including
 import org.apache.logging.log4j.kotlin.Logging
 
 class MyClass: BaseClass {
-  companion object : Logging {
-    // other declarations
-  }
+  companion object : Logging
 
   ...
 }