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 ma...@apache.org on 2014/03/20 09:16:10 UTC

svn commit: r1579559 [17/23] - in /james/hupa/trunk: ./ client/ client/src/main/java/com/google/web/bindery/requestfactory/server/ client/src/main/java/org/apache/hupa/ client/src/main/java/org/apache/hupa/client/ client/src/main/java/org/apache/hupa/c...

Modified: james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/CreateFolderActionImpl.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/CreateFolderActionImpl.java?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/CreateFolderActionImpl.java (original)
+++ james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/CreateFolderActionImpl.java Thu Mar 20 08:16:02 2014
@@ -1,41 +1,41 @@
-/****************************************************************
- * Licensed to the Apache Software Foundation (ASF) under one   *
- * or more contributor license agreements.  See the NOTICE file *
- * distributed with this work for additional information        *
- * regarding copyright ownership.  The ASF licenses this file   *
- * to you under the Apache License, Version 2.0 (the            *
- * "License"); you may not use this file except in compliance   *
- * with the License.  You may obtain a copy of the License at   *
- *                                                              *
- *   http://www.apache.org/licenses/LICENSE-2.0                 *
- *                                                              *
- * Unless required by applicable law or agreed to in writing,   *
- * software distributed under the License is distributed on an  *
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *
- * KIND, either express or implied.  See the License for the    *
- * specific language governing permissions and limitations      *
- * under the License.                                           *
- ****************************************************************/
-
-package org.apache.hupa.shared.data;
-
-import org.apache.hupa.shared.domain.CreateFolderAction;
-import org.apache.hupa.shared.domain.ImapFolder;
-
-public class CreateFolderActionImpl implements CreateFolderAction{
-
-    private ImapFolder folder;
-    public CreateFolderActionImpl() {
-    }
-    public CreateFolderActionImpl(ImapFolder folder) {
-        this.folder = folder;
-    }
-    @Override
-    public ImapFolder getFolder() {
-        return folder;
-    }
-    @Override
-    public void setFolder(ImapFolder folder) {
-        this.folder = folder;
-    }
-}
+/****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one   *
+ * or more contributor license agreements.  See the NOTICE file *
+ * distributed with this work for additional information        *
+ * regarding copyright ownership.  The ASF licenses this file   *
+ * to you under the Apache License, Version 2.0 (the            *
+ * "License"); you may not use this file except in compliance   *
+ * with the License.  You may obtain a copy of the License at   *
+ *                                                              *
+ *   http://www.apache.org/licenses/LICENSE-2.0                 *
+ *                                                              *
+ * Unless required by applicable law or agreed to in writing,   *
+ * software distributed under the License is distributed on an  *
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *
+ * KIND, either express or implied.  See the License for the    *
+ * specific language governing permissions and limitations      *
+ * under the License.                                           *
+ ****************************************************************/
+
+package org.apache.hupa.shared.data;
+
+import org.apache.hupa.shared.domain.CreateFolderAction;
+import org.apache.hupa.shared.domain.ImapFolder;
+
+public class CreateFolderActionImpl implements CreateFolderAction{
+
+    private ImapFolder folder;
+    public CreateFolderActionImpl() {
+    }
+    public CreateFolderActionImpl(ImapFolder folder) {
+        this.folder = folder;
+    }
+    @Override
+    public ImapFolder getFolder() {
+        return folder;
+    }
+    @Override
+    public void setFolder(ImapFolder folder) {
+        this.folder = folder;
+    }
+}

Modified: james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/DeleteFolderActionImpl.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/DeleteFolderActionImpl.java?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/DeleteFolderActionImpl.java (original)
+++ james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/DeleteFolderActionImpl.java Thu Mar 20 08:16:02 2014
@@ -1,41 +1,41 @@
-/****************************************************************
- * Licensed to the Apache Software Foundation (ASF) under one   *
- * or more contributor license agreements.  See the NOTICE file *
- * distributed with this work for additional information        *
- * regarding copyright ownership.  The ASF licenses this file   *
- * to you under the Apache License, Version 2.0 (the            *
- * "License"); you may not use this file except in compliance   *
- * with the License.  You may obtain a copy of the License at   *
- *                                                              *
- *   http://www.apache.org/licenses/LICENSE-2.0                 *
- *                                                              *
- * Unless required by applicable law or agreed to in writing,   *
- * software distributed under the License is distributed on an  *
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *
- * KIND, either express or implied.  See the License for the    *
- * specific language governing permissions and limitations      *
- * under the License.                                           *
- ****************************************************************/
-
-package org.apache.hupa.shared.data;
-
-import org.apache.hupa.shared.domain.DeleteFolderAction;
-import org.apache.hupa.shared.domain.ImapFolder;
-
-public class DeleteFolderActionImpl implements DeleteFolderAction{
-
-    private ImapFolder folder;
-    public DeleteFolderActionImpl() {
-    }
-    public DeleteFolderActionImpl(ImapFolder folder) {
-        this.folder = folder;
-    }
-    @Override
-    public ImapFolder getFolder() {
-        return folder;
-    }
-    @Override
-    public void setFolder(ImapFolder folder) {
-        this.folder = folder;
-    }
-}
+/****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one   *
+ * or more contributor license agreements.  See the NOTICE file *
+ * distributed with this work for additional information        *
+ * regarding copyright ownership.  The ASF licenses this file   *
+ * to you under the Apache License, Version 2.0 (the            *
+ * "License"); you may not use this file except in compliance   *
+ * with the License.  You may obtain a copy of the License at   *
+ *                                                              *
+ *   http://www.apache.org/licenses/LICENSE-2.0                 *
+ *                                                              *
+ * Unless required by applicable law or agreed to in writing,   *
+ * software distributed under the License is distributed on an  *
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *
+ * KIND, either express or implied.  See the License for the    *
+ * specific language governing permissions and limitations      *
+ * under the License.                                           *
+ ****************************************************************/
+
+package org.apache.hupa.shared.data;
+
+import org.apache.hupa.shared.domain.DeleteFolderAction;
+import org.apache.hupa.shared.domain.ImapFolder;
+
+public class DeleteFolderActionImpl implements DeleteFolderAction{
+
+    private ImapFolder folder;
+    public DeleteFolderActionImpl() {
+    }
+    public DeleteFolderActionImpl(ImapFolder folder) {
+        this.folder = folder;
+    }
+    @Override
+    public ImapFolder getFolder() {
+        return folder;
+    }
+    @Override
+    public void setFolder(ImapFolder folder) {
+        this.folder = folder;
+    }
+}

Modified: james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/DeleteMessageActionImpl.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/DeleteMessageActionImpl.java?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/DeleteMessageActionImpl.java (original)
+++ james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/DeleteMessageActionImpl.java Thu Mar 20 08:16:02 2014
@@ -1,44 +1,44 @@
-/****************************************************************
- * Licensed to the Apache Software Foundation (ASF) under one   *
- * or more contributor license agreements.  See the NOTICE file *
- * distributed with this work for additional information        *
- * regarding copyright ownership.  The ASF licenses this file   *
- * to you under the Apache License, Version 2.0 (the            *
- * "License"); you may not use this file except in compliance   *
- * with the License.  You may obtain a copy of the License at   *
- *                                                              *
- *   http://www.apache.org/licenses/LICENSE-2.0                 *
- *                                                              *
- * Unless required by applicable law or agreed to in writing,   *
- * software distributed under the License is distributed on an  *
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *
- * KIND, either express or implied.  See the License for the    *
- * specific language governing permissions and limitations      *
- * under the License.                                           *
- ****************************************************************/
-
-package org.apache.hupa.shared.data;
-
-import org.apache.hupa.shared.domain.DeleteMessageAction;
-import org.apache.hupa.shared.domain.ImapFolder;
-
-public class DeleteMessageActionImpl implements DeleteMessageAction {
-
-    protected ImapFolder folder;
-
-    public DeleteMessageActionImpl() {
-    }
-    public DeleteMessageActionImpl(ImapFolder folder) {
-        this.folder = folder;
-    }
-
-    @Override
-    public ImapFolder getFolder() {
-        return folder;
-    }
-    @Override
-    public void setFolder(ImapFolder folder) {
-        this.folder = folder;
-    }
-
-}
+/****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one   *
+ * or more contributor license agreements.  See the NOTICE file *
+ * distributed with this work for additional information        *
+ * regarding copyright ownership.  The ASF licenses this file   *
+ * to you under the Apache License, Version 2.0 (the            *
+ * "License"); you may not use this file except in compliance   *
+ * with the License.  You may obtain a copy of the License at   *
+ *                                                              *
+ *   http://www.apache.org/licenses/LICENSE-2.0                 *
+ *                                                              *
+ * Unless required by applicable law or agreed to in writing,   *
+ * software distributed under the License is distributed on an  *
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *
+ * KIND, either express or implied.  See the License for the    *
+ * specific language governing permissions and limitations      *
+ * under the License.                                           *
+ ****************************************************************/
+
+package org.apache.hupa.shared.data;
+
+import org.apache.hupa.shared.domain.DeleteMessageAction;
+import org.apache.hupa.shared.domain.ImapFolder;
+
+public class DeleteMessageActionImpl implements DeleteMessageAction {
+
+    protected ImapFolder folder;
+
+    public DeleteMessageActionImpl() {
+    }
+    public DeleteMessageActionImpl(ImapFolder folder) {
+        this.folder = folder;
+    }
+
+    @Override
+    public ImapFolder getFolder() {
+        return folder;
+    }
+    @Override
+    public void setFolder(ImapFolder folder) {
+        this.folder = folder;
+    }
+
+}

