james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eric Charles <e...@apache.org>
Subject Re: svn commit: r1135380 - /james/mailbox/trunk/maildir/src/main/java/org/apache/james/mailbox/maildir/MaildirFolder.java
Date Tue, 14 Jun 2011 07:41:41 GMT
I even use 1.7 :)
java -version
openjdk version "1.7.0-internal"
OpenJDK Runtime Environment (build 
1.7.0-internal-henri_2011_05_21_10_20-b00)
OpenJDK 64-Bit Server VM (build 21.0-b13, mixed mode)


The mailbox-maildir states:
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-compiler-plugin</artifactId>
         <version>2.1</version>
         <configuration>
           <source>1.6</source>
           <target>1.6</target>
         </configuration>
       </plugin>
     </plugins>

If I change it to 1.5, it builds fine in eclipse
           <source>1.6</source>
           <target>1.6</target>

The other mailbox projects are define with 1.6.

OK to remove this definition in mailbox-maildir?

Tks,
- Eric

On 14/06/11 08:56, Norman Maurer wrote:
> works here...
>
> Are you sure you use jdk 1.6 ?
>
> bye
> norman
>
> Am Dienstag, 14. Juni 2011 schrieb Eric Charles<eric@apache.org>:
>> Btw, MaildirFolder gives compile errors:
>>
>> Exception in thread "pool-1-thread-160" java.lang.Error: Unresolved compilation problem:
>>          The method execute(MailboxSession, MailboxPath) of type new MailboxPathLocker.LockAwareExecution(){}
must override a superclass method
>>
>> Tks,
>> - Eric
>>
>>
>>
>> On 14/06/11 06:42, eric@apache.org wrote:
>>
>> Author: eric
>> Date: Tue Jun 14 04:42:40 2011
>> New Revision: 1135380
>>
>> URL: http://svn.apache.org/viewvc?rev=1135380&view=rev
>> Log:
>> Remove logging I committed by error some time ago.
>>
>> Modified:
>>       james/mailbox/trunk/maildir/src/main/java/org/apache/james/mailbox/maildir/MaildirFolder.java
>>
>> Modified: james/mailbox/trunk/maildir/src/main/java/org/apache/james/mailbox/maildir/MaildirFolder.java
>> URL: http://svn.apache.org/viewvc/james/mailbox/trunk/maildir/src/main/java/org/apache/james/mailbox/maildir/MaildirFolder.java?rev=1135380&r1=1135379&r2=1135380&view=diff
>> ==============================================================================
>> --- james/mailbox/trunk/maildir/src/main/java/org/apache/james/mailbox/maildir/MaildirFolder.java
(original)
>> +++ james/mailbox/trunk/maildir/src/main/java/org/apache/james/mailbox/maildir/MaildirFolder.java
Tue Jun 14 04:42:40 2011
>> @@ -79,7 +79,6 @@ public class MaildirFolder {
>>         * @param absPath The absolute path of the mailbox folder
>>         */
>>        public MaildirFolder(String absPath, MailboxPath path, MailboxPathLocker locker)
{
>> -        log.debug("=====>    absPath=" + absPath + " - " + this.hashCode());
>>            this.rootFolder = new File(absPath);
>>            this.curFolder = new File(rootFolder, CUR);
>>            this.newFolder = new File(rootFolder, NEW);
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-dev-help@james.apache.org
>>
>>
>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-dev-help@james.apache.org
>>
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
>


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


Mime
View raw message