sijie closed pull request #2232: Fix Spelling Mistake in class
URL: https://github.com/apache/incubator-pulsar/pull/2232
 
 
   

This is a PR merged from a forked repository.
As GitHub hides the original diff on merge, it is displayed below for
the sake of provenance:

As this is a foreign pull request (from a fork), the diff is supplied
below (as it won't show otherwise due to GitHub magic):

diff --git 
a/pulsar-functions/java-examples/src/main/java/org/apache/pulsar/functions/api/examples/JavaNativeExclmationFunction.java
 
b/pulsar-functions/java-examples/src/main/java/org/apache/pulsar/functions/api/examples/JavaNativeExclamationFunction.java
similarity index 92%
rename from 
pulsar-functions/java-examples/src/main/java/org/apache/pulsar/functions/api/examples/JavaNativeExclmationFunction.java
rename to 
pulsar-functions/java-examples/src/main/java/org/apache/pulsar/functions/api/examples/JavaNativeExclamationFunction.java
index 4653e1bba8..f09a43688d 100644
--- 
a/pulsar-functions/java-examples/src/main/java/org/apache/pulsar/functions/api/examples/JavaNativeExclmationFunction.java
+++ 
b/pulsar-functions/java-examples/src/main/java/org/apache/pulsar/functions/api/examples/JavaNativeExclamationFunction.java
@@ -20,7 +20,7 @@
 
 import java.util.function.Function;
 
-public class JavaNativeExclmationFunction implements Function<String, String> {
+public class JavaNativeExclamationFunction implements Function<String, String> 
{
     @Override
     public String apply(String input) {
         return String.format("%s!", input);
diff --git a/site/docs/latest/functions/api.md 
b/site/docs/latest/functions/api.md
index e07479c9a8..6dd7b75459 100644
--- a/site/docs/latest/functions/api.md
+++ b/site/docs/latest/functions/api.md
@@ -209,7 +209,7 @@ In general, you should use native functions when you don't 
need access to the fu
 
 There is one example Java native function in [this 
folder](https://github.com/apache/incubator-pulsar/tree/master/pulsar-functions/java-examples/src/main/java/org/apache/pulsar/functions/api/examples):
 
-* 
[`JavaNativeExclmationFunction`](https://github.com/apache/incubator-pulsar/blob/master/pulsar-functions/java-examples/src/main/java/org/apache/pulsar/functions/api/examples/JavaNativeExclmationFunction.java)
+* 
[`JavaNativeExclamationFunction`](https://github.com/apache/incubator-pulsar/blob/master/pulsar-functions/java-examples/src/main/java/org/apache/pulsar/functions/api/examples/JavaNativeExclamationFunction.java)
 
 ### Java SDK functions {#java-sdk}
 
diff --git a/site2/docs/functions-api.md b/site2/docs/functions-api.md
index c673070767..f0f4f8c325 100644
--- a/site2/docs/functions-api.md
+++ b/site2/docs/functions-api.md
@@ -211,7 +211,7 @@ In general, you should use native functions when you don't 
need access to the fu
 
 There is one example Java native function in [this 
folder](https://github.com/apache/incubator-pulsar/tree/master/pulsar-functions/java-examples/src/main/java/org/apache/pulsar/functions/api/examples):
 
-* 
[`JavaNativeExclmationFunction`](https://github.com/apache/incubator-pulsar/blob/master/pulsar-functions/java-examples/src/main/java/org/apache/pulsar/functions/api/examples/JavaNativeExclmationFunction.java)
+* 
[`JavaNativeExclamationFunction`](https://github.com/apache/incubator-pulsar/blob/master/pulsar-functions/java-examples/src/main/java/org/apache/pulsar/functions/api/examples/JavaNativeExclamationFunction.java)
 
 ### Java SDK functions
 


 

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to