zeppelin-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From zjf...@apache.org
Subject [zeppelin] branch master updated: [minor] Fix Markdown syntax highlighting of kotlin README
Date Thu, 16 Jan 2020 02:05:10 GMT
This is an automated email from the ASF dual-hosted git repository.

zjffdu pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/zeppelin.git


The following commit(s) were added to refs/heads/master by this push:
     new 62849c7  [minor] Fix Markdown syntax highlighting of kotlin README
62849c7 is described below

commit 62849c71d3fe984e6232e9425311494cec16c253
Author: Michael Werner <xaseron@googlemail.com>
AuthorDate: Sun Jan 12 11:05:58 2020 +0100

    [minor] Fix Markdown syntax highlighting of kotlin README
    
    ### What is this PR for?
    Displaying Readme.md with proper syntax highligthing
    
    ### What type of PR is it?
    Documentation
    
    Author: Michael Werner <xaseron@googlemail.com>
    
    Closes #3594 from Xaseron/patch-1 and squashes the following commits:
    
    129d1c93a [Michael Werner] Fix Markdown syntax highlighting
---
 kotlin/README.md | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/kotlin/README.md b/kotlin/README.md
index 0b71c24..8e3420c 100644
--- a/kotlin/README.md
+++ b/kotlin/README.md
@@ -8,7 +8,7 @@ Here is the guide to its implementation and how it can be improved and tested.
 For interactive Kotlin execution, an instance of `KotlinRepl` is created.
 To set REPL properties (such as classpath, generated classes output directory, max result,
etc.),
 pass `KotlinReplProperties` to its constructor. For example:
-```$java
+```java
 KotlinReplProperties replProperties = new KotlinReplProperties()
     .maxResult(1000)
     .shortenTypes(true);
@@ -22,7 +22,7 @@ making the receiver's fields and methods accessible.
    
 To add your variables/functions, extend `KotlinReceiver` class (in separate file), declare
your fields and methods, and pass an instance of it to
 `KotlinReplProperties`. Example:
-```$java
+```java
 // In separate file:
 class CustomReceiver extends KotlinReceiver {
     public int myValue = 1 // will be converted to Kotlin "var myValue: Int"
@@ -80,4 +80,4 @@ can not use things like `forEach` because of ambiguity between `Iterable<?>.forE
 (`foreach` from Spark's API does work, though).
 * The scoped mode for Kotlin Spark Interpreter currently has issues with having the same
class output directory 
 for different intepreters, leading to overwriting classes. Adding prefixes to generated classes
or putting them
- in separate directories leads to `ClassNotFoundException` on Spark executors.
\ No newline at end of file
+ in separate directories leads to `ClassNotFoundException` on Spark executors.


Mime
View raw message