You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by lz...@apache.org on 2023/01/09 02:35:02 UTC

[flink-table-store] branch master updated: [hotfix] Fix typo in documentation

This is an automated email from the ASF dual-hosted git repository.

lzljs3620320 pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/flink-table-store.git


The following commit(s) were added to refs/heads/master by this push:
     new 93b2d565 [hotfix] Fix typo in documentation
93b2d565 is described below

commit 93b2d565c2a2aa32e4d97e90580e0fe806dae2d5
Author: wuyouwuyoulian <xq...@163.com>
AuthorDate: Mon Jan 9 10:34:57 2023 +0800

    [hotfix] Fix typo in documentation
    
    This closes #468
---
 docs/layouts/partials/docs/inject/menu-after.html                     | 2 +-
 docs/layouts/shortcodes/beta.html                                     | 4 ++--
 docs/layouts/shortcodes/img.html                                      | 4 ++--
 docs/layouts/shortcodes/javadoc.html                                  | 4 ++--
 docs/layouts/shortcodes/label.html                                    | 4 ++--
 docs/layouts/shortcodes/scala_version.html                            | 4 ++--
 docs/layouts/shortcodes/stable.html                                   | 4 ++--
 docs/layouts/shortcodes/top.html                                      | 2 +-
 docs/layouts/shortcodes/unstable.html                                 | 4 ++--
 docs/layouts/shortcodes/version.html                                  | 4 ++--
 docs/static/js/flink.js                                               | 4 ++--
 .../flink/table/store/file/operation/AbstractFileStoreScan.java       | 4 ++--
 12 files changed, 22 insertions(+), 22 deletions(-)

diff --git a/docs/layouts/partials/docs/inject/menu-after.html b/docs/layouts/partials/docs/inject/menu-after.html
index df19fb42..844b1553 100644
--- a/docs/layouts/partials/docs/inject/menu-after.html
+++ b/docs/layouts/partials/docs/inject/menu-after.html
@@ -54,7 +54,7 @@ under the License.
   </ul>
 </li>
 
-<!-- merge languages into a single dictonary -->
+<!-- merge languages into a single dictionary -->
 {{ $translations := dict }}
 {{ range .Site.Home.AllTranslations }}
   {{ $translations = merge $translations (dict .Language.Lang .) }}
diff --git a/docs/layouts/shortcodes/beta.html b/docs/layouts/shortcodes/beta.html
index ddb7bda0..856e9fc7 100644
--- a/docs/layouts/shortcodes/beta.html
+++ b/docs/layouts/shortcodes/beta.html
@@ -20,6 +20,6 @@ under the License.
 */}}
 <blockquote class="book-hint warning">
     This feature is currency marked as <b>BETA</b> and in an evolving state.
-    As such, there are <b>no guaruntees</b> made about feature stability
+    As such, there are <b>no guarantees</b> made about feature stability
     and breaking changes may occur in future Flink versions.
-</blockquote>
\ No newline at end of file
+</blockquote>
diff --git a/docs/layouts/shortcodes/img.html b/docs/layouts/shortcodes/img.html
index e0cd0a51..689efee7 100644
--- a/docs/layouts/shortcodes/img.html
+++ b/docs/layouts/shortcodes/img.html
@@ -21,7 +21,7 @@ under the License.
   because we can configure the HTML image tag
   properties.
 
-  Parmeters: 
+  Parameters: 
       - src: The absolute path to the image file (required)
       - alt: Image alt text (optional)
       - width: Image width (optional)
@@ -31,4 +31,4 @@ under the License.
   alt="{{ .Get "alt" }}"
   width="{{ .Get "width" }}"
   style="display:block;margin-left:auto;margin-right:auto"
->
\ No newline at end of file
+>
diff --git a/docs/layouts/shortcodes/javadoc.html b/docs/layouts/shortcodes/javadoc.html
index c76d6845..596109fa 100644
--- a/docs/layouts/shortcodes/javadoc.html
+++ b/docs/layouts/shortcodes/javadoc.html
@@ -18,9 +18,9 @@ under the License.
 */}}{{/*
     Shortcode for linking to Flinks JavaDoc
 
-    Parmeters: 
+    Parameters: 
         - name: The rendered link name (required)
 */}}
 <a href="{{ .Site.Params.JavaDoc }}">
     {{ .Get "name" }}
-</a>
\ No newline at end of file
+</a>
diff --git a/docs/layouts/shortcodes/label.html b/docs/layouts/shortcodes/label.html
index 2a1f39b1..fcfc7b25 100644
--- a/docs/layouts/shortcodes/label.html
+++ b/docs/layouts/shortcodes/label.html
@@ -21,9 +21,9 @@ under the License.
   because we can configure the HTML image tag
   properties.
 
-  Parmeters: 
+  Parameters: 
       - src: The absolute path to the image file (required)
       - alt: Image alt text (optional)
       - width: Image width (optional)
 */}}
