You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by ad...@apache.org on 2017/11/07 14:40:55 UTC
[1/4] james-project git commit: PROTOCOLS-117 General fixes: Correct
invalid log in MPT
Repository: james-project
Updated Branches:
refs/heads/master b3262f594 -> ae155b8d3
PROTOCOLS-117 General fixes: Correct invalid log in MPT
Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/9e329e47
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/9e329e47
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/9e329e47
Branch: refs/heads/master
Commit: 9e329e47292c3a3b20d1fa83882245b1e3962ca7
Parents: f1d6f12
Author: benwa <bt...@linagora.com>
Authored: Fri Nov 3 17:13:36 2017 +0700
Committer: benwa <bt...@linagora.com>
Committed: Tue Nov 7 10:00:16 2017 +0700
----------------------------------------------------------------------
.../apache/james/mpt/script/GenericSimpleScriptedTestProtocol.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/james-project/blob/9e329e47/mpt/core/src/main/java/org/apache/james/mpt/script/GenericSimpleScriptedTestProtocol.java
----------------------------------------------------------------------
diff --git a/mpt/core/src/main/java/org/apache/james/mpt/script/GenericSimpleScriptedTestProtocol.java b/mpt/core/src/main/java/org/apache/james/mpt/script/GenericSimpleScriptedTestProtocol.java
index ed6bd5f..07a4f12 100644
--- a/mpt/core/src/main/java/org/apache/james/mpt/script/GenericSimpleScriptedTestProtocol.java
+++ b/mpt/core/src/main/java/org/apache/james/mpt/script/GenericSimpleScriptedTestProtocol.java
@@ -55,7 +55,7 @@ public class GenericSimpleScriptedTestProtocol<T extends HostSystem, SELF extend
try {
system.addUser(user, password);
} catch (Exception e) {
- LOGGER.info("User {} already exists");
+ LOGGER.info("User {} already exists", user, e);
}
}
}
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[2/4] james-project git commit: PROTOCOLS-117 Bonus: Remove unused
MailboxPath parsing method
Posted by ad...@apache.org.
PROTOCOLS-117 Bonus: Remove unused MailboxPath parsing method
Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/1de78164
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/1de78164
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/1de78164
Branch: refs/heads/master
Commit: 1de781643f7354c1f099b8e2d0f491a7a9f55d5d
Parents: b353752
Author: benwa <bt...@linagora.com>
Authored: Wed Nov 1 09:35:58 2017 +0700
Committer: benwa <bt...@linagora.com>
Committed: Tue Nov 7 13:45:54 2017 +0700
----------------------------------------------------------------------
.../apache/james/mailbox/model/MailboxPath.java | 23 --------------------
1 file changed, 23 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/james-project/blob/1de78164/mailbox/api/src/main/java/org/apache/james/mailbox/model/MailboxPath.java
----------------------------------------------------------------------
diff --git a/mailbox/api/src/main/java/org/apache/james/mailbox/model/MailboxPath.java b/mailbox/api/src/main/java/org/apache/james/mailbox/model/MailboxPath.java
index 1ba8d67..92afdf2 100644
--- a/mailbox/api/src/main/java/org/apache/james/mailbox/model/MailboxPath.java
+++ b/mailbox/api/src/main/java/org/apache/james/mailbox/model/MailboxPath.java
@@ -43,29 +43,6 @@ public class MailboxPath {
}
/**
- * Create a {@link MailboxPath} by parsing the given full mailboxname (which included the namespace)
- *
- * @param session
- * @param fullmailboxname
- * @return path
- */
- public static MailboxPath parse(MailboxSession session, String fullmailboxname) {
- char delimiter = session.getPathDelimiter();
- int i = fullmailboxname.indexOf(delimiter);
- String namespace = fullmailboxname.substring(0, i);
- String mailbox = fullmailboxname.substring(i + 1, fullmailboxname.length());
- String username = null;
- if (namespace == null || namespace.trim().equals("")) {
- namespace = MailboxConstants.USER_NAMESPACE;
- }
- if (namespace.equals(session.getPersonalSpace())) {
- username = session.getUser().getUserName();
- }
- return new MailboxPath(namespace, username, mailbox);
-
- }
-
- /**
* Create a {@link MailboxPath} in the prive namespace of the specified user
*/
public static MailboxPath forUser(String username, String mailboxName) {
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[4/4] james-project git commit: Merge remote-tracking branch
'btellier/PROTOCOL-117-mailbox-path-bonus'
Posted by ad...@apache.org.
Merge remote-tracking branch 'btellier/PROTOCOL-117-mailbox-path-bonus'
Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/ae155b8d
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/ae155b8d
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/ae155b8d
Branch: refs/heads/master
Commit: ae155b8d373d93da947d8c5839d8eb24601d03b6
Parents: 38df419 1de7816
Author: Antoine Duprat <ad...@linagora.com>
Authored: Tue Nov 7 15:40:28 2017 +0100
Committer: Antoine Duprat <ad...@linagora.com>
Committed: Tue Nov 7 15:40:28 2017 +0100
----------------------------------------------------------------------
.../apache/james/mailbox/model/MailboxPath.java | 23 --------------------
1 file changed, 23 deletions(-)
----------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org
[3/4] james-project git commit: Merge remote-tracking branch
'btellier/MPT-log'
Posted by ad...@apache.org.
Merge remote-tracking branch 'btellier/MPT-log'
Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/38df419d
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/38df419d
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/38df419d
Branch: refs/heads/master
Commit: 38df419daf566431c22cbcbacdf0c9990a737ca7
Parents: b3262f5 9e329e4
Author: Antoine Duprat <ad...@linagora.com>
Authored: Tue Nov 7 15:39:57 2017 +0100
Committer: Antoine Duprat <ad...@linagora.com>
Committed: Tue Nov 7 15:39:57 2017 +0100
----------------------------------------------------------------------
.../apache/james/mpt/script/GenericSimpleScriptedTestProtocol.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org