You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@james.apache.org by bt...@apache.org on 2023/06/02 10:12:06 UTC

[james-project] branch master updated: [FIX] Fix typo in WithStorageDirective documentation (#1578)

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

btellier pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/james-project.git


The following commit(s) were added to refs/heads/master by this push:
     new e00f08d06d [FIX] Fix typo in WithStorageDirective documentation (#1578)
e00f08d06d is described below

commit e00f08d06de956438b821ab9f087e7787e7cba5d
Author: Benoit TELLIER <bt...@linagora.com>
AuthorDate: Fri Jun 2 17:12:00 2023 +0700

    [FIX] Fix typo in WithStorageDirective documentation (#1578)
---
 .../docs/modules/ROOT/partials/WithStorageDirective.adoc              | 4 ++--
 .../java/org/apache/james/transport/mailets/WithStorageDirective.java | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/server/apps/distributed-app/docs/modules/ROOT/partials/WithStorageDirective.adoc b/server/apps/distributed-app/docs/modules/ROOT/partials/WithStorageDirective.adoc
index 6b5f9b9e46..e013f0338a 100644
--- a/server/apps/distributed-app/docs/modules/ROOT/partials/WithStorageDirective.adoc
+++ b/server/apps/distributed-app/docs/modules/ROOT/partials/WithStorageDirective.adoc
@@ -19,7 +19,7 @@ Example:
     <targetFolderName>Spam</targetFolderName>
     <seen>true</seen>
     <important>true</important>
-    <keywords>keyword1,keyword2</targetFolderName>
+    <keywords>keyword1,keyword2</keywords>
 </mailet>
 ....
 
@@ -30,6 +30,6 @@ Alternatively, several target folders can be specified:
   <targetFolderNames>Important, INBOX</targetFolderNames>
   <seen>true</seen>
   <important>true</important>
-  <keywords>keyword1,keyword2</targetFolderName>
+  <keywords>keyword1,keyword2</keywords>
 </mailet>
 ....
\ No newline at end of file
diff --git a/server/mailet/mailets/src/main/java/org/apache/james/transport/mailets/WithStorageDirective.java b/server/mailet/mailets/src/main/java/org/apache/james/transport/mailets/WithStorageDirective.java
index e9a79f4892..23883fa73f 100644
--- a/server/mailet/mailets/src/main/java/org/apache/james/transport/mailets/WithStorageDirective.java
+++ b/server/mailet/mailets/src/main/java/org/apache/james/transport/mailets/WithStorageDirective.java
@@ -58,7 +58,7 @@ import com.google.common.collect.ImmutableList;
  *      <targetFolderName>Spam</targetFolderName>
  *      <seen>true</seen>
  *      <important>true</important>
- *      <keywords>keyword1,keyword2</targetFolderName>
+ *      <keywords>keyword1,keyword2</keywords>
  *  </mailet>
  *
  *  Alternatively, several target folders can be specified:
@@ -67,7 +67,7 @@ import com.google.common.collect.ImmutableList;
  *    <targetFolderNames>Important, INBOX</targetFolderNames>
  *    <seen>true</seen>
  *    <important>true</important>
- *    <keywords>keyword1,keyword2</targetFolderName>
+ *    <keywords>keyword1,keyword2</keywords>
  *  </mailet>
  *
  */


---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@james.apache.org
For additional commands, e-mail: notifications-help@james.apache.org