-<span class="label">{{ .Get 0 }}</span>
\ No newline at end of file
+<span class="label">{{ .Get 0 }}</span>
diff --git a/docs/layouts/shortcodes/scala_version.html b/docs/layouts/shortcodes/scala_version.html
index b77c77e7..175e31a8 100644
--- a/docs/layouts/shortcodes/scala_version.html
+++ b/docs/layouts/shortcodes/scala_version.html
@@ -18,5 +18,5 @@ under the License.
 */}}{{/*
     Shortcode for interpolating the scala version set in conf.toml
 
-    Parmeters: None
-*/}}{{- $.Site.Params.ScalaVersion -}}
\ No newline at end of file
+    Parameters: None
+*/}}{{- $.Site.Params.ScalaVersion -}}
diff --git a/docs/layouts/shortcodes/stable.html b/docs/layouts/shortcodes/stable.html
index 1a395d67..f569b67f 100644
--- a/docs/layouts/shortcodes/stable.html
+++ b/docs/layouts/shortcodes/stable.html
@@ -19,5 +19,5 @@ under the License.
   Shortcode that only renders its contents if the site
   is marked as stable.
 
-  Parmeters: Markdown text
-*/}}{{ if $.Site.Params.IsStable }}{{ .Inner | markdownify }}{{ end }}
\ No newline at end of file
+  Parameters: Markdown text
+*/}}{{ if $.Site.Params.IsStable }}{{ .Inner | markdownify }}{{ end }}
diff --git a/docs/layouts/shortcodes/top.html b/docs/layouts/shortcodes/top.html
index 11d6808b..93da68e0 100644
--- a/docs/layouts/shortcodes/top.html
+++ b/docs/layouts/shortcodes/top.html
@@ -18,7 +18,7 @@ under the License.
 */}}{{/*
   Shortcode that adds a "Back to Top" link.
 
-  Parmeters: None
+  Parameters: None
 */}}
 <p><a href="#top" class="top pull-right"><i class="fas fa-triangle"></i> Back to top</a></p>
 
diff --git a/docs/layouts/shortcodes/unstable.html b/docs/layouts/shortcodes/unstable.html
index 6ad4c173..8d378c4c 100644
--- a/docs/layouts/shortcodes/unstable.html
+++ b/docs/layouts/shortcodes/unstable.html
@@ -19,5 +19,5 @@ under the License.
   Shortcode that only renders its contents if the site
   is not marked as stable.
 
-  Parmeters: Markdown text
-*/}}{{ if (not $.Site.Params.IsStable) }}{{ .Inner | markdownify }}{{ end }}
\ No newline at end of file
+  Parameters: Markdown text
+*/}}{{ if (not $.Site.Params.IsStable) }}{{ .Inner | markdownify }}{{ end }}
diff --git a/docs/layouts/shortcodes/version.html b/docs/layouts/shortcodes/version.html
index 6773914c..bbfd9acb 100644
--- a/docs/layouts/shortcodes/version.html
+++ b/docs/layouts/shortcodes/version.html
@@ -18,5 +18,5 @@ under the License.
 */}}{{/*
     Shortcode that interpolates the the full maven version (x.y.z)
 
-    Parmeters: None
-*/}}{{- $.Site.Params.Version -}}
\ No newline at end of file
+    Parameters: None
+*/}}{{- $.Site.Params.Version -}}
diff --git a/docs/static/js/flink.js b/docs/static/js/flink.js
index 9d4af7a8..7f2e2568 100644
--- a/docs/static/js/flink.js
+++ b/docs/static/js/flink.js
@@ -21,7 +21,7 @@
  * Function to synchronize all tabs on a page to a given user selection. 
  * 
  * The selection of a tab group should only change if it contains an 
- * input with the given tabId. Otherwise, its current seletion should
+ * input with the given tabId. Otherwise, its current selection should
  * remain unchanged.
  * 
  * See layouts/shortcodes/tabs.html
@@ -175,4 +175,4 @@ document.addEventListener("DOMContentLoaded", function(event) {
         placement: 'right'
     };
     anchors.add('h6');
-});
\ No newline at end of file
+});
diff --git a/flink-table-store-core/src/main/java/org/apache/flink/table/store/file/operation/AbstractFileStoreScan.java b/flink-table-store-core/src/main/java/org/apache/flink/table/store/file/operation/AbstractFileStoreScan.java
index 3aafa8d8..cd48310b 100644
--- a/flink-table-store-core/src/main/java/org/apache/flink/table/store/file/operation/AbstractFileStoreScan.java
+++ b/flink-table-store-core/src/main/java/org/apache/flink/table/store/file/operation/AbstractFileStoreScan.java
@@ -183,7 +183,7 @@ public abstract class AbstractFileStoreScan implements FileStoreScan {
                 manifests = Collections.emptyList();
             } else {
                 Snapshot snapshot = snapshotManager.snapshot(snapshotId);
-                manifests = readManiests(snapshot);
+                manifests = readManifests(snapshot);
             }
         }
 
@@ -250,7 +250,7 @@ public abstract class AbstractFileStoreScan implements FileStoreScan {
         };
     }
 
-    private List<ManifestFileMeta> readManiests(Snapshot snapshot) {
+    private List<ManifestFileMeta> readManifests(Snapshot snapshot) {
         switch (scanKind) {
             case ALL:
                 return snapshot.readAllDataManifests(manifestList);