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 [22/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/events/ServerStatusEvent.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/events/ServerStatusEvent.java?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/events/ServerStatusEvent.java (original)
+++ james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/events/ServerStatusEvent.java Thu Mar 20 08:16:02 2014
@@ -1,50 +1,50 @@
-/****************************************************************
- * 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.events;
-
-import com.google.gwt.event.shared.GwtEvent;
-
-public class ServerStatusEvent extends GwtEvent<ServerStatusEventHandler> {
-    public final static Type<ServerStatusEventHandler> TYPE = new Type<ServerStatusEventHandler>();
-
-    public enum ServerStatus {
-        Unknown, Available, Unavailable, Error
-    }
-    
-    private ServerStatus status = ServerStatus.Unknown;
-    public ServerStatusEvent(ServerStatus status) {
-        this.status = status;
-    }
-    
-    public ServerStatus getStatus() {
-        return status;
-    }
-
-    @Override
-    protected void dispatch(ServerStatusEventHandler handler) {
-        handler.onServerStatusChange(this);
-    }
-
-    @Override
-    public com.google.gwt.event.shared.GwtEvent.Type<ServerStatusEventHandler> getAssociatedType() {
-        return TYPE;
-    }
-    
-}
+/****************************************************************
+ * 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.events;
+
+import com.google.gwt.event.shared.GwtEvent;
+
+public class ServerStatusEvent extends GwtEvent<ServerStatusEventHandler> {
+    public final static Type<ServerStatusEventHandler> TYPE = new Type<ServerStatusEventHandler>();
+
+    public enum ServerStatus {
+        Unknown, Available, Unavailable, Error
+    }
+
+    private ServerStatus status = ServerStatus.Unknown;
+    public ServerStatusEvent(ServerStatus status) {
+        this.status = status;
+    }
+
+    public ServerStatus getStatus() {
+        return status;
+    }
+
+    @Override
+    protected void dispatch(ServerStatusEventHandler handler) {
+        handler.onServerStatusChange(this);
+    }
+
+    @Override
+    public com.google.gwt.event.shared.GwtEvent.Type<ServerStatusEventHandler> getAssociatedType() {
+        return TYPE;
+    }
+
+}

Modified: james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/events/ServerStatusEventHandler.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/events/ServerStatusEventHandler.java?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/events/ServerStatusEventHandler.java (original)
+++ james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/events/ServerStatusEventHandler.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.events;
-
-import com.google.gwt.event.shared.EventHandler;
-
-public interface ServerStatusEventHandler extends EventHandler{
-    public void onServerStatusChange(ServerStatusEvent event);
-}
+/****************************************************************
+ * 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.events;
+
+import com.google.gwt.event.shared.EventHandler;
+
+public interface ServerStatusEventHandler extends EventHandler{
+    public void onServerStatusChange(ServerStatusEvent event);
+}

Modified: james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/events/SessionExpireEvent.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/events/SessionExpireEvent.java?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/events/SessionExpireEvent.java (original)
+++ james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/events/SessionExpireEvent.java Thu Mar 20 08:16:02 2014
@@ -36,11 +36,11 @@ public class SessionExpireEvent extends 
     public com.google.gwt.event.shared.GwtEvent.Type<SessionExpireEventHandler> getAssociatedType() {
         return TYPE;
     }
-    
+
     public SessionExpireEvent(User user) {
         this.user = user;
     }
-    
+
     public User getUser() {
         return user;
     }

Modified: james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/events/ShowRawEvent.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/events/ShowRawEvent.java?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/events/ShowRawEvent.java (original)
+++ james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/events/ShowRawEvent.java Thu Mar 20 08:16:02 2014
@@ -1,36 +1,36 @@
-/****************************************************************
- * 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.events;
-
-import com.google.gwt.event.shared.GwtEvent;
-
-public class ShowRawEvent extends GwtEvent<ShowRawEventHandler>{
-    public final static Type<ShowRawEventHandler> TYPE = new Type<ShowRawEventHandler>();
-    @Override
-    protected void dispatch(ShowRawEventHandler handler) {
-        handler.onShowRaw(this);
-    }
-
-    @Override
-    public com.google.gwt.event.shared.GwtEvent.Type<ShowRawEventHandler> getAssociatedType() {
-        return TYPE;
-    }
-
-}
+/****************************************************************
+ * 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.events;
+
+import com.google.gwt.event.shared.GwtEvent;
+
+public class ShowRawEvent extends GwtEvent<ShowRawEventHandler>{
+    public final static Type<ShowRawEventHandler> TYPE = new Type<ShowRawEventHandler>();
+    @Override
+    protected void dispatch(ShowRawEventHandler handler) {
+        handler.onShowRaw(this);
+    }
+
+    @Override
+    public com.google.gwt.event.shared.GwtEvent.Type<ShowRawEventHandler> getAssociatedType() {
+        return TYPE;
+    }
+
+}

Modified: james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/events/ShowRawEventHandler.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/events/ShowRawEventHandler.java?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/events/ShowRawEventHandler.java (original)
+++ james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/events/ShowRawEventHandler.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.events;
-
-import com.google.gwt.event.shared.EventHandler;
-
-public interface ShowRawEventHandler extends EventHandler{
-    public void onShowRaw(ShowRawEvent event);
-}
+/****************************************************************
+ * 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.events;
+
+import com.google.gwt.event.shared.EventHandler;
+
+public interface ShowRawEventHandler extends EventHandler{
+    public void onShowRaw(ShowRawEvent event);
+}

Modified: james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/exception/HupaException.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/exception/HupaException.java?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/exception/HupaException.java (original)
+++ james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/exception/HupaException.java Thu Mar 20 08:16:02 2014
@@ -23,12 +23,12 @@ import java.io.Serializable;
 
 /**
  * An abstract superclass for exceptions that can be thrown by the Hupa system.
- * 
+ *
  * @author echo
  */
 @SuppressWarnings("serial")
 public class HupaException extends Exception implements Serializable {
-    
+
     private String causeClassname;
 
     protected HupaException() {

Modified: james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/rpc/ContactsResult.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/rpc/ContactsResult.java?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/rpc/ContactsResult.java (original)
+++ james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/rpc/ContactsResult.java Thu Mar 20 08:16:02 2014
@@ -1,96 +1,96 @@
-/****************************************************************
- * 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.rpc;
-
-import java.io.Serializable;
-
-import com.google.gwt.user.client.rpc.IsSerializable;
-
-
-
-public class ContactsResult{
-
-    public static class Contact implements IsSerializable, Serializable{
-        private static final long serialVersionUID = -8632580327693416473L;
-        public String mail;
-        public String realname;
-
-        public Contact() {
-        }
-
-        public Contact(String address) {
-            mail = address.replaceAll("^.*<([^>]+)>\\s*$", "$1");
-
-            realname = mail.equals(address) ? mail : address
-                    // remove the email part
-                    .replaceAll("<[^<>]+>\\s*$", "")
-                    // remove start symbols in the name
-                    .replaceAll("^[\\s\"'<]+", "")
-                    // remove end symbols in the name
-                    .replaceAll("[\\s\"'>]+$", "")
-                    ;
-
-            if (realname.isEmpty())
-                realname = mail;
-        }
-
-        public Contact(String realname, String mail) {
-            this.realname = realname;
-            this.mail = mail;
-        }
-
-        public String toString() {
-            return realname != null && !realname.isEmpty() ? realname : mail;
-        }
-
-        public String toKey() {
-            return toString().replaceAll("[^\\w\\d<@>]+", "").toLowerCase();
-        }
-        
-        public String getName() {
-            return realname;
-        }
-        
-        public String toIsoAddress() {
-            if (!mail.equals(realname))
-                return realname + " <" + mail + ">";
-            else
-                return mail;
-        }
-    }
-
-    private Contact[] contacts;
-
-    public ContactsResult() {
-    }
-
-    public ContactsResult(Contact... contacts) {
-        this.contacts = contacts;
-    }
-
-    public Contact[] getContacts() {
-        return contacts;
-    }
-
-    public void setContacts(Contact[] contacts) {
-        this.contacts = contacts;
-    }
-
-}
+/****************************************************************
+ * 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.rpc;
+
+import java.io.Serializable;
+
+import com.google.gwt.user.client.rpc.IsSerializable;
+
+
+
+public class ContactsResult{
+
+    public static class Contact implements IsSerializable, Serializable{
+        private static final long serialVersionUID = -8632580327693416473L;
+        public String mail;
+        public String realname;
+
+        public Contact() {
+        }
+
+        public Contact(String address) {
+            mail = address.replaceAll("^.*<([^>]+)>\\s*$", "$1");
+
+            realname = mail.equals(address) ? mail : address
+                    // remove the email part
+                    .replaceAll("<[^<>]+>\\s*$", "")
+                    // remove start symbols in the name
+                    .replaceAll("^[\\s\"'<]+", "")
+                    // remove end symbols in the name
+                    .replaceAll("[\\s\"'>]+$", "")
+                    ;
+
+            if (realname.isEmpty())
+                realname = mail;
+        }
+
+        public Contact(String realname, String mail) {
+            this.realname = realname;
+            this.mail = mail;
+        }
+
+        public String toString() {
+            return realname != null && !realname.isEmpty() ? realname : mail;
+        }
+
+        public String toKey() {
+            return toString().replaceAll("[^\\w\\d<@>]+", "").toLowerCase();
+        }
+
+        public String getName() {
+            return realname;
+        }
+
+        public String toIsoAddress() {
+            if (!mail.equals(realname))
+                return realname + " <" + mail + ">";
+            else
+                return mail;
+        }
+    }
+
+    private Contact[] contacts;
+
+    public ContactsResult() {
+    }
+
+    public ContactsResult(Contact... contacts) {
+        this.contacts = contacts;
+    }
+
+    public Contact[] getContacts() {
+        return contacts;
+    }
+
+    public void setContacts(Contact[] contacts) {
+        this.contacts = contacts;
+    }
+
+}

Modified: james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/storage/AppCache.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/storage/AppCache.java?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/storage/AppCache.java (original)
+++ james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/storage/AppCache.java Thu Mar 20 08:16:02 2014
@@ -23,11 +23,11 @@ public abstract class AppCache {
     private static final String TIMESTAMP = "_TS_";
 
     public static String RC4_SESS_KEY = "rOQcK1D7M1leWtu2ywzU8YAVg/KKOXAoN";
-    
+
     private String pfx = "";
 
     AppSerializer serializer;
-    
+
     @Inject
     AutoBeanFactory beanFactory;
 
@@ -62,15 +62,15 @@ public abstract class AppCache {
             val = c;
         }
     }
-    
+
     public void setPrefix(String prefix) {
         pfx = prefix;
     }
 
     public abstract void createStorageImplementationSync();
-    
+
     protected SyncStorage syncStorage;
-    
+
     public AppCache() {
         createStorageImplementationSync();
     }
@@ -78,7 +78,7 @@ public abstract class AppCache {
     public void clear() {
         syncStorage.clear();
     }
-    
+
     boolean containsKey(String id) {
         return syncStorage.containsKey(pfx + id);
     }
@@ -87,7 +87,7 @@ public abstract class AppCache {
         setItem(id, value);
         setExpires(id, expires);
     }
-   
+
     public void setItem(String id, Object value) {
         syncStorage.setItem(pfx + id, value);
     }
@@ -104,15 +104,15 @@ public abstract class AppCache {
     public int getLength() {
         return syncStorage.getLength();
     }
-    
+
     public String getItem(String id) {
         return (String) syncStorage.getItem(pfx + id);
     }
-    
+
     public void log(Object o) {
         syncStorage.log(o);
     }
-    
+
     public void dump() {
         String t = "Dump --- \n";
         for (int i = 0, l = getLength(); i < l; i++) {
@@ -122,18 +122,18 @@ public abstract class AppCache {
         }
         System.out.println(t);
     }
-    
+
     private String getKey(BaseProxy p) {
         return (p instanceof HasId ? ((HasId)p).getId() :
                 p instanceof HasFullName ? ((HasFullName)p).getFullName() :
                 p instanceof HasName ? ((HasName)p).getName() :
                 String.valueOf(p)).replaceAll("[\\,\\s]+", "");
     }
-    
+
     public <T extends BaseProxy> void storeProxies(String key, List<T> proxies) {
         storeProxies(key, proxies, true, false);
     }
-    
+
     public <T extends BaseProxy> void storeProxiesCrypt(String key, List<T> proxies) {
         storeProxies(key, proxies, true, true);
     }
@@ -165,7 +165,7 @@ public abstract class AppCache {
             }
         }
     }
-    
+
     @SuppressWarnings({ "unchecked", "rawtypes" })
     public void removeProxies(String key) {
         storeProxies(key, new ArrayList(), true, false);
@@ -204,7 +204,7 @@ public abstract class AppCache {
     public <T extends BaseProxy> List<T> restoreProxies(Class<T> clz, String key) {
         return restoreProxies(clz, key, false);
     }
-    
+
     public <T extends BaseProxy> List<T> restoreProxiesCrypt(Class<T> clz, String key) {
         return restoreProxies(clz, key, true);
     }

Modified: james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/storage/AppCacheMemory.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/storage/AppCacheMemory.java?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/storage/AppCacheMemory.java (original)
+++ james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/storage/AppCacheMemory.java Thu Mar 20 08:16:02 2014
@@ -5,7 +5,7 @@ import java.util.Map.Entry;
 
 /**
  * AppCache implementation in Memory and JVM
- * 
+ *
  * @author manolo
  */
 public class AppCacheMemory extends AppCache {

Modified: james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/storage/AppSerializer.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/storage/AppSerializer.java?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/storage/AppSerializer.java (original)
+++ james/hupa/trunk/shared/src/main/java/org/apache/hupa/shared/storage/AppSerializer.java Thu Mar 20 08:16:02 2014
@@ -18,7 +18,7 @@ public class AppSerializer {
 
   private final RegExp proxyIdRegexp = RegExp.compile("^.*?\"([^\"]+@\\d+@[^\"]+)\":\\{\"[POSTY]\":(.+)$");
   private final RegExp proxyMultIdRegexp = RegExp.compile("^.*?([^#]+@\\d+@[^#]+)#~#(.+)$");
-  
+
   private boolean containsMultipleProxies(String data) {
     MatchResult r = proxyIdRegexp.exec(data);
     return r != null && proxyIdRegexp.exec(r.getGroup(2)) != null;
@@ -29,7 +29,7 @@ public class AppSerializer {
     DefaultProxyStore store = new DefaultProxyStore(keyData[1]);
     return requestFactory.getSerializer(store).deserialize(clz, keyData[0]);
   }
-  
+
   private String[] splitKeyData(String payload) {
     MatchResult r;
     r = proxyMultIdRegexp.exec(payload);
@@ -50,18 +50,18 @@ public class AppSerializer {
     }
     return data;
   }
-  
+
   public <T> T deserializeBean(Class<T> clz, String payload) {
     AutoBean<T> a = AutoBeanCodex.decode(beanFactory, clz, payload);
     assert a != null : "There is no info about AutoBean: " + clz + ", maybe you forgot to include it in the App AutoBeanFactory";
     return a.as();
   }
-  
+
   public <T> String serializeBean(T proxy) {
     AutoBean<T> bean = AutoBeanUtils.getAutoBean(proxy);
     String json = AutoBeanCodex.encode(bean).getPayload();
     return json;
   }
-  
+
 
 }

Modified: james/hupa/trunk/shared/src/site/site.xml
URL: http://svn.apache.org/viewvc/james/hupa/trunk/shared/src/site/site.xml?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/shared/src/site/site.xml (original)
+++ james/hupa/trunk/shared/src/site/site.xml Thu Mar 20 08:16:02 2014
@@ -1,25 +1,25 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-<!--
-    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.
--->
-<project name="Hupa">
-    <body>
-        <menu ref="parent" />
-        <menu ref="reports" />
-    </body>
-</project>
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+    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.
+-->
+<project name="Hupa">
+    <body>
+        <menu ref="parent" />
+        <menu ref="reports" />
+    </body>
+</project>

Modified: james/hupa/trunk/src/reporting-site/site.xml
URL: http://svn.apache.org/viewvc/james/hupa/trunk/src/reporting-site/site.xml?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/src/reporting-site/site.xml (original)
+++ james/hupa/trunk/src/reporting-site/site.xml Thu Mar 20 08:16:02 2014
@@ -7,20 +7,20 @@
     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.    
+    under the License.
 -->
 <project name="${project.name}">
 
     <!-- no banner yet -->
-    <!-- 
+    <!--
     <bannerLeft>
       <name>James Hupa</name>
       <src>images/logos/james-hupa-logo.gif</src>

Modified: james/hupa/trunk/src/site/resources/demo/index.html
URL: http://svn.apache.org/viewvc/james/hupa/trunk/src/site/resources/demo/index.html?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/src/site/resources/demo/index.html (original)
+++ james/hupa/trunk/src/site/resources/demo/index.html Thu Mar 20 08:16:02 2014
@@ -6,63 +6,63 @@
 <title>Hupa webmail Demo</title>
 <style>
 body {
-	background: #eee;
-	font-family: arial;
+    background: #eee;
+    font-family: arial;
         font-size: 14px;
 }
 
 h2 {
-	float: left;
+    float: left;
         filter: progid:DXImageTransform.Microsoft.Shadow(color='grey', Direction=135, Strength=1);
 }
 
 .title {
-	font-size: 2.5em;
-	text-align: center;
-	background: -moz-linear-gradient(#C5D9FF, #FFFFFF);
-	background: -webkit-linear-gradient(#C5D9FF, #FFFFFF);
-	background: -o-linear-gradient(#C5D9FF, #FFFFFF);
+    font-size: 2.5em;
+    text-align: center;
+    background: -moz-linear-gradient(#C5D9FF, #FFFFFF);
+    background: -webkit-linear-gradient(#C5D9FF, #FFFFFF);
+    background: -o-linear-gradient(#C5D9FF, #FFFFFF);
         filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#C5D9FF', endColorstr='#ffffff',GradientType=0 );
-	text-shadow: 1px 3px 3px #666666;
+    text-shadow: 1px 3px 3px #666666;
 }
 
 .box, .warn {
-	border: 1px solid #7FAAFF;
-	box-shadow: 0 1px 4px grey;
-	border-radius: 5px 5px 5px 5px;
-	overflow: hidden;
+    border: 1px solid #7FAAFF;
+    box-shadow: 0 1px 4px grey;
+    border-radius: 5px 5px 5px 5px;
+    overflow: hidden;
 }
 .box {
-	width: 800px;
-	padding: 30px;
-	left: 50%;
-	margin-left: -430px;
-	position: relative;
+    width: 800px;
+    padding: 30px;
+    left: 50%;
+    margin-left: -430px;
+    position: relative;
 }
 
 .text {
-	margin-top: 15px;
-	background: -moz-linear-gradient(#fafafa, #C5D9FF);
-	background: -webkit-linear-gradient(#fafafa, #C5D9FF);
-	background: -o-linear-gradient(#fafafa, #C5D9FF);
+    margin-top: 15px;
+    background: -moz-linear-gradient(#fafafa, #C5D9FF);
+    background: -webkit-linear-gradient(#fafafa, #C5D9FF);
+    background: -o-linear-gradient(#fafafa, #C5D9FF);
         filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fafafa', endColorstr='#C5D9FF',GradientType=0 );
-	margin-bottom: 0px;
-	min-height: 50%;
+    margin-bottom: 0px;
+    min-height: 50%;
 }
 .warn {
     background: -moz-linear-gradient(#fae5b0, #eaeaea);
     background: -webkit-linear-gradient(#fae5b0, #eaeaea);
     background: -o-linear-gradient(#fae5b0, #eaeaea);
-    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fae5b0', endColorstr='#eaeaea',GradientType=0 );  
+    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#fae5b0', endColorstr='#eaeaea',GradientType=0 );
         padding: 10px;
         margin-left: -30px;
 }
 
 img {
-	margin-top: -62px;
-	margin-bottom: -62px;
-	vertical-align: middle;
-	width: 200px;
+    margin-top: -62px;
+    margin-bottom: -62px;
+    vertical-align: middle;
+    width: 200px;
 }
 
 li, .warn {
@@ -129,53 +129,53 @@ pre {
 
 <body>
 
-	<div class='title box'>
-		<img src="hupa-logo-original-transparent.png" /> Apache Hupa Demo
-		site.
-	</div>
+    <div class='title box'>
+        <img src="hupa-logo-original-transparent.png" /> Apache Hupa Demo
+        site.
+    </div>
 
-	<div class='text box'>
+    <div class='text box'>
 <<<<<<< HEAD
 <<<<<<< HEAD
 <<<<<<< HEAD
 <<<<<<< HEAD
-		<p>
-		<ul>
-			<li>Hupa in <a href=/hupa.demo>Demo</a> mode:
+        <p>
+        <ul>
+            <li>Hupa in <a href=/hupa.demo>Demo</a> mode:
 =======
-		<p>You can select one of our demo instances:
-		<ul>
-			<li>Hupa in <b>Demo</b> mode: <a href=/hupa.demo>http</a>:
+        <p>You can select one of our demo instances:
+        <ul>
+            <li>Hupa in <b>Demo</b> mode: <a href=/hupa.demo>http</a>:
 >>>>>>> first commit
 =======
-		<p>
-		<ul>
-			<li>Hupa in <a href=/hupa.demo>Demo</a> mode:
+        <p>
+        <ul>
+            <li>Hupa in <a href=/hupa.demo>Demo</a> mode:
 >>>>>>> constantly changed by manolo
 =======
-		<p>You can select one of our demo instances:
-		<ul>
-			<li>Hupa in <b>Demo</b> mode: <a href=/hupa.demo>http</a>:
+        <p>You can select one of our demo instances:
+        <ul>
+            <li>Hupa in <b>Demo</b> mode: <a href=/hupa.demo>http</a>:
 >>>>>>> first commit
 =======
-		<p>
-		<ul>
-			<li>Hupa in <a href=/hupa.demo>Demo</a> mode:
+        <p>
+        <ul>
+            <li>Hupa in <a href=/hupa.demo>Demo</a> mode:
 >>>>>>> constantly changed by manolo
-				<ul>
+                <ul>
                     <li>Username is set to <b>'demo'</b> and the password is <b>'demo'</b></li>
-					<li>Uses a collection of example messages and stub
-						implementations of IMAP and SMTP servers.</li>
-					<li>In this instance you can test almost the Hupa features,
+                    <li>Uses a collection of example messages and stub
+                        implementations of IMAP and SMTP servers.</li>
+                    <li>In this instance you can test almost the Hupa features,
 <<<<<<< HEAD
 <<<<<<< HEAD
 <<<<<<< HEAD
 <<<<<<< HEAD
-						but emails you send will never reach the addressee.</li>
-				</ul></li>
-			</li>
+                        but emails you send will never reach the addressee.</li>
+                </ul></li>
+            </li>
 
-			<li>Hupa for <b>Gmail</b>: <br/><br/>We have
+            <li>Hupa for <b>Gmail</b>: <br/><br/>We have
                             <span class='red'>disabled</span> this instance to avoid risks  and legal issues.<br/>Nevertheless you can
                             <a href="https://builds.apache.org/job/hupa-trunk/lastBuild/org.apache.hupa$hupa/artifact/org.apache.hupa/hupa/0.0.2-SNAPSHOT/hupa-0.0.2-SNAPSHOT.war"> download </a>
                             the last built of Hupa and run it in your system:
@@ -183,18 +183,18 @@ pre {
 $ java -jar hupa-0.0.2-SNAPSHOT.war
 </pre>
           Your instance on Hupa:
-				<ul>
-					<li>Will work with any imap enabled account in gmail.</li>
+                <ul>
+                    <li>Will work with any imap enabled account in gmail.</li>
 =======
-						but emails you send will never reach the addressee, 
+                        but emails you send will never reach the addressee,
                                                 and message search is not implemented.</li>
 =======
-						but emails you send will never reach the addressee.</li>
+                        but emails you send will never reach the addressee.</li>
 >>>>>>> constantly changed by manolo
-				</ul></li>
-			</li>
+                </ul></li>
+            </li>
 
-			<li>Hupa for <b>Gmail</b>: <br/><br/>We have
+            <li>Hupa for <b>Gmail</b>: <br/><br/>We have
                             <span class='red'>disabled</span> this instance to avoid risks  and legal issues.<br/>Nevertheless you can
                             <a href="https://builds.apache.org/job/hupa-trunk/lastBuild/org.apache.hupa$hupa/artifact/org.apache.hupa/hupa/0.0.2-SNAPSHOT/hupa-0.0.2-SNAPSHOT.war"> download </a>
                             the last built of Hupa and run it in your system:
@@ -202,23 +202,23 @@ $ java -jar hupa-0.0.2-SNAPSHOT.war
 $ java -jar hupa-0.0.2-SNAPSHOT.war
 </pre>
           Your instance on Hupa:
-				<ul>
+                <ul>
 <<<<<<< HEAD
-					<li>It will work with any imap enabled account in gmail.</li>
+                    <li>It will work with any imap enabled account in gmail.</li>
 >>>>>>> first commit
 =======
-					<li>Will work with any imap enabled account in gmail.</li>
+                    <li>Will work with any imap enabled account in gmail.</li>
 >>>>>>> constantly changed by manolo
 =======
-						but emails you send will never reach the addressee, 
+                        but emails you send will never reach the addressee,
                                                 and message search is not implemented.</li>
 =======
-						but emails you send will never reach the addressee.</li>
+                        but emails you send will never reach the addressee.</li>
 >>>>>>> constantly changed by manolo
-				</ul></li>
-			</li>
+                </ul></li>
+            </li>
 
-			<li>Hupa for <b>Gmail</b>: <br/><br/>We have
+            <li>Hupa for <b>Gmail</b>: <br/><br/>We have
                             <span class='red'>disabled</span> this instance to avoid risks  and legal issues.<br/>Nevertheless you can
                             <a href="https://builds.apache.org/job/hupa-trunk/lastBuild/org.apache.hupa$hupa/artifact/org.apache.hupa/hupa/0.0.2-SNAPSHOT/hupa-0.0.2-SNAPSHOT.war"> download </a>
                             the last built of Hupa and run it in your system:
@@ -226,26 +226,26 @@ $ java -jar hupa-0.0.2-SNAPSHOT.war
 $ java -jar hupa-0.0.2-SNAPSHOT.war
 </pre>
           Your instance on Hupa:
-				<ul>
+                <ul>
 <<<<<<< HEAD
-					<li>It will work with any imap enabled account in gmail.</li>
+                    <li>It will work with any imap enabled account in gmail.</li>
 >>>>>>> first commit
 =======
-					<li>Will work with any imap enabled account in gmail.</li>
+                    <li>Will work with any imap enabled account in gmail.</li>
 >>>>>>> constantly changed by manolo
-					<li>You have to provide a valid gmail username (don't forget
-						the domain part) and your password.</li>
-					<li>Because this instance and gmail servers are far away, and
-						Hupa caching is not enabled, you will notice a latency when using
-						the application.</li>
+                    <li>You have to provide a valid gmail username (don't forget
+                        the domain part) and your password.</li>
+                    <li>Because this instance and gmail servers are far away, and
+                        Hupa caching is not enabled, you will notice a latency when using
+                        the application.</li>
 <<<<<<< HEAD
 <<<<<<< HEAD
 <<<<<<< HEAD
 <<<<<<< HEAD
-					<li>You can read your real messages, search them, and use Hupa to reply and send
-						messages to your contacts.</li>
+                    <li>You can read your real messages, search them, and use Hupa to reply and send
+                        messages to your contacts.</li>
                                         <div class='warn'>
-                                           <p>Like any other email client, Hupa needs your password in order to 
+                                           <p>Like any other email client, Hupa needs your password in order to
                                            get a secure session with your credentials from gmail servers. </p>
                                            <p>Hupa uses SSL
                                            channel to comunicate with gmail. </p>
@@ -257,13 +257,13 @@ $ java -jar hupa-0.0.2-SNAPSHOT.war
                                            self-signed certificate.</p>
 -->
 =======
-					<li>You can manage your folders, read your messages, search them, reply and send
+                    <li>You can manage your folders, read your messages, search them, reply and send
 =======
-					<li>You can read your real messages, search them, and use Hupa to reply and send
+                    <li>You can read your real messages, search them, and use Hupa to reply and send
 >>>>>>> constantly changed by manolo
-						messages to your contacts.</li>
+                        messages to your contacts.</li>
                                         <div class='warn'>
-                                           <p>Like any other email client, Hupa needs your password in order to 
+                                           <p>Like any other email client, Hupa needs your password in order to
                                            get a secure session with your credentials from gmail servers. </p>
                                            <p>Hupa uses SSL
                                            channel to comunicate with gmail. </p>
@@ -279,13 +279,13 @@ $ java -jar hupa-0.0.2-SNAPSHOT.war
 -->
 >>>>>>> constantly changed by manolo
 =======
-					<li>You can manage your folders, read your messages, search them, reply and send
+                    <li>You can manage your folders, read your messages, search them, reply and send
 =======
-					<li>You can read your real messages, search them, and use Hupa to reply and send
+                    <li>You can read your real messages, search them, and use Hupa to reply and send
 >>>>>>> constantly changed by manolo
-						messages to your contacts.</li>
+                        messages to your contacts.</li>
                                         <div class='warn'>
-                                           <p>Like any other email client, Hupa needs your password in order to 
+                                           <p>Like any other email client, Hupa needs your password in order to
                                            get a secure session with your credentials from gmail servers. </p>
                                            <p>Hupa uses SSL
                                            channel to comunicate with gmail. </p>
@@ -301,11 +301,11 @@ $ java -jar hupa-0.0.2-SNAPSHOT.war
 -->
 >>>>>>> constantly changed by manolo
                                         </div>
-				</ul></li>
-		</ul>
+                </ul></li>
+        </ul>
 
-		</p>
-	</div>
+        </p>
+    </div>
 </body>
 
 </html>

Modified: james/hupa/trunk/src/site/xdoc/index.xml
URL: http://svn.apache.org/viewvc/james/hupa/trunk/src/site/xdoc/index.xml?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/src/site/xdoc/index.xml (original)
+++ james/hupa/trunk/src/site/xdoc/index.xml Thu Mar 20 08:16:02 2014
@@ -19,16 +19,16 @@
         <author email="server-dev@james.apache.org">James Hupa Project Team</author>
     </properties>
     <body>
-		<section name="What is Hupa?">
-			<p> Hupa is an Rich IMAP-based Webmail application written in GWT
-				(Google Web Toolkit).          </p>
-			<p> Hupa has been entirely written in java to be coherent with the
-				language used in the James project. And It has been a reference of a
-				devloping using GWT good practices (MVP pattern and Unit testing) </p>
-			<p> Hupa is a functional and well designed email client, ready for
-				reading, sending and managing messages, but it still lacks of many features
-				email clients nowadays have.</p>
-		</section>
+        <section name="What is Hupa?">
+            <p> Hupa is an Rich IMAP-based Webmail application written in GWT
+                (Google Web Toolkit).          </p>
+            <p> Hupa has been entirely written in java to be coherent with the
+                language used in the James project. And It has been a reference of a
+                devloping using GWT good practices (MVP pattern and Unit testing) </p>
+            <p> Hupa is a functional and well designed email client, ready for
+                reading, sending and managing messages, but it still lacks of many features
+                email clients nowadays have.</p>
+        </section>
 
         <section name="Releases">
             <p>

Modified: james/hupa/trunk/src/site/xdoc/source-repository.xml
URL: http://svn.apache.org/viewvc/james/hupa/trunk/src/site/xdoc/source-repository.xml?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/src/site/xdoc/source-repository.xml (original)
+++ james/hupa/trunk/src/site/xdoc/source-repository.xml Thu Mar 20 08:16:02 2014
@@ -1,41 +1,41 @@
-<?xml version="1.0"?>
-<!--
-  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.    
--->
-<document>
-
-  <properties>
-     <title>Source Code</title>
-  </properties>
-
-<body>
-
-  <section name="Get Source Code">
-    <subsection name="Anonymous Access">
-      <p>The source can be checked out anonymously from SVN with the following command.</p>
-      <p><code>$ svn checkout http://svn.apache.org/repos/asf/james/hupa/trunk hupa</code></p>
-    </subsection>
-    <subsection name="Developer Access">
-      <p>Everyone can access the Subversion repository via HTTP, but Committers must checkout the Subversion repository via HTTPS.</p>
-      <p><code>$ svn checkout https://svn.apache.org/repos/asf/james/hupa/trunk hupa</code></p>
-    </subsection>
-  </section>
-
-</body>
-
-</document>
+<?xml version="1.0"?>
+<!--
+  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.
+-->
+<document>
+
+  <properties>
+     <title>Source Code</title>
+  </properties>
+
+<body>
+
+  <section name="Get Source Code">
+    <subsection name="Anonymous Access">
+      <p>The source can be checked out anonymously from SVN with the following command.</p>
+      <p><code>$ svn checkout http://svn.apache.org/repos/asf/james/hupa/trunk hupa</code></p>
+    </subsection>
+    <subsection name="Developer Access">
+      <p>Everyone can access the Subversion repository via HTTP, but Committers must checkout the Subversion repository via HTTPS.</p>
+      <p><code>$ svn checkout https://svn.apache.org/repos/asf/james/hupa/trunk hupa</code></p>
+    </subsection>
+  </section>
+
+</body>
+
+</document>

Modified: james/hupa/trunk/widgets/src/main/java/org/apache/hupa/Widgets.gwt.xml
URL: http://svn.apache.org/viewvc/james/hupa/trunk/widgets/src/main/java/org/apache/hupa/Widgets.gwt.xml?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/widgets/src/main/java/org/apache/hupa/Widgets.gwt.xml (original)
+++ james/hupa/trunk/widgets/src/main/java/org/apache/hupa/Widgets.gwt.xml Thu Mar 20 08:16:02 2014
@@ -18,14 +18,14 @@
 <module>
   <inherits name='com.google.gwt.user.User'/>
   <inherits name='com.google.gwt.widgetideas.WidgetIdeas'/>
-  <inherits name='org.cobogw.gwt.user.User' />   
-  
+  <inherits name='org.cobogw.gwt.user.User' />
+
   <source path="widgets"/>
-  
+
   <replace-with class="org.apache.hupa.widgets.ui.impl.RndPanelGeneratorCss3">
     <when-type-is class="org.apache.hupa.widgets.ui.impl.RndPanelGenerator"/>
   </replace-with>
-    
+
   <replace-with class="org.apache.hupa.widgets.ui.impl.RndPanelGeneratorDecorator">
     <when-type-is class="org.apache.hupa.widgets.ui.impl.RndPanelGenerator"/>
     <any>
@@ -33,5 +33,5 @@
       <when-property-is name="user.agent" value="ie8"/>
     </any>
   </replace-with>
-  
+
 </module>

Modified: james/hupa/trunk/widgets/src/main/java/org/apache/hupa/widgets/PagingOptionsConstants.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/widgets/src/main/java/org/apache/hupa/widgets/PagingOptionsConstants.java?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/widgets/src/main/java/org/apache/hupa/widgets/PagingOptionsConstants.java (original)
+++ james/hupa/trunk/widgets/src/main/java/org/apache/hupa/widgets/PagingOptionsConstants.java Thu Mar 20 08:16:02 2014
@@ -30,5 +30,5 @@ public interface PagingOptionsConstants 
     public String pagePrev();
 
     public String pageFirst();
-    
+
 }

Modified: james/hupa/trunk/widgets/src/main/java/org/apache/hupa/widgets/WidgetsCSS.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/widgets/src/main/java/org/apache/hupa/widgets/WidgetsCSS.java?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/widgets/src/main/java/org/apache/hupa/widgets/WidgetsCSS.java (original)
+++ james/hupa/trunk/widgets/src/main/java/org/apache/hupa/widgets/WidgetsCSS.java Thu Mar 20 08:16:02 2014
@@ -20,7 +20,7 @@
 package org.apache.hupa.widgets;
 
 public class WidgetsCSS {
-    
+
     public static final String C_hyperlink = "hupa-hyperlink";
     public static final String C_loading = "hupa-loading";
     public static final String C_hupa_rnd_container = "hupa-rounded";

Modified: james/hupa/trunk/widgets/src/main/java/org/apache/hupa/widgets/dialog/Dialog.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/widgets/src/main/java/org/apache/hupa/widgets/dialog/Dialog.java?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/widgets/src/main/java/org/apache/hupa/widgets/dialog/Dialog.java (original)
+++ james/hupa/trunk/widgets/src/main/java/org/apache/hupa/widgets/dialog/Dialog.java Thu Mar 20 08:16:02 2014
@@ -13,16 +13,16 @@ import com.google.gwt.user.client.ui.Ver
 
 
 public class Dialog {
-    
+
     private static PopupPanel alert;
     private static HTML msgContent;
     private static Button okButton;
     private static Button cancelButton;
-    
+
     private static Command okCommand;
     private static Command cancelCommand;
     private static boolean confirm = false;
-    
+
     public static void alert(Object msg) {
         alert(msg, null);
     }
@@ -31,7 +31,7 @@ public class Dialog {
         dialog(msg, false,  null, null);
         okButton.setFocus(true);
     }
-    
+
     public static void confirm(Object msg) {
         confirm(msg, null, null);
     }
@@ -44,7 +44,7 @@ public class Dialog {
         dialog(msg, true,  ok, cancel);
         cancelButton.setFocus(true);
     }
-    
+
     public static void dialog(Object msg, final boolean isConfirm, Command ok, Command cancel) {
         if (alert == null) {
             VerticalPanel alertGrid = new VerticalPanel();

Modified: james/hupa/trunk/widgets/src/main/java/org/apache/hupa/widgets/editor/ColorPicker.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/widgets/src/main/java/org/apache/hupa/widgets/editor/ColorPicker.java?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/widgets/src/main/java/org/apache/hupa/widgets/editor/ColorPicker.java (original)
+++ james/hupa/trunk/widgets/src/main/java/org/apache/hupa/widgets/editor/ColorPicker.java Thu Mar 20 08:16:02 2014
@@ -19,8 +19,8 @@
 /**
  * Much of this code has been taken from the GWT Showcase example
  * which is licensed under Apache License v2.0
- * 
- * This class is necessary while GWT library doesn't provide any 
+ *
+ * This class is necessary while GWT library doesn't provide any
  * toolbar to be used with its RichTextArea widget.
  */
 package org.apache.hupa.widgets.editor;
@@ -44,13 +44,13 @@ import com.google.gwt.user.client.ui.Pop
  * Color picker for rich editor
  */
 public class ColorPicker extends PopupPanel implements ClickHandler, HasValueChangeHandlers<ColorPicker>  {
-    
+
     private class ColorCell extends Label {
-        String rgbColor; 
+        String rgbColor;
         public ColorCell(long color) {
             this(Long.toHexString(color));
         }
-        
+
         public ColorCell(String color) {
             super();
             setColor(color);
@@ -69,7 +69,7 @@ public class ColorPicker extends PopupPa
                 }
             });
         }
-        
+
         public String getColor() {
             return rgbColor;
         }
@@ -77,17 +77,17 @@ public class ColorPicker extends PopupPa
         public void setBorderColor(String color) {
             DOM.setStyleAttribute(getElement(), "border", "1px solid " + color);
         }
-        
+
         void setColor(String s){
             while(s.length()<6) s= "0" + s;
             rgbColor="#" + s;
         }
     }
-    
+
     ValueChangeHandler<ColorPicker> changeHandler = null;
 
     private String color = "";
-    
+
     long[] colors = new long[] {
         0xffffff, 0xcccccc, 0xc0c0c0, 0x999999, 0x666666, 0x333333, 0x000000,
         0xffcccc, 0xff6666, 0xff0000, 0xcc0000, 0x990000, 0x660000, 0x330000,
@@ -100,7 +100,7 @@ public class ColorPicker extends PopupPa
         0xccccff, 0x9999ff, 0x6666cc, 0x6532fd, 0x6500cb, 0x323298, 0x320098,
         0xffccff, 0xff99ff, 0xcc66cc, 0xcb32cb, 0x983298, 0x653265, 0x320032,
     };
-    
+
     public ColorPicker() {
         super(true);
         FlexTable t = new FlexTable();
@@ -116,7 +116,7 @@ public class ColorPicker extends PopupPa
                 t.setWidget(r, c, cell);
             }
         }
-        
+
         add(t);
         setAnimationEnabled(true);
         setStyleName("hupa-color-picker");
@@ -135,9 +135,9 @@ public class ColorPicker extends PopupPa
     public String getColor() {
         return color;
     }
-    
+
     public void onClick(ClickEvent event) {
-        ColorCell cell = (ColorCell)event.getSource(); 
+        ColorCell cell = (ColorCell)event.getSource();
         this.color = cell.getColor();
         if (changeHandler != null)
             changeHandler.onValueChange(new ValueChangeEvent<ColorPicker>(this){});

Modified: james/hupa/trunk/widgets/src/main/java/org/apache/hupa/widgets/editor/Editor.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/widgets/src/main/java/org/apache/hupa/widgets/editor/Editor.java?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/widgets/src/main/java/org/apache/hupa/widgets/editor/Editor.java (original)
+++ james/hupa/trunk/widgets/src/main/java/org/apache/hupa/widgets/editor/Editor.java Thu Mar 20 08:16:02 2014
@@ -41,185 +41,185 @@ import com.google.gwt.user.client.ui.Ric
  */
 public class Editor extends FlowPanel implements HasHTML, Focusable {
 
-	RichTextArea area = new RichTextArea();
-	boolean isNewMessage = true;
+    RichTextArea area = new RichTextArea();
+    boolean isNewMessage = true;
 
-	public Editor() {
-		this((ToolbarConstants) GWT.create(ToolbarConstants.class));
-	}
-
-	public Editor(ToolbarConstants constants) {
-		area.ensureDebugId("hupa-editor-area");
-		area.setHeight("100%");
-
-//		Toolbar toolbar = new Toolbar(area, constants);
-//		toolbar.ensureDebugId("hupa-editor-toolbar");
-
-//		super.add(toolbar);
-		super.add(area);
-		setWidth("100%");
-		setHeight("100%");
-
-		/*
-		 * Note: rich-area is created in an iframe, so Hupa's style sheets are
-		 * not available, unless we inject them to the generated iframe
-		 * 
-		 * When body is available, we put the default style for messages:
-		 */
-		area.addInitializeHandler(new InitializeHandler() {
-			public void onInitialize(InitializeEvent event) {
-				setBodyStyleAttribute("fontFamily", "arial");
-				setBodyStyleAttribute("fontSize", "12px");
-			}
-		});
-
-		/*
-		 * When the users writes in-line comments in replies, the text has to be
-		 * leftIdented. Right now, I've implemented this feature only in gecko
-		 * browsers, for other browsers the user has to push the leftIdent
-		 * button.
-		 */
-		if (getUA().equals("ff"))
-			addNewlineHandlersForFireFox();
-
-	}
-	
-	public RichTextArea getArea(){
-		return area;
-	}
-
-	@Override
-	public void setSize(String width, String height) {
-		area.setSize(width, height);
-	}
-
-	@Override
-	public void setWidth(String width) {
-		super.setWidth(width);
-		area.setWidth(width);
-	}
-
-	@Override
-	public void setHeight(String height) {
-		super.setHeight(height);
-		area.setHeight(height);
-	}
-
-	public String getHTML() {
-		return area.getHTML();
-	}
-
-	public void setHTML(String html) {
-		isNewMessage = html.trim().length() > 0;
-		area.setHTML(html);
-	}
-
-	public String getText() {
-		return area.getText();
-	}
-
-	public void setText(String text) {
-		area.setText(text);
-	}
-
-	public void setBodyStyleAttribute(final String key, final String value) {
-		DOM.setStyleAttribute(getBody(area.getElement()), key, value);
-	}
-
-	public int getTabIndex() {
-		return area.getTabIndex();
-	}
-
-	public void setAccessKey(char key) {
-		area.setAccessKey(key);
-	}
-
-	public void setFocus(boolean focused) {
-		area.setFocus(focused);
-	}
-
-	public void setTabIndex(int index) {
-		area.setTabIndex(index);
-	}
-
-	// isEnabled and setEnabled dont work in richtextarea due to a bug,
-	// I've sent a patch to gwt, when it is accepted this native methods can be
-	// removed
-	public void setEnabled(boolean b) {
-		setEnabled(area.getElement(), b);
-	}
-
-	public boolean isEnabled() {
-		return isEnabled(area.getElement());
-	}
-
-	private native void setEnabled(Element iframe, boolean b) /*-{
-																var doc = iframe.contentWindow.document;
-																if (doc.body.contentEditable) 
-																doc.body.contentEditable = b;
-																else 
-																doc.designMode = b ? 'On' : 'Off';
-																}-*/;
-
-	private native boolean isEnabled(Element iframe) /*-{
-														var doc = iframe.contentWindow.document;
-														alert((doc.designMode.toUpperCase()) == 'ON');
-														if (doc.body.contentEditable) {
-														alert("editable ???");
-														return doc.body.contentEditable;
-														} else {
-														var ret = (((doc.designMode).toUpperCase()) == 'ON') ? true : false;
-														alert(ret);
-														return ret;
-														}
-														}-*/;
-
-	private native Element getBody(Element frame) /*-{
-													return frame.contentWindow.document.body;
-													}-*/;
-
-	private void addNewlineHandlersForFireFox() {
-		area.addClickHandler(new ClickHandler() {
-			public void onClick(ClickEvent event) {
-				doNline = true;
-			}
-		});
-		area.addFocusHandler(new FocusHandler() {
-			public void onFocus(FocusEvent event) {
-				doNline = true;
-			}
-		});
-		area.addKeyPressHandler(new KeyPressHandler() {
-			public void onKeyPress(KeyPressEvent event) {
-				if (!isNewMessage) {
-					if (doNline && event.getCharCode() == KeyCodes.KEY_ENTER) {
-						doNline = false;
-						leftIdentTimer.schedule(10);
-						event.preventDefault();
-					}
-					if (!doNline
-							&& (event.getCharCode() == KeyCodes.KEY_DOWN || event.getCharCode() == KeyCodes.KEY_UP)) {
-						doNline = true;
-					}
-				}
-			}
-		});
-
-	}
-
-	boolean doNline = true;
-	private Timer leftIdentTimer = new Timer() {
-		public void run() {
-			area.getFormatter().insertHTML("<br/>\n");
-			area.getFormatter().leftIndent();
-		}
-	};
-
-	private native String getUA() /*-{
-									var ua = navigator.userAgent.toLowerCase();
-									if (ua.indexOf("gecko") != -1) 
-									return "ff";
-									return "other";
-									}-*/;
+    public Editor() {
+        this((ToolbarConstants) GWT.create(ToolbarConstants.class));
+    }
+
+    public Editor(ToolbarConstants constants) {
+        area.ensureDebugId("hupa-editor-area");
+        area.setHeight("100%");
+
+//        Toolbar toolbar = new Toolbar(area, constants);
+//        toolbar.ensureDebugId("hupa-editor-toolbar");
+
+//        super.add(toolbar);
+        super.add(area);
+        setWidth("100%");
+        setHeight("100%");
+
+        /*
+         * Note: rich-area is created in an iframe, so Hupa's style sheets are
+         * not available, unless we inject them to the generated iframe
+         *
+         * When body is available, we put the default style for messages:
+         */
+        area.addInitializeHandler(new InitializeHandler() {
+            public void onInitialize(InitializeEvent event) {
+                setBodyStyleAttribute("fontFamily", "arial");
+                setBodyStyleAttribute("fontSize", "12px");
+            }
+        });
+
+        /*
+         * When the users writes in-line comments in replies, the text has to be
+         * leftIdented. Right now, I've implemented this feature only in gecko
+         * browsers, for other browsers the user has to push the leftIdent
+         * button.
+         */
+        if (getUA().equals("ff"))
+            addNewlineHandlersForFireFox();
+
+    }
+
+    public RichTextArea getArea(){
+        return area;
+    }
+
+    @Override
+    public void setSize(String width, String height) {
+        area.setSize(width, height);
+    }
+
+    @Override
+    public void setWidth(String width) {
+        super.setWidth(width);
+        area.setWidth(width);
+    }
+
+    @Override
+    public void setHeight(String height) {
+        super.setHeight(height);
+        area.setHeight(height);
+    }
+
+    public String getHTML() {
+        return area.getHTML();
+    }
+
+    public void setHTML(String html) {
+        isNewMessage = html.trim().length() > 0;
+        area.setHTML(html);
+    }
+
+    public String getText() {
+        return area.getText();
+    }
+
+    public void setText(String text) {
+        area.setText(text);
+    }
+
+    public void setBodyStyleAttribute(final String key, final String value) {
+        DOM.setStyleAttribute(getBody(area.getElement()), key, value);
+    }
+
+    public int getTabIndex() {
+        return area.getTabIndex();
+    }
+
+    public void setAccessKey(char key) {
+        area.setAccessKey(key);
+    }
+
+    public void setFocus(boolean focused) {
+        area.setFocus(focused);
+    }
+
+    public void setTabIndex(int index) {
+        area.setTabIndex(index);
+    }
+
+    // isEnabled and setEnabled dont work in richtextarea due to a bug,
+    // I've sent a patch to gwt, when it is accepted this native methods can be
+    // removed
+    public void setEnabled(boolean b) {
+        setEnabled(area.getElement(), b);
+    }
+
+    public boolean isEnabled() {
+        return isEnabled(area.getElement());
+    }
+
+    private native void setEnabled(Element iframe, boolean b) /*-{
+                                                                var doc = iframe.contentWindow.document;
+                                                                if (doc.body.contentEditable)
+                                                                doc.body.contentEditable = b;
+                                                                else
+                                                                doc.designMode = b ? 'On' : 'Off';
+                                                                }-*/;
+
+    private native boolean isEnabled(Element iframe) /*-{
+                                                        var doc = iframe.contentWindow.document;
+                                                        alert((doc.designMode.toUpperCase()) == 'ON');
+                                                        if (doc.body.contentEditable) {
+                                                        alert("editable ???");
+                                                        return doc.body.contentEditable;
+                                                        } else {
+                                                        var ret = (((doc.designMode).toUpperCase()) == 'ON') ? true : false;
+                                                        alert(ret);
+                                                        return ret;
+                                                        }
+                                                        }-*/;
+
+    private native Element getBody(Element frame) /*-{
+                                                    return frame.contentWindow.document.body;
+                                                    }-*/;
+
+    private void addNewlineHandlersForFireFox() {
+        area.addClickHandler(new ClickHandler() {
+            public void onClick(ClickEvent event) {
+                doNline = true;
+            }
+        });
+        area.addFocusHandler(new FocusHandler() {
+            public void onFocus(FocusEvent event) {
+                doNline = true;
+            }
+        });
+        area.addKeyPressHandler(new KeyPressHandler() {
+            public void onKeyPress(KeyPressEvent event) {
+                if (!isNewMessage) {
+                    if (doNline && event.getCharCode() == KeyCodes.KEY_ENTER) {
+                        doNline = false;
+                        leftIdentTimer.schedule(10);
+                        event.preventDefault();
+                    }
+                    if (!doNline
+                            && (event.getCharCode() == KeyCodes.KEY_DOWN || event.getCharCode() == KeyCodes.KEY_UP)) {
+                        doNline = true;
+                    }
+                }
+            }
+        });
+
+    }
+
+    boolean doNline = true;
+    private Timer leftIdentTimer = new Timer() {
+        public void run() {
+            area.getFormatter().insertHTML("<br/>\n");
+            area.getFormatter().leftIndent();
+        }
+    };
+
+    private native String getUA() /*-{
+                                    var ua = navigator.userAgent.toLowerCase();
+                                    if (ua.indexOf("gecko") != -1)
+                                    return "ff";
+                                    return "other";
+                                    }-*/;
 
 }

Modified: james/hupa/trunk/widgets/src/main/java/org/apache/hupa/widgets/editor/FontPicker.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/widgets/src/main/java/org/apache/hupa/widgets/editor/FontPicker.java?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/widgets/src/main/java/org/apache/hupa/widgets/editor/FontPicker.java (original)
+++ james/hupa/trunk/widgets/src/main/java/org/apache/hupa/widgets/editor/FontPicker.java Thu Mar 20 08:16:02 2014
@@ -19,8 +19,8 @@
 /**
  * Much of this code has been taken from the GWT Showcase example
  * which is licensed under Apache License v2.0
- * 
- * This class is necessary while GWT library doesn't provide any 
+ *
+ * This class is necessary while GWT library doesn't provide any
  * toolbar to be used with its RichTextArea widget.
  */
 package org.apache.hupa.widgets.editor;

Modified: james/hupa/trunk/widgets/src/main/java/org/apache/hupa/widgets/editor/Toolbar.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/widgets/src/main/java/org/apache/hupa/widgets/editor/Toolbar.java?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/widgets/src/main/java/org/apache/hupa/widgets/editor/Toolbar.java (original)
+++ james/hupa/trunk/widgets/src/main/java/org/apache/hupa/widgets/editor/Toolbar.java Thu Mar 20 08:16:02 2014
@@ -19,8 +19,8 @@
 /**
  * Much of this code has been taken from the GWT Showcase example
  * which is licensed under Apache License v2.0
- * 
- * This class is necessary while GWT library doesn't provide any 
+ *
+ * This class is necessary while GWT library doesn't provide any
  * toolbar to be used with its RichTextArea widget.
 
  */
@@ -131,7 +131,7 @@ public class Toolbar extends Composite {
         }
 
     }
-    
+
     private ValueChangeHandler<ColorPicker> colorHandler = new ValueChangeHandler<ColorPicker>() {
         public void onValueChange(ValueChangeEvent<ColorPicker> event) {
             ColorPicker sender = event.getValue();
@@ -154,10 +154,10 @@ public class Toolbar extends Composite {
             sender.hide();
         }
     };
-    
+
     private static final ToolbarImages images = (ToolbarImages) GWT.create(ToolbarImages.class);
     private EventHandler handler = new EventHandler();
-    
+
 
     private RichTextArea richText;
     private RichTextArea.Formatter formatter;
@@ -186,7 +186,7 @@ public class Toolbar extends Composite {
     private FontPicker fontFamilyPicker = new FontPicker(FontPickerType.FONT_FAMILY);
     private PushButton fontSize;
     private FontPicker fontSizePicker = new FontPicker(FontPickerType.FONT_SIZE);
-    
+
     private PushButton backColors;
     private PushButton foreColors;
     private ColorPicker backColorsPicker = new ColorPicker();
@@ -194,7 +194,7 @@ public class Toolbar extends Composite {
 
     /**
      * Creates a new toolbar that drives the given rich text area.
-     * 
+     *
      * @param richText
      *            the rich text area to be controlled
      */
@@ -237,7 +237,7 @@ public class Toolbar extends Composite {
             topPanel.add(removeFormat = createPushButton(images.removeFormat(), strings.editor_removeFormat()));
         }
 
-        
+
         HTML topEmtyCell = new HTML("");
         topPanel.add(topEmtyCell);
         topPanel.setCellWidth(topEmtyCell, "100%");

Modified: james/hupa/trunk/widgets/src/main/java/org/apache/hupa/widgets/editor/ToolbarConstants.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/widgets/src/main/java/org/apache/hupa/widgets/editor/ToolbarConstants.java?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/widgets/src/main/java/org/apache/hupa/widgets/editor/ToolbarConstants.java (original)
+++ james/hupa/trunk/widgets/src/main/java/org/apache/hupa/widgets/editor/ToolbarConstants.java Thu Mar 20 08:16:02 2014
@@ -27,7 +27,7 @@ import com.google.gwt.i18n.client.Consta
  * internationalizable.
  */
 public interface ToolbarConstants extends Constants {
-    
+
     @DefaultStringValue("Toggle Bold")
     public String editor_bold();
 
@@ -84,15 +84,15 @@ public interface ToolbarConstants extend
 
     @DefaultStringValue("Background color")
     public String editor_background();
-    
+
     @DefaultStringValue("Foreground color")
     public String editor_foreground();
-    
+
     @DefaultStringValue("Font name")
     public String editor_font();
-    
+
     @DefaultStringValue("Font size")
     public String editor_size();
-    
+
 
 }

Modified: james/hupa/trunk/widgets/src/main/java/org/apache/hupa/widgets/editor/bundles/ToolbarImages.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/widgets/src/main/java/org/apache/hupa/widgets/editor/bundles/ToolbarImages.java?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/widgets/src/main/java/org/apache/hupa/widgets/editor/bundles/ToolbarImages.java (original)
+++ james/hupa/trunk/widgets/src/main/java/org/apache/hupa/widgets/editor/bundles/ToolbarImages.java Thu Mar 20 08:16:02 2014
@@ -67,13 +67,13 @@ import com.google.gwt.resources.client.I
         ImageResource ul();
 
         ImageResource underline();
-        
+
         ImageResource backColors();
-        
+
         ImageResource foreColors();
-        
+
         ImageResource fonts();
-        
+
         ImageResource fontSizes();
     }
 

Modified: james/hupa/trunk/widgets/src/main/java/org/apache/hupa/widgets/event/EditEvent.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/widgets/src/main/java/org/apache/hupa/widgets/event/EditEvent.java?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/widgets/src/main/java/org/apache/hupa/widgets/event/EditEvent.java (original)
+++ james/hupa/trunk/widgets/src/main/java/org/apache/hupa/widgets/event/EditEvent.java Thu Mar 20 08:16:02 2014
@@ -1,89 +1,89 @@
-/****************************************************************
- * 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.widgets.event;
-
-import com.google.gwt.event.shared.GwtEvent;
-
-/**
- * Event which get fired on any edit operation
- * 
- *
- */
-public class EditEvent extends GwtEvent<EditHandler>{
-    public static final Type<EditHandler> TYPE = new Type<EditHandler>();
-    private EventType eType;
-    private Object oldValue;
-    private Object newValue;
-
-    /**
-     * The edit types
-     *
-     */
-     public enum  EventType{
-        Start,
-        Stop,
-        Cancel
-    }
-     
-     public EditEvent(EventType eType,Object oldValue,Object newValue) {
-         this.eType = eType;
-         this.oldValue = oldValue;
-         this.newValue = newValue;
-     }
-     
-     /**
-      * Return the edit type
-      * 
-      * @return eType
-      */
-     public EventType getEventType() {
-         return eType;
-     }
-     
-     /**
-      * Return the oldvalue of the editing component
-      * 
-      * @return oldValue
-      */
-     public Object getOldValue() {
-         return oldValue;
-     }
-     
-     /**
-      * Return the newvalue of the editing component
-      * 
-      * @return newValue
-      */
-     public Object getNewValue() {
-         return newValue;
-     }
-     
-    @Override
-    protected void dispatch(EditHandler handler) {
-        handler.onEditEvent(this);
-    }
-
-    @Override
-    public com.google.gwt.event.shared.GwtEvent.Type<EditHandler> getAssociatedType() {
-        return TYPE;
-    }
-
-    
-}
+/****************************************************************
+ * 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.widgets.event;
+
+import com.google.gwt.event.shared.GwtEvent;
+
+/**
+ * Event which get fired on any edit operation
+ *
+ *
+ */
+public class EditEvent extends GwtEvent<EditHandler>{
+    public static final Type<EditHandler> TYPE = new Type<EditHandler>();
+    private EventType eType;
+    private Object oldValue;
+    private Object newValue;
+
+    /**
+     * The edit types
+     *
+     */
+     public enum  EventType{
+        Start,
+        Stop,
+        Cancel
+    }
+
+     public EditEvent(EventType eType,Object oldValue,Object newValue) {
+         this.eType = eType;
+         this.oldValue = oldValue;
+         this.newValue = newValue;
+     }
+
+     /**
+      * Return the edit type
+      *
+      * @return eType
+      */
+     public EventType getEventType() {
+         return eType;
+     }
+
+     /**
+      * Return the oldvalue of the editing component
+      *
+      * @return oldValue
+      */
+     public Object getOldValue() {
+         return oldValue;
+     }
+
+     /**
+      * Return the newvalue of the editing component
+      *
+      * @return newValue
+      */
+     public Object getNewValue() {
+         return newValue;
+     }
+
+    @Override
+    protected void dispatch(EditHandler handler) {
+        handler.onEditEvent(this);
+    }
+
+    @Override
+    public com.google.gwt.event.shared.GwtEvent.Type<EditHandler> getAssociatedType() {
+        return TYPE;
+    }
+
+
+}

Modified: james/hupa/trunk/widgets/src/main/java/org/apache/hupa/widgets/event/EditHandler.java
URL: http://svn.apache.org/viewvc/james/hupa/trunk/widgets/src/main/java/org/apache/hupa/widgets/event/EditHandler.java?rev=1579559&r1=1579558&r2=1579559&view=diff
==============================================================================
--- james/hupa/trunk/widgets/src/main/java/org/apache/hupa/widgets/event/EditHandler.java (original)
+++ james/hupa/trunk/widgets/src/main/java/org/apache/hupa/widgets/event/EditHandler.java Thu Mar 20 08:16:02 2014
@@ -1,27 +1,27 @@
-/****************************************************************
- * 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.widgets.event;
-
-import com.google.gwt.event.shared.EventHandler;
-
-public interface EditHandler extends EventHandler{
-
-    public void onEditEvent(EditEvent event);
-}
+/****************************************************************
+ * 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.widgets.event;
+
+import com.google.gwt.event.shared.EventHandler;
+
+public interface EditHandler extends EventHandler{
+
+    public void onEditEvent(EditEvent event);
+}



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