Modified: james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/DeleteMessageAllActionImpl.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/DeleteMessageAllActionImpl.java?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/DeleteMessageAllActionImpl.java (original)
+++ james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/DeleteMessageAllActionImpl.java Thu Mar 20 08:16:02 2014
@@ -1,30 +1,30 @@
-/****************************************************************
- * Licensed to the Apache Software Foundation (ASF) under one   *
- * or more contributor license agreements.  See the NOTICE file *
- * distributed with this work for additional information        *
- * regarding copyright ownership.  The ASF licenses this file   *
- * to you under the Apache License, Version 2.0 (the            *
- * "License"); you may not use this file except in compliance   *
- * with the License.  You may obtain a copy of the License at   *
- *                                                              *
- *   http://www.apache.org/licenses/LICENSE-2.0                 *
- *                                                              *
- * Unless required by applicable law or agreed to in writing,   *
- * software distributed under the License is distributed on an  *
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *
- * KIND, either express or implied.  See the License for the    *
- * specific language governing permissions and limitations      *
- * under the License.                                           *
- ****************************************************************/
-
-package org.apache.hupa.shared.data;
-
-import org.apache.hupa.shared.domain.DeleteMessageAllAction;
-import org.apache.hupa.shared.domain.ImapFolder;
-
-public class DeleteMessageAllActionImpl extends DeleteMessageActionImpl implements DeleteMessageAllAction {
-    public DeleteMessageAllActionImpl(){}
-    public DeleteMessageAllActionImpl(ImapFolder folder){
-        super(folder);
-    }
-}
+/****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one   *
+ * or more contributor license agreements.  See the NOTICE file *
+ * distributed with this work for additional information        *
+ * regarding copyright ownership.  The ASF licenses this file   *
+ * to you under the Apache License, Version 2.0 (the            *
+ * "License"); you may not use this file except in compliance   *
+ * with the License.  You may obtain a copy of the License at   *
+ *                                                              *
+ *   http://www.apache.org/licenses/LICENSE-2.0                 *
+ *                                                              *
+ * Unless required by applicable law or agreed to in writing,   *
+ * software distributed under the License is distributed on an  *
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *
+ * KIND, either express or implied.  See the License for the    *
+ * specific language governing permissions and limitations      *
+ * under the License.                                           *
+ ****************************************************************/
+
+package org.apache.hupa.shared.data;
+
+import org.apache.hupa.shared.domain.DeleteMessageAllAction;
+import org.apache.hupa.shared.domain.ImapFolder;
+
+public class DeleteMessageAllActionImpl extends DeleteMessageActionImpl implements DeleteMessageAllAction {
+    public DeleteMessageAllActionImpl(){}
+    public DeleteMessageAllActionImpl(ImapFolder folder){
+        super(folder);
+    }
+}

Modified: james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/DeleteMessageByUidActionImpl.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/DeleteMessageByUidActionImpl.java?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/DeleteMessageByUidActionImpl.java (original)
+++ james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/DeleteMessageByUidActionImpl.java Thu Mar 20 08:16:02 2014
@@ -1,47 +1,47 @@
-/****************************************************************
- * Licensed to the Apache Software Foundation (ASF) under one   *
- * or more contributor license agreements.  See the NOTICE file *
- * distributed with this work for additional information        *
- * regarding copyright ownership.  The ASF licenses this file   *
- * to you under the Apache License, Version 2.0 (the            *
- * "License"); you may not use this file except in compliance   *
- * with the License.  You may obtain a copy of the License at   *
- *                                                              *
- *   http://www.apache.org/licenses/LICENSE-2.0                 *
- *                                                              *
- * Unless required by applicable law or agreed to in writing,   *
- * software distributed under the License is distributed on an  *
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *
- * KIND, either express or implied.  See the License for the    *
- * specific language governing permissions and limitations      *
- * under the License.                                           *
- ****************************************************************/
-
-package org.apache.hupa.shared.data;
-
-import java.util.List;
-
-import org.apache.hupa.shared.domain.DeleteMessageByUidAction;
-import org.apache.hupa.shared.domain.ImapFolder;
-
-public class DeleteMessageByUidActionImpl extends DeleteMessageActionImpl implements DeleteMessageByUidAction {
-    
-    public DeleteMessageByUidActionImpl(){}
-    public DeleteMessageByUidActionImpl(ImapFolder folder, List<Long> messageUids){
-        super(folder);
-        this.messageUids = messageUids;
-    }
-
-    private List<Long> messageUids;
-
-    @Override
-    public List<Long> getMessageUids() {
-        return messageUids;
-    }
-
-    @Override
-    public void setMessageUids(List<Long> messageUids) {
-        this.messageUids = messageUids;
-    }
-
-}
+/****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one   *
+ * or more contributor license agreements.  See the NOTICE file *
+ * distributed with this work for additional information        *
+ * regarding copyright ownership.  The ASF licenses this file   *
+ * to you under the Apache License, Version 2.0 (the            *
+ * "License"); you may not use this file except in compliance   *
+ * with the License.  You may obtain a copy of the License at   *
+ *                                                              *
+ *   http://www.apache.org/licenses/LICENSE-2.0                 *
+ *                                                              *
+ * Unless required by applicable law or agreed to in writing,   *
+ * software distributed under the License is distributed on an  *
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *
+ * KIND, either express or implied.  See the License for the    *
+ * specific language governing permissions and limitations      *
+ * under the License.                                           *
+ ****************************************************************/
+
+package org.apache.hupa.shared.data;
+
+import java.util.List;
+
+import org.apache.hupa.shared.domain.DeleteMessageByUidAction;
+import org.apache.hupa.shared.domain.ImapFolder;
+
+public class DeleteMessageByUidActionImpl extends DeleteMessageActionImpl implements DeleteMessageByUidAction {
+
+    public DeleteMessageByUidActionImpl(){}
+    public DeleteMessageByUidActionImpl(ImapFolder folder, List<Long> messageUids){
+        super(folder);
+        this.messageUids = messageUids;
+    }
+
+    private List<Long> messageUids;
+
+    @Override
+    public List<Long> getMessageUids() {
+        return messageUids;
+    }
+
+    @Override
+    public void setMessageUids(List<Long> messageUids) {
+        this.messageUids = messageUids;
+    }
+
+}

Modified: james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/DeleteMessageResultImpl.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/DeleteMessageResultImpl.java?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/DeleteMessageResultImpl.java (original)
+++ james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/DeleteMessageResultImpl.java Thu Mar 20 08:16:02 2014
@@ -1,55 +1,55 @@
-/****************************************************************
- * Licensed to the Apache Software Foundation (ASF) under one   *
- * or more contributor license agreements.  See the NOTICE file *
- * distributed with this work for additional information        *
- * regarding copyright ownership.  The ASF licenses this file   *
- * to you under the Apache License, Version 2.0 (the            *
- * "License"); you may not use this file except in compliance   *
- * with the License.  You may obtain a copy of the License at   *
- *                                                              *
- *   http://www.apache.org/licenses/LICENSE-2.0                 *
- *                                                              *
- * Unless required by applicable law or agreed to in writing,   *
- * software distributed under the License is distributed on an  *
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *
- * KIND, either express or implied.  See the License for the    *
- * specific language governing permissions and limitations      *
- * under the License.                                           *
- ****************************************************************/
-
-package org.apache.hupa.shared.data;
-
-import org.apache.hupa.shared.domain.DeleteMessageResult;
-import org.apache.hupa.shared.domain.ImapFolder;
-import org.apache.hupa.shared.domain.User;
-
-public class DeleteMessageResultImpl implements DeleteMessageResult {
-
-    private User user;
-    private ImapFolder folder;
-    private int deleteCount;
-
-    public DeleteMessageResultImpl() {
-    }
-
-    public DeleteMessageResultImpl(User user, ImapFolder folder, int deleteCount) {
-        this.user = user;
-        this.folder = folder;
-        this.deleteCount = deleteCount;
-    }
-    @Override
-    public int getCount() {
-        return deleteCount;
-    }
-
-    @Override
-    public User getUser() {
-        return user;
-    }
-
-    @Override
-    public ImapFolder getFolder() {
-        return folder;
-    }
-
-}
+/****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one   *
+ * or more contributor license agreements.  See the NOTICE file *
+ * distributed with this work for additional information        *
+ * regarding copyright ownership.  The ASF licenses this file   *
+ * to you under the Apache License, Version 2.0 (the            *
+ * "License"); you may not use this file except in compliance   *
+ * with the License.  You may obtain a copy of the License at   *
+ *                                                              *
+ *   http://www.apache.org/licenses/LICENSE-2.0                 *
+ *                                                              *
+ * Unless required by applicable law or agreed to in writing,   *
+ * software distributed under the License is distributed on an  *
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *
+ * KIND, either express or implied.  See the License for the    *
+ * specific language governing permissions and limitations      *
+ * under the License.                                           *
+ ****************************************************************/
+
+package org.apache.hupa.shared.data;
+
+import org.apache.hupa.shared.domain.DeleteMessageResult;
+import org.apache.hupa.shared.domain.ImapFolder;
+import org.apache.hupa.shared.domain.User;
+
+public class DeleteMessageResultImpl implements DeleteMessageResult {
+
+    private User user;
+    private ImapFolder folder;
+    private int deleteCount;
+
+    public DeleteMessageResultImpl() {
+    }
+
+    public DeleteMessageResultImpl(User user, ImapFolder folder, int deleteCount) {
+        this.user = user;
+        this.folder = folder;
+        this.deleteCount = deleteCount;
+    }
+    @Override
+    public int getCount() {
+        return deleteCount;
+    }
+
+    @Override
+    public User getUser() {
+        return user;
+    }
+
+    @Override
+    public ImapFolder getFolder() {
+        return folder;
+    }
+
+}

Modified: james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/FetchMessagesActionImpl.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/FetchMessagesActionImpl.java?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/FetchMessagesActionImpl.java (original)
+++ james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/FetchMessagesActionImpl.java Thu Mar 20 08:16:02 2014
@@ -1,87 +1,87 @@
-/****************************************************************
- * Licensed to the Apache Software Foundation (ASF) under one   *
- * or more contributor license agreements.  See the NOTICE file *
- * distributed with this work for additional information        *
- * regarding copyright ownership.  The ASF licenses this file   *
- * to you under the Apache License, Version 2.0 (the            *
- * "License"); you may not use this file except in compliance   *
- * with the License.  You may obtain a copy of the License at   *
- *                                                              *
- *   http://www.apache.org/licenses/LICENSE-2.0                 *
- *                                                              *
- * Unless required by applicable law or agreed to in writing,   *
- * software distributed under the License is distributed on an  *
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *
- * KIND, either express or implied.  See the License for the    *
- * specific language governing permissions and limitations      *
- * under the License.                                           *
- ****************************************************************/
-
-package org.apache.hupa.shared.data;
-
-import org.apache.hupa.shared.domain.ImapFolder;
-import org.apache.hupa.shared.domain.FetchMessagesAction;
-
-public class FetchMessagesActionImpl implements FetchMessagesAction {
-
-    private ImapFolder folder;
-    private int start;
-    private int offset;
-    private String searchString;
-
-    public FetchMessagesActionImpl() {
-    }
-    
-    @Override
-    public String toString() {
-        return "[" + folder.getFullName() + "," + start + "," + offset + "," + searchString + "]";
-    }
-
-    public FetchMessagesActionImpl(ImapFolder folder, int start, int offset, String searchString) {
-        this.folder = folder;
-        this.start = start;
-        this.offset = offset;
-        this.searchString = searchString;
-    }
-
-    @Override
-    public ImapFolder getFolder() {
-        return folder;
-    }
-
-    @Override
-    public int getStart() {
-        return start;
-    }
-
-    @Override
-    public int getOffset() {
-        return offset;
-    }
-
-    @Override
-    public String getSearchString() {
-        return searchString;
-    }
-
-    @Override
-    public void setFolder(ImapFolder folder) {
-        this.folder = folder;
-    }
-
-    @Override
-    public void setStart(int start) {
-        this.start = start;
-    }
-
-    @Override
-    public void setOffset(int offset) {
-        this.offset = offset;
-    }
-
-    @Override
-    public void setSearchString(String searchString) {
-        this.searchString = searchString;
-    }
-
-}
+/****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one   *
+ * or more contributor license agreements.  See the NOTICE file *
+ * distributed with this work for additional information        *
+ * regarding copyright ownership.  The ASF licenses this file   *
+ * to you under the Apache License, Version 2.0 (the            *
+ * "License"); you may not use this file except in compliance   *
+ * with the License.  You may obtain a copy of the License at   *
+ *                                                              *
+ *   http://www.apache.org/licenses/LICENSE-2.0                 *
+ *                                                              *
+ * Unless required by applicable law or agreed to in writing,   *
+ * software distributed under the License is distributed on an  *
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *
+ * KIND, either express or implied.  See the License for the    *
+ * specific language governing permissions and limitations      *
+ * under the License.                                           *
+ ****************************************************************/
+
+package org.apache.hupa.shared.data;
+
+import org.apache.hupa.shared.domain.ImapFolder;
+import org.apache.hupa.shared.domain.FetchMessagesAction;
+
+public class FetchMessagesActionImpl implements FetchMessagesAction {
+
+    private ImapFolder folder;
+    private int start;
+    private int offset;
+    private String searchString;
+
+    public FetchMessagesActionImpl() {
+    }
+
+    @Override
+    public String toString() {
+        return "[" + folder.getFullName() + "," + start + "," + offset + "," + searchString + "]";
+    }
+
+    public FetchMessagesActionImpl(ImapFolder folder, int start, int offset, String searchString) {
+        this.folder = folder;
+        this.start = start;
+        this.offset = offset;
+        this.searchString = searchString;
+    }
+
+    @Override
+    public ImapFolder getFolder() {
+        return folder;
+    }
+
+    @Override
+    public int getStart() {
+        return start;
+    }
+
+    @Override
+    public int getOffset() {
+        return offset;
+    }
+
+    @Override
+    public String getSearchString() {
+        return searchString;
+    }
+
+    @Override
+    public void setFolder(ImapFolder folder) {
+        this.folder = folder;
+    }
+
+    @Override
+    public void setStart(int start) {
+        this.start = start;
+    }
+
+    @Override
+    public void setOffset(int offset) {
+        this.offset = offset;
+    }
+
+    @Override
+    public void setSearchString(String searchString) {
+        this.searchString = searchString;
+    }
+
+}

Modified: james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/FetchMessagesResultImpl.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/FetchMessagesResultImpl.java?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/FetchMessagesResultImpl.java (original)
+++ james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/FetchMessagesResultImpl.java Thu Mar 20 08:16:02 2014
@@ -1,64 +1,64 @@
-/****************************************************************
- * Licensed to the Apache Software Foundation (ASF) under one   *
- * or more contributor license agreements.  See the NOTICE file *
- * distributed with this work for additional information        *
- * regarding copyright ownership.  The ASF licenses this file   *
- * to you under the Apache License, Version 2.0 (the            *
- * "License"); you may not use this file except in compliance   *
- * with the License.  You may obtain a copy of the License at   *
- *                                                              *
- *   http://www.apache.org/licenses/LICENSE-2.0                 *
- *                                                              *
- * Unless required by applicable law or agreed to in writing,   *
- * software distributed under the License is distributed on an  *
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *
- * KIND, either express or implied.  See the License for the    *
- * specific language governing permissions and limitations      *
- * under the License.                                           *
- ****************************************************************/
-
-package org.apache.hupa.shared.data;
-
-import java.util.List;
-
-import org.apache.hupa.shared.domain.Message;
-import org.apache.hupa.shared.domain.FetchMessagesResult;
-
-public class FetchMessagesResultImpl implements FetchMessagesResult {
-
-    public FetchMessagesResultImpl() {
-    }
-
-    public FetchMessagesResultImpl(List<Message> messages, int start, int offset, int realCount, int realUnreadCount) {
-        this.messages = messages;
-        this.start = start;
-        this.offset = offset;
-        this.realCount = realCount;
-        this.realUnreadCount = realUnreadCount;
-    }
-
-    private List<Message> messages;
-    private int start;
-    private int offset;
-    private int realCount;
-    private int realUnreadCount;
-
-    public int getOffset() {
-        return offset;
-    }
-
-    public int getStart() {
-        return start;
-    }
-
-    public List<Message> getMessages() {
-        return messages;
-    }
-    public int getRealCount() {
-        return realCount;
-    }
-
-    public int getRealUnreadCount() {
-        return realUnreadCount;
-    }
-}
+/****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one   *
+ * or more contributor license agreements.  See the NOTICE file *
+ * distributed with this work for additional information        *
+ * regarding copyright ownership.  The ASF licenses this file   *
+ * to you under the Apache License, Version 2.0 (the            *
+ * "License"); you may not use this file except in compliance   *
+ * with the License.  You may obtain a copy of the License at   *
+ *                                                              *
+ *   http://www.apache.org/licenses/LICENSE-2.0                 *
+ *                                                              *
+ * Unless required by applicable law or agreed to in writing,   *
+ * software distributed under the License is distributed on an  *
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *
+ * KIND, either express or implied.  See the License for the    *
+ * specific language governing permissions and limitations      *
+ * under the License.                                           *
+ ****************************************************************/
+
+package org.apache.hupa.shared.data;
+
+import java.util.List;
+
+import org.apache.hupa.shared.domain.Message;
+import org.apache.hupa.shared.domain.FetchMessagesResult;
+
+public class FetchMessagesResultImpl implements FetchMessagesResult {
+
+    public FetchMessagesResultImpl() {
+    }
+
+    public FetchMessagesResultImpl(List<Message> messages, int start, int offset, int realCount, int realUnreadCount) {
+        this.messages = messages;
+        this.start = start;
+        this.offset = offset;
+        this.realCount = realCount;
+        this.realUnreadCount = realUnreadCount;
+    }
+
+    private List<Message> messages;
+    private int start;
+    private int offset;
+    private int realCount;
+    private int realUnreadCount;
+
+    public int getOffset() {
+        return offset;
+    }
+
+    public int getStart() {
+        return start;
+    }
+
+    public List<Message> getMessages() {
+        return messages;
+    }
+    public int getRealCount() {
+        return realCount;
+    }
+
+    public int getRealUnreadCount() {
+        return realUnreadCount;
+    }
+}

Modified: james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/GenericResultImpl.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/GenericResultImpl.java?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/GenericResultImpl.java (original)
+++ james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/GenericResultImpl.java Thu Mar 20 08:16:02 2014
@@ -1,62 +1,62 @@
-/****************************************************************
- * Licensed to the Apache Software Foundation (ASF) under one   *
- * or more contributor license agreements.  See the NOTICE file *
- * distributed with this work for additional information        *
- * regarding copyright ownership.  The ASF licenses this file   *
- * to you under the Apache License, Version 2.0 (the            *
- * "License"); you may not use this file except in compliance   *
- * with the License.  You may obtain a copy of the License at   *
- *                                                              *
- *   http://www.apache.org/licenses/LICENSE-2.0                 *
- *                                                              *
- * Unless required by applicable law or agreed to in writing,   *
- * software distributed under the License is distributed on an  *
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *
- * KIND, either express or implied.  See the License for the    *
- * specific language governing permissions and limitations      *
- * under the License.                                           *
- ****************************************************************/
-
-package org.apache.hupa.shared.data;
-
-import org.apache.hupa.shared.domain.GenericResult;
-
-public class GenericResultImpl implements GenericResult {
-
-    private String message = null;
-    private boolean success = true;
-
-    public GenericResultImpl() {
-    }
-    public GenericResultImpl(String message, boolean success) {
-        this.message = message;
-        this.success = success;
-    }
-    @Override
-    public String getMessage() {
-        return message;
-    }
-
-    @Override
-    public boolean isSuccess() {
-        return success;
-    }
-
-    @Override
-    public void setMessage(String message) {
-        this.message = message;
-
-    }
-
-    @Override
-    public void setSuccess(boolean success) {
-        this.success = success;
-    }
-
-    @Override
-    public void setError(String message) {
-        setMessage(message);
-        setSuccess(false);
-    }
-
-}
+/****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one   *
+ * or more contributor license agreements.  See the NOTICE file *
+ * distributed with this work for additional information        *
+ * regarding copyright ownership.  The ASF licenses this file   *
+ * to you under the Apache License, Version 2.0 (the            *
+ * "License"); you may not use this file except in compliance   *
+ * with the License.  You may obtain a copy of the License at   *
+ *                                                              *
+ *   http://www.apache.org/licenses/LICENSE-2.0                 *
+ *                                                              *
+ * Unless required by applicable law or agreed to in writing,   *
+ * software distributed under the License is distributed on an  *
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *
+ * KIND, either express or implied.  See the License for the    *
+ * specific language governing permissions and limitations      *
+ * under the License.                                           *
+ ****************************************************************/
+
+package org.apache.hupa.shared.data;
+
+import org.apache.hupa.shared.domain.GenericResult;
+
+public class GenericResultImpl implements GenericResult {
+
+    private String message = null;
+    private boolean success = true;
+
+    public GenericResultImpl() {
+    }
+    public GenericResultImpl(String message, boolean success) {
+        this.message = message;
+        this.success = success;
+    }
+    @Override
+    public String getMessage() {
+        return message;
+    }
+
+    @Override
+    public boolean isSuccess() {
+        return success;
+    }
+
+    @Override
+    public void setMessage(String message) {
+        this.message = message;
+
+    }
+
+    @Override
+    public void setSuccess(boolean success) {
+        this.success = success;
+    }
+
+    @Override
+    public void setError(String message) {
+        setMessage(message);
+        setSuccess(false);
+    }
+
+}

Modified: james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/GetMessageDetailsActionImpl.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/GetMessageDetailsActionImpl.java?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/GetMessageDetailsActionImpl.java (original)
+++ james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/GetMessageDetailsActionImpl.java Thu Mar 20 08:16:02 2014
@@ -1,54 +1,54 @@
-/****************************************************************
- * Licensed to the Apache Software Foundation (ASF) under one   *
- * or more contributor license agreements.  See the NOTICE file *
- * distributed with this work for additional information        *
- * regarding copyright ownership.  The ASF licenses this file   *
- * to you under the Apache License, Version 2.0 (the            *
- * "License"); you may not use this file except in compliance   *
- * with the License.  You may obtain a copy of the License at   *
- *                                                              *
- *   http://www.apache.org/licenses/LICENSE-2.0                 *
- *                                                              *
- * Unless required by applicable law or agreed to in writing,   *
- * software distributed under the License is distributed on an  *
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *
- * KIND, either express or implied.  See the License for the    *
- * specific language governing permissions and limitations      *
- * under the License.                                           *
- ****************************************************************/
-
-package org.apache.hupa.shared.data;
-
-import org.apache.hupa.shared.domain.GetMessageDetailsAction;
-import org.apache.hupa.shared.domain.ImapFolder;
-
-public class GetMessageDetailsActionImpl implements GetMessageDetailsAction {
-    public GetMessageDetailsActionImpl() {
-        super();
-    }
-    public GetMessageDetailsActionImpl(ImapFolder folder, long uid) {
-        super();
-        this.folder = folder;
-        this.uid = uid;
-    }
-
-    private ImapFolder folder;
-    private long uid;
-
-    @Override
-    public ImapFolder getFolder() {
-        return folder;
-    }
-    @Override
-    public void setFolder(ImapFolder folder) {
-        this.folder = folder;
-    }
-    @Override
-    public long getUid() {
-        return uid;
-    }
-    @Override
-    public void setUid(long uid) {
-        this.uid = uid;
-    }
-}
+/****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one   *
+ * or more contributor license agreements.  See the NOTICE file *
+ * distributed with this work for additional information        *
+ * regarding copyright ownership.  The ASF licenses this file   *
+ * to you under the Apache License, Version 2.0 (the            *
+ * "License"); you may not use this file except in compliance   *
+ * with the License.  You may obtain a copy of the License at   *
+ *                                                              *
+ *   http://www.apache.org/licenses/LICENSE-2.0                 *
+ *                                                              *
+ * Unless required by applicable law or agreed to in writing,   *
+ * software distributed under the License is distributed on an  *
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *
+ * KIND, either express or implied.  See the License for the    *
+ * specific language governing permissions and limitations      *
+ * under the License.                                           *
+ ****************************************************************/
+
+package org.apache.hupa.shared.data;
+
+import org.apache.hupa.shared.domain.GetMessageDetailsAction;
+import org.apache.hupa.shared.domain.ImapFolder;
+
+public class GetMessageDetailsActionImpl implements GetMessageDetailsAction {
+    public GetMessageDetailsActionImpl() {
+        super();
+    }
+    public GetMessageDetailsActionImpl(ImapFolder folder, long uid) {
+        super();
+        this.folder = folder;
+        this.uid = uid;
+    }
+
+    private ImapFolder folder;
+    private long uid;
+
+    @Override
+    public ImapFolder getFolder() {
+        return folder;
+    }
+    @Override
+    public void setFolder(ImapFolder folder) {
+        this.folder = folder;
+    }
+    @Override
+    public long getUid() {
+        return uid;
+    }
+    @Override
+    public void setUid(long uid) {
+        this.uid = uid;
+    }
+}

Modified: james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/GetMessageDetailsResultImpl.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/GetMessageDetailsResultImpl.java?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/GetMessageDetailsResultImpl.java (original)
+++ james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/GetMessageDetailsResultImpl.java Thu Mar 20 08:16:02 2014
@@ -1,46 +1,46 @@
-/****************************************************************
- * Licensed to the Apache Software Foundation (ASF) under one   *
- * or more contributor license agreements.  See the NOTICE file *
- * distributed with this work for additional information        *
- * regarding copyright ownership.  The ASF licenses this file   *
- * to you under the Apache License, Version 2.0 (the            *
- * "License"); you may not use this file except in compliance   *
- * with the License.  You may obtain a copy of the License at   *
- *                                                              *
- *   http://www.apache.org/licenses/LICENSE-2.0                 *
- *                                                              *
- * Unless required by applicable law or agreed to in writing,   *
- * software distributed under the License is distributed on an  *
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *
- * KIND, either express or implied.  See the License for the    *
- * specific language governing permissions and limitations      *
- * under the License.                                           *
- ****************************************************************/
-
-package org.apache.hupa.shared.data;
-
-import org.apache.hupa.shared.domain.GetMessageDetailsResult;
-import org.apache.hupa.shared.domain.MessageDetails;
-
-public class GetMessageDetailsResultImpl implements GetMessageDetailsResult{
-    private MessageDetails messageDetails;
-
-    public GetMessageDetailsResultImpl() {
-        super();
-    }
-
-    public GetMessageDetailsResultImpl(MessageDetails messageDetails) {
-        super();
-        this.messageDetails = messageDetails;
-    }
-
-    @Override
-    public MessageDetails getMessageDetails() {
-        return messageDetails;
-    }
-
-    @Override
-    public void setMessageDetails(MessageDetails messageDetails) {
-        this.messageDetails = messageDetails;
-    }
-}
+/****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one   *
+ * or more contributor license agreements.  See the NOTICE file *
+ * distributed with this work for additional information        *
+ * regarding copyright ownership.  The ASF licenses this file   *
+ * to you under the Apache License, Version 2.0 (the            *
+ * "License"); you may not use this file except in compliance   *
+ * with the License.  You may obtain a copy of the License at   *
+ *                                                              *
+ *   http://www.apache.org/licenses/LICENSE-2.0                 *
+ *                                                              *
+ * Unless required by applicable law or agreed to in writing,   *
+ * software distributed under the License is distributed on an  *
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *
+ * KIND, either express or implied.  See the License for the    *
+ * specific language governing permissions and limitations      *
+ * under the License.                                           *
+ ****************************************************************/
+
+package org.apache.hupa.shared.data;
+
+import org.apache.hupa.shared.domain.GetMessageDetailsResult;
+import org.apache.hupa.shared.domain.MessageDetails;
+
+public class GetMessageDetailsResultImpl implements GetMessageDetailsResult{
+    private MessageDetails messageDetails;
+
+    public GetMessageDetailsResultImpl() {
+        super();
+    }
+
+    public GetMessageDetailsResultImpl(MessageDetails messageDetails) {
+        super();
+        this.messageDetails = messageDetails;
+    }
+
+    @Override
+    public MessageDetails getMessageDetails() {
+        return messageDetails;
+    }
+
+    @Override
+    public void setMessageDetails(MessageDetails messageDetails) {
+        this.messageDetails = messageDetails;
+    }
+}

Modified: james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/GetMessageRawActionImpl.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/GetMessageRawActionImpl.java?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/GetMessageRawActionImpl.java (original)
+++ james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/GetMessageRawActionImpl.java Thu Mar 20 08:16:02 2014
@@ -1,60 +1,60 @@
-/****************************************************************
- * Licensed to the Apache Software Foundation (ASF) under one   *
- * or more contributor license agreements.  See the NOTICE file *
- * distributed with this work for additional information        *
- * regarding copyright ownership.  The ASF licenses this file   *
- * to you under the Apache License, Version 2.0 (the            *
- * "License"); you may not use this file except in compliance   *
- * with the License.  You may obtain a copy of the License at   *
- *                                                              *
- *   http://www.apache.org/licenses/LICENSE-2.0                 *
- *                                                              *
- * Unless required by applicable law or agreed to in writing,   *
- * software distributed under the License is distributed on an  *
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *
- * KIND, either express or implied.  See the License for the    *
- * specific language governing permissions and limitations      *
- * under the License.                                           *
- ****************************************************************/
-
-package org.apache.hupa.shared.data;
-
-import org.apache.hupa.shared.domain.GetMessageRawAction;
-import org.apache.hupa.shared.domain.ImapFolder;
-
-public class GetMessageRawActionImpl implements GetMessageRawAction {
-
-    private ImapFolder folder;
-    private long uid;
-
-    public GetMessageRawActionImpl(ImapFolder folder, long uid) {
-        this.folder = folder;
-        this.uid = uid;
-    }
-
-    public GetMessageRawActionImpl() {
-    }
-    
-    public ImapFolder getFolder() {
-        return folder;
-    }
-    
-    public long getUid() {
-        return uid;
-    }
-    
-    public boolean equals(Object obj) {
-        if (obj instanceof GetMessageRawAction) {
-            GetMessageRawAction action = (GetMessageRawAction) obj;
-            if (action.getFolder().equals(getFolder()) && action.getUid() == getUid()) {
-                return true;
-            }
-        }
-        return false;
-    }
-    
-    public int hashCode() {
-        return (int) (getFolder().hashCode() * getUid());
-    }
-    
-}
+/****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one   *
+ * or more contributor license agreements.  See the NOTICE file *
+ * distributed with this work for additional information        *
+ * regarding copyright ownership.  The ASF licenses this file   *
+ * to you under the Apache License, Version 2.0 (the            *
+ * "License"); you may not use this file except in compliance   *
+ * with the License.  You may obtain a copy of the License at   *
+ *                                                              *
+ *   http://www.apache.org/licenses/LICENSE-2.0                 *
+ *                                                              *
+ * Unless required by applicable law or agreed to in writing,   *
+ * software distributed under the License is distributed on an  *
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *
+ * KIND, either express or implied.  See the License for the    *
+ * specific language governing permissions and limitations      *
+ * under the License.                                           *
+ ****************************************************************/
+
+package org.apache.hupa.shared.data;
+
+import org.apache.hupa.shared.domain.GetMessageRawAction;
+import org.apache.hupa.shared.domain.ImapFolder;
+
+public class GetMessageRawActionImpl implements GetMessageRawAction {
+
+    private ImapFolder folder;
+    private long uid;
+
+    public GetMessageRawActionImpl(ImapFolder folder, long uid) {
+        this.folder = folder;
+        this.uid = uid;
+    }
+
+    public GetMessageRawActionImpl() {
+    }
+
+    public ImapFolder getFolder() {
+        return folder;
+    }
+
+    public long getUid() {
+        return uid;
+    }
+
+    public boolean equals(Object obj) {
+        if (obj instanceof GetMessageRawAction) {
+            GetMessageRawAction action = (GetMessageRawAction) obj;
+            if (action.getFolder().equals(getFolder()) && action.getUid() == getUid()) {
+                return true;
+            }
+        }
+        return false;
+    }
+
+    public int hashCode() {
+        return (int) (getFolder().hashCode() * getUid());
+    }
+
+}

Modified: james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/GetMessageRawResultImpl.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/GetMessageRawResultImpl.java?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/GetMessageRawResultImpl.java (original)
+++ james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/GetMessageRawResultImpl.java Thu Mar 20 08:16:02 2014
@@ -1,39 +1,39 @@
-/****************************************************************
- * Licensed to the Apache Software Foundation (ASF) under one   *
- * or more contributor license agreements.  See the NOTICE file *
- * distributed with this work for additional information        *
- * regarding copyright ownership.  The ASF licenses this file   *
- * to you under the Apache License, Version 2.0 (the            *
- * "License"); you may not use this file except in compliance   *
- * with the License.  You may obtain a copy of the License at   *
- *                                                              *
- *   http://www.apache.org/licenses/LICENSE-2.0                 *
- *                                                              *
- * Unless required by applicable law or agreed to in writing,   *
- * software distributed under the License is distributed on an  *
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *
- * KIND, either express or implied.  See the License for the    *
- * specific language governing permissions and limitations      *
- * under the License.                                           *
- ****************************************************************/
-
-package org.apache.hupa.shared.data;
-
-import org.apache.hupa.shared.domain.GetMessageRawResult;
-
-public class GetMessageRawResultImpl implements GetMessageRawResult {
-
-    private String rawMessage;
-
-    protected GetMessageRawResultImpl() {
-
-    }
-
-    public GetMessageRawResultImpl(String rawMessage) {
-        this.rawMessage = rawMessage;
-    }
-
-    public String getRawMessage() {
-        return rawMessage;
-    }
-}
+/****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one   *
+ * or more contributor license agreements.  See the NOTICE file *
+ * distributed with this work for additional information        *
+ * regarding copyright ownership.  The ASF licenses this file   *
+ * to you under the Apache License, Version 2.0 (the            *
+ * "License"); you may not use this file except in compliance   *
+ * with the License.  You may obtain a copy of the License at   *
+ *                                                              *
+ *   http://www.apache.org/licenses/LICENSE-2.0                 *
+ *                                                              *
+ * Unless required by applicable law or agreed to in writing,   *
+ * software distributed under the License is distributed on an  *
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *
+ * KIND, either express or implied.  See the License for the    *
+ * specific language governing permissions and limitations      *
+ * under the License.                                           *
+ ****************************************************************/
+
+package org.apache.hupa.shared.data;
+
+import org.apache.hupa.shared.domain.GetMessageRawResult;
+
+public class GetMessageRawResultImpl implements GetMessageRawResult {
+
+    private String rawMessage;
+
+    protected GetMessageRawResultImpl() {
+
+    }
+
+    public GetMessageRawResultImpl(String rawMessage) {
+        this.rawMessage = rawMessage;
+    }
+
+    public String getRawMessage() {
+        return rawMessage;
+    }
+}

Modified: james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/ImapFolderImpl.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/ImapFolderImpl.java?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/ImapFolderImpl.java (original)
+++ james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/ImapFolderImpl.java Thu Mar 20 08:16:02 2014
@@ -37,7 +37,7 @@ public class ImapFolderImpl implements I
 
     public ImapFolderImpl() {
     }
-    
+
     public ImapFolderImpl(ImapFolder folder){
         this.delimiter = folder.getDelimiter();
         this.children = folder.getChildren();
@@ -55,14 +55,14 @@ public class ImapFolderImpl implements I
     public void setSubscribed(boolean subscribed) {
         this.subscribed = subscribed;
     }
-    
+
     public boolean getSubscribed() {
         return subscribed;
     }
-    
+
     /**
      * Get the name of the folder
-     * 
+     *
      * @return name
      */
     public String getName() {
@@ -78,8 +78,8 @@ public class ImapFolderImpl implements I
     }
 
     /**
-     * Set the child folders 
-     * 
+     * Set the child folders
+     *
      * @param children
      */
     public void setChildren(List<ImapFolder> children) {
@@ -88,7 +88,7 @@ public class ImapFolderImpl implements I
 
     /**
      * Return the childs of this folder
-     * 
+     *
      * @return childs
      */
     public List<ImapFolder> getChildren() {
@@ -105,7 +105,7 @@ public class ImapFolderImpl implements I
 
     /**
      * Set the full name of the folder
-     * 
+     *
      * @param fullName
      */
     public void setFullName(String fullName) {
@@ -114,7 +114,7 @@ public class ImapFolderImpl implements I
 
     /**
      * Set the delimiter which is used to seperate folders
-     * 
+     *
      * @param delimiter
      */
     public void setDelimiter(String delimiter) {
@@ -123,7 +123,7 @@ public class ImapFolderImpl implements I
 
     /**
      * Return the delimiter
-     * 
+     *
      * @return delimiter
      */
     public String getDelimiter() {
@@ -132,7 +132,7 @@ public class ImapFolderImpl implements I
 
     /**
      * Return the total message count of the messages that exists within this folder
-     * 
+     *
      * @return msgCount
      */
     public int getMessageCount() {
@@ -141,7 +141,7 @@ public class ImapFolderImpl implements I
 
     /**
      * Set total message count
-     * 
+     *
      * @param msgCount
      */
     public void setMessageCount(int msgCount) {
@@ -150,7 +150,7 @@ public class ImapFolderImpl implements I
 
     /**
      * Set the count of all unseen messages within this folder
-     * 
+     *
      * @param unseenMsgCount
      */
     public void setUnseenMessageCount(int unseenMsgCount) {
@@ -159,7 +159,7 @@ public class ImapFolderImpl implements I
 
     /**
      * Return the unseen message count
-     * 
+     *
      * @return unseenMsgCount
      */
     public int getUnseenMessageCount() {
@@ -170,7 +170,7 @@ public class ImapFolderImpl implements I
     public String toString() {
         return getFullName();
     }
-    
+
     @Override
     public boolean equals(Object o) {
         if (o instanceof ImapFolder) {
@@ -192,7 +192,7 @@ public class ImapFolderImpl implements I
         this.name = name;
     }
 
-    
+
     @Override
     public void setFolderTo(ImapFolder folder) {
         folder.setChildren(this.children);
@@ -208,7 +208,7 @@ public class ImapFolderImpl implements I
     public boolean getHasChildren() {
         return hasChildren;
     }
-    
+
     @Override
     public void setHasChildren(boolean hasChildren){
         this.hasChildren = hasChildren;

Modified: james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/LogoutUserActionImpl.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/LogoutUserActionImpl.java?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/LogoutUserActionImpl.java (original)
+++ james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/LogoutUserActionImpl.java Thu Mar 20 08:16:02 2014
@@ -1,26 +1,26 @@
-/****************************************************************
- * Licensed to the Apache Software Foundation (ASF) under one   *
- * or more contributor license agreements.  See the NOTICE file *
- * distributed with this work for additional information        *
- * regarding copyright ownership.  The ASF licenses this file   *
- * to you under the Apache License, Version 2.0 (the            *
- * "License"); you may not use this file except in compliance   *
- * with the License.  You may obtain a copy of the License at   *
- *                                                              *
- *   http://www.apache.org/licenses/LICENSE-2.0                 *
- *                                                              *
- * Unless required by applicable law or agreed to in writing,   *
- * software distributed under the License is distributed on an  *
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *
- * KIND, either express or implied.  See the License for the    *
- * specific language governing permissions and limitations      *
- * under the License.                                           *
- ****************************************************************/
-
-package org.apache.hupa.shared.data;
-
-import org.apache.hupa.shared.domain.LogoutUserAction;
-
-public class LogoutUserActionImpl implements LogoutUserAction{
-
-}
+/****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one   *
+ * or more contributor license agreements.  See the NOTICE file *
+ * distributed with this work for additional information        *
+ * regarding copyright ownership.  The ASF licenses this file   *
+ * to you under the Apache License, Version 2.0 (the            *
+ * "License"); you may not use this file except in compliance   *
+ * with the License.  You may obtain a copy of the License at   *
+ *                                                              *
+ *   http://www.apache.org/licenses/LICENSE-2.0                 *
+ *                                                              *
+ * Unless required by applicable law or agreed to in writing,   *
+ * software distributed under the License is distributed on an  *
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *
+ * KIND, either express or implied.  See the License for the    *
+ * specific language governing permissions and limitations      *
+ * under the License.                                           *
+ ****************************************************************/
+
+package org.apache.hupa.shared.data;
+
+import org.apache.hupa.shared.domain.LogoutUserAction;
+
+public class LogoutUserActionImpl implements LogoutUserAction{
+
+}

Modified: james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/LogoutUserResultImpl.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/LogoutUserResultImpl.java?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/LogoutUserResultImpl.java (original)
+++ james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/LogoutUserResultImpl.java Thu Mar 20 08:16:02 2014
@@ -1,39 +1,39 @@
-/****************************************************************
- * Licensed to the Apache Software Foundation (ASF) under one   *
- * or more contributor license agreements.  See the NOTICE file *
- * distributed with this work for additional information        *
- * regarding copyright ownership.  The ASF licenses this file   *
- * to you under the Apache License, Version 2.0 (the            *
- * "License"); you may not use this file except in compliance   *
- * with the License.  You may obtain a copy of the License at   *
- *                                                              *
- *   http://www.apache.org/licenses/LICENSE-2.0                 *
- *                                                              *
- * Unless required by applicable law or agreed to in writing,   *
- * software distributed under the License is distributed on an  *
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *
- * KIND, either express or implied.  See the License for the    *
- * specific language governing permissions and limitations      *
- * under the License.                                           *
- ****************************************************************/
-
-package org.apache.hupa.shared.data;
-
-import org.apache.hupa.shared.domain.LogoutUserResult;
-import org.apache.hupa.shared.domain.User;
-
-public class LogoutUserResultImpl implements LogoutUserResult{
-
-    private User user;
-
-    public LogoutUserResultImpl(User user) {
-        this.user = user;
-    }
-
-    public LogoutUserResultImpl() {
-    }
-
-    public User getUser() {
-        return user;
-    }
-}
+/****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one   *
+ * or more contributor license agreements.  See the NOTICE file *
+ * distributed with this work for additional information        *
+ * regarding copyright ownership.  The ASF licenses this file   *
+ * to you under the Apache License, Version 2.0 (the            *
+ * "License"); you may not use this file except in compliance   *
+ * with the License.  You may obtain a copy of the License at   *
+ *                                                              *
+ *   http://www.apache.org/licenses/LICENSE-2.0                 *
+ *                                                              *
+ * Unless required by applicable law or agreed to in writing,   *
+ * software distributed under the License is distributed on an  *
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *
+ * KIND, either express or implied.  See the License for the    *
+ * specific language governing permissions and limitations      *
+ * under the License.                                           *
+ ****************************************************************/
+
+package org.apache.hupa.shared.data;
+
+import org.apache.hupa.shared.domain.LogoutUserResult;
+import org.apache.hupa.shared.domain.User;
+
+public class LogoutUserResultImpl implements LogoutUserResult{
+
+    private User user;
+
+    public LogoutUserResultImpl(User user) {
+        this.user = user;
+    }
+
+    public LogoutUserResultImpl() {
+    }
+
+    public User getUser() {
+        return user;
+    }
+}

Modified: james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/MailHeaderImpl.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/MailHeaderImpl.java?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/MailHeaderImpl.java (original)
+++ james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/MailHeaderImpl.java Thu Mar 20 08:16:02 2014
@@ -1,56 +1,56 @@
-/****************************************************************
- * Licensed to the Apache Software Foundation (ASF) under one   *
- * or more contributor license agreements.  See the NOTICE file *
- * distributed with this work for additional information        *
- * regarding copyright ownership.  The ASF licenses this file   *
- * to you under the Apache License, Version 2.0 (the            *
- * "License"); you may not use this file except in compliance   *
- * with the License.  You may obtain a copy of the License at   *
- *                                                              *
- *   http://www.apache.org/licenses/LICENSE-2.0                 *
- *                                                              *
- * Unless required by applicable law or agreed to in writing,   *
- * software distributed under the License is distributed on an  *
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *
- * KIND, either express or implied.  See the License for the    *
- * specific language governing permissions and limitations      *
- * under the License.                                           *
- ****************************************************************/
-
-package org.apache.hupa.shared.data;
-
-import org.apache.hupa.shared.domain.MailHeader;
-
-public class MailHeaderImpl implements MailHeader {
-
-    private String name;
-    private String value;
-
-    public MailHeaderImpl(String name, String value) {
-        this.name = name;
-        this.value = value;
-    }
-
-    public MailHeaderImpl() {
-    }
-
-    @Override
-    public String getName() {
-        return name;
-    }
-
-    @Override
-    public String getValue() {
-        return value;
-    }
-
-    @Override
-    public void setName(String s) {
-        name = s;
-    }
-
-    @Override
-    public void setValue(String s) {
-        value = s;
-    }
-}
+/****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one   *
+ * or more contributor license agreements.  See the NOTICE file *
+ * distributed with this work for additional information        *
+ * regarding copyright ownership.  The ASF licenses this file   *
+ * to you under the Apache License, Version 2.0 (the            *
+ * "License"); you may not use this file except in compliance   *
+ * with the License.  You may obtain a copy of the License at   *
+ *                                                              *
+ *   http://www.apache.org/licenses/LICENSE-2.0                 *
+ *                                                              *
+ * Unless required by applicable law or agreed to in writing,   *
+ * software distributed under the License is distributed on an  *
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *
+ * KIND, either express or implied.  See the License for the    *
+ * specific language governing permissions and limitations      *
+ * under the License.                                           *
+ ****************************************************************/
+
+package org.apache.hupa.shared.data;
+
+import org.apache.hupa.shared.domain.MailHeader;
+
+public class MailHeaderImpl implements MailHeader {
+
+    private String name;
+    private String value;
+
+    public MailHeaderImpl(String name, String value) {
+        this.name = name;
+        this.value = value;
+    }
+
+    public MailHeaderImpl() {
+    }
+
+    @Override
+    public String getName() {
+        return name;
+    }
+
+    @Override
+    public String getValue() {
+        return value;
+    }
+
+    @Override
+    public void setName(String s) {
+        name = s;
+    }
+
+    @Override
+    public void setValue(String s) {
+        value = s;
+    }
+}

Modified: james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/MessageAttachmentImpl.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/MessageAttachmentImpl.java?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/MessageAttachmentImpl.java (original)
+++ james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/MessageAttachmentImpl.java Thu Mar 20 08:16:02 2014
@@ -1,105 +1,105 @@
-/****************************************************************
- * Licensed to the Apache Software Foundation (ASF) under one   *
- * or more contributor license agreements.  See the NOTICE file *
- * distributed with this work for additional information        *
- * regarding copyright ownership.  The ASF licenses this file   *
- * to you under the Apache License, Version 2.0 (the            *
- * "License"); you may not use this file except in compliance   *
- * with the License.  You may obtain a copy of the License at   *
- *                                                              *
- *   http://www.apache.org/licenses/LICENSE-2.0                 *
- *                                                              *
- * Unless required by applicable law or agreed to in writing,   *
- * software distributed under the License is distributed on an  *
- * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *
- * KIND, either express or implied.  See the License for the    *
- * specific language governing permissions and limitations      *
- * under the License.                                           *
- ****************************************************************/
-
-package org.apache.hupa.shared.data;
-
-import org.apache.hupa.shared.domain.MessageAttachment;
-
-/**
- * Attachment of a message
- * 
- *
- */
-public class MessageAttachmentImpl implements MessageAttachment {
-    
-    private String contentType;
-    private int size;
-    private String name;
-
-    /**
-     * Set the name of the attachment
-     * 
-     * @param name
-     */
-    public void setName(String name) {
-        this.name = name;
-        
-    }
-
-    /**
-     * Return the name of the attachment
-     * 
-     * @return name
-     */
-    public String getName() {
-        return name;
-    }
-
-    /**
-     * Set the content-type of the attachment
-     * 
-     * @param contentType
-     */
-    public void setContentType(String contentType) {
-        this.contentType = contentType;
-    }
-    
-    /**
-     * Return the content-type of the attachment
-     * 
-     * @return cType
-     */
-    public String getContentType() {
-        return contentType;
-    }
-
-    /**
-     * Return whether the attachment is an image
-     * 
-     * @return cType
-     */
-    public boolean isImage() {
-          return contentType != null && contentType.toLowerCase().startsWith("image/");
-    }
-
-    /**
-     * Set the content size in bytes
-     * 
-     * @param size
-     */
-    public void setSize(int size) {
-        this.size = size;
-    }
-
-    /**
-     * Return the content size in bytes
-     * 
-     * @return size
-     */
-    public int getSize() {
-        return size;
-    }
-
-    @Override
-    public void setImage(boolean image) {
-        //FIXME just for MessageSendActivity's NullPointerException, with adding the RequestContext's create List<MeeageAttachment>
-    }
-    
-    
-}
+/****************************************************************
+ * Licensed to the Apache Software Foundation (ASF) under one   *
+ * or more contributor license agreements.  See the NOTICE file *
+ * distributed with this work for additional information        *
+ * regarding copyright ownership.  The ASF licenses this file   *
+ * to you under the Apache License, Version 2.0 (the            *
+ * "License"); you may not use this file except in compliance   *
+ * with the License.  You may obtain a copy of the License at   *
+ *                                                              *
+ *   http://www.apache.org/licenses/LICENSE-2.0                 *
+ *                                                              *
+ * Unless required by applicable law or agreed to in writing,   *
+ * software distributed under the License is distributed on an  *
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY       *
+ * KIND, either express or implied.  See the License for the    *
+ * specific language governing permissions and limitations      *
+ * under the License.                                           *
+ ****************************************************************/
+
+package org.apache.hupa.shared.data;
+
+import org.apache.hupa.shared.domain.MessageAttachment;
+
+/**
+ * Attachment of a message
+ *
+ *
+ */
+public class MessageAttachmentImpl implements MessageAttachment {
+
+    private String contentType;
+    private int size;
+    private String name;
+
+    /**
+     * Set the name of the attachment
+     *
+     * @param name
+     */
+    public void setName(String name) {
+        this.name = name;
+
+    }
+
+    /**
+     * Return the name of the attachment
+     *
+     * @return name
+     */
+    public String getName() {
+        return name;
+    }
+
+    /**
+     * Set the content-type of the attachment
+     *
+     * @param contentType
+     */
+    public void setContentType(String contentType) {
+        this.contentType = contentType;
+    }
+
+    /**
+     * Return the content-type of the attachment
+     *
+     * @return cType
+     */
+    public String getContentType() {
+        return contentType;
+    }
+
+    /**
+     * Return whether the attachment is an image
+     *
+     * @return cType
+     */
+    public boolean isImage() {
+          return contentType != null && contentType.toLowerCase().startsWith("image/");
+    }
+
+    /**
+     * Set the content size in bytes
+     *
+     * @param size
+     */
+    public void setSize(int size) {
+        this.size = size;
+    }
+
+    /**
+     * Return the content size in bytes
+     *
+     * @return size
+     */
+    public int getSize() {
+        return size;
+    }
+
+    @Override
+    public void setImage(boolean image) {
+        //FIXME just for MessageSendActivity's NullPointerException, with adding the RequestContext's create List<MeeageAttachment>
+    }
+
+
+}

Modified: james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/MessageDetailsImpl.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/MessageDetailsImpl.java?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/MessageDetailsImpl.java (original)
+++ james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/data/MessageDetailsImpl.java Thu Mar 20 08:16:02 2014
@@ -35,7 +35,7 @@ public class MessageDetailsImpl implemen
     private String raw;
     private List<MailHeader> mailHeaders = new ArrayList<MailHeader>();
 
-    
+
     public List<MailHeader> getMailHeaders() {
         return mailHeaders;
     }
@@ -48,13 +48,13 @@ public class MessageDetailsImpl implemen
 
     public String toString() {
         return "uid=" + String.valueOf(getUid()) +
-        " text.length=" + (text != null ? text.length() : 0) + 
-        " raw.length=" + (raw != null ? raw.length() : 0) + 
-        " attachments=" + (messageAttachments != null ? messageAttachments.size() : 0) + 
-        " headers=" + mailHeaders.size();  
+        " text.length=" + (text != null ? text.length() : 0) +
+        " raw.length=" + (raw != null ? raw.length() : 0) +
+        " attachments=" + (messageAttachments != null ? messageAttachments.size() : 0) +
+        " headers=" + mailHeaders.size();
     }
-    
-    
+
+
     public long getUid() {
         return uid;
     }
@@ -62,10 +62,10 @@ public class MessageDetailsImpl implemen
     public void setUid(long uid) {
         this.uid = uid;
     }
-    
+
     /**
      * Set a raw String representation of the header
-     * 
+     *
      * @param raw
      */
     public void setRawHeader(String raw) {
@@ -74,17 +74,17 @@ public class MessageDetailsImpl implemen
 
     /**
      * Return a raw String representation of the header
-     * 
+     *
      * @return raw
      */
     public String getRawHeader() {
         return raw;
     }
-    
-    
+
+
     /**
      * Set the body text of the content
-     * 
+     *
      * @param text
      */
     public void setText(String text) {
@@ -100,8 +100,8 @@ public class MessageDetailsImpl implemen
     }
 
     /**
-     * Set the attachments 
-     * 
+     * Set the attachments
+     *
      * @param messageAttachments
      */
     public void setMessageAttachments(List<MessageAttachment> messageAttachments) {
@@ -109,7 +109,7 @@ public class MessageDetailsImpl implemen
     }
 
     /**
-     * 
+     *
      * @return the In-Reply-To header field.
      */
     public String getInReplyTo() {
@@ -126,7 +126,7 @@ public class MessageDetailsImpl implemen
     }
 
     /**
-     * 
+     *
      * @return the References header field.
      */
     public String getReferences() {
@@ -135,11 +135,11 @@ public class MessageDetailsImpl implemen
 
     public String getMessageId() {
         return getHeaderValue(SConsts.HEADER_MESSAGE_ID);
-    }    
-    
+    }
+
     /**
-     * Return the attachments 
-     * 
+     * Return the attachments
+     *
      * @return aList
      */
     public List<MessageAttachment> getMessageAttachments() {
@@ -155,7 +155,7 @@ public class MessageDetailsImpl implemen
         }
         return false;
     }
-    
+
     public int hashCode() {
         Long l = Long.valueOf(getUid());
         return l.intValue() * 16;



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