Skip to content
Permalink
Browse files
JSieve to use latest snapshot, patch contributed by Antoine Duprat (M…
…AILBOX-230)

git-svn-id: https://svn.apache.org/repos/asf/james/jsieve/trunk@1682269 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Eric Charles committed May 28, 2015
1 parent c894d3a commit 55b92a669324d204b09d4f2ca5bdb918c1099342
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
@@ -39,7 +39,7 @@
import org.apache.james.mime4j.dom.address.Mailbox;
import org.apache.james.mime4j.dom.address.MailboxList;
import org.apache.james.mime4j.dom.field.ParseException;
import org.apache.james.mime4j.field.address.AddressBuilder;
import org.apache.james.mime4j.field.address.DefaultAddressParser;
import org.apache.jsieve.SieveContext;
import org.apache.jsieve.exception.InternetAddressException;
import org.apache.jsieve.exception.SieveException;
@@ -393,7 +393,7 @@ public String getContentType() throws SieveMailException {

public Address[] parseAddresses(String arg) throws SieveMailException, InternetAddressException {
try {
final MailboxList list = new AddressList(AddressBuilder.DEFAULT.parseAddressList(arg), true).flatten();
final MailboxList list = new AddressList(DefaultAddressParser.DEFAULT.parseAddressList(arg), true).flatten();
final int size = list.size();
final Address[] results = new Address[size];
for (int i=0;i<size;i++) {
@@ -24,7 +24,7 @@
<parent>
<groupId>org.apache.james</groupId>
<artifactId>james-project</artifactId>
<version>1.8.1</version>
<version>1.8.3-SNAPSHOT</version>
</parent>

<artifactId>apache-jsieve</artifactId>
@@ -78,7 +78,7 @@
<target.jdk>1.6</target.jdk>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>

<mime4j.version>0.7.2</mime4j.version>
<mime4j.version>0.8.0-SNAPSHOT</mime4j.version>
<apache-mailet.version>2.5.1-SNAPSHOT</apache-mailet.version>
<junit.version>4.10</junit.version>
<jmock.version>1.2.0</jmock.version>

0 comments on commit 55b92a6

Please sign in to comment.