abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r614087 - in /incubator/abdera/java/branches/server_refactor/src: main/java/org/apache/abdera/protocol/server/impl/ main/java/org/apache/abdera/protocol/server/provider/basic/ test/java/org/apache/abdera/protocol/server/test/ext/ test/java/...
Date Tue, 22 Jan 2008 01:43:38 GMT
Author: jmsnell
Date: Mon Jan 21 17:43:37 2008
New Revision: 614087

URL: http://svn.apache.org/viewvc?rev=614087&view=rev
Log:
class rename

Added:
    incubator/abdera/java/branches/server_refactor/src/main/java/org/apache/abdera/protocol/server/impl/DefaultProvider.java
      - copied, changed from r614086, incubator/abdera/java/branches/server_refactor/src/main/java/org/apache/abdera/protocol/server/impl/ExtendedProvider.java
Removed:
    incubator/abdera/java/branches/server_refactor/src/main/java/org/apache/abdera/protocol/server/impl/ExtendedProvider.java
Modified:
    incubator/abdera/java/branches/server_refactor/src/main/java/org/apache/abdera/protocol/server/provider/basic/BasicServiceContext.java
    incubator/abdera/java/branches/server_refactor/src/test/java/org/apache/abdera/protocol/server/test/ext/TestServiceContext.java
    incubator/abdera/java/branches/server_refactor/src/test/java/org/apache/abdera/protocol/server/test/simple/SimpleAdapter.java

Copied: incubator/abdera/java/branches/server_refactor/src/main/java/org/apache/abdera/protocol/server/impl/DefaultProvider.java
(from r614086, incubator/abdera/java/branches/server_refactor/src/main/java/org/apache/abdera/protocol/server/impl/ExtendedProvider.java)
URL: http://svn.apache.org/viewvc/incubator/abdera/java/branches/server_refactor/src/main/java/org/apache/abdera/protocol/server/impl/DefaultProvider.java?p2=incubator/abdera/java/branches/server_refactor/src/main/java/org/apache/abdera/protocol/server/impl/DefaultProvider.java&p1=incubator/abdera/java/branches/server_refactor/src/main/java/org/apache/abdera/protocol/server/impl/ExtendedProvider.java&r1=614086&r2=614087&rev=614087&view=diff
==============================================================================
--- incubator/abdera/java/branches/server_refactor/src/main/java/org/apache/abdera/protocol/server/impl/ExtendedProvider.java
(original)
+++ incubator/abdera/java/branches/server_refactor/src/main/java/org/apache/abdera/protocol/server/impl/DefaultProvider.java
Mon Jan 21 17:43:37 2008
@@ -28,14 +28,14 @@
 import org.apache.abdera.util.Constants;
 import org.apache.abdera.writer.StreamWriter;
 
-public class ExtendedProvider 
+public class DefaultProvider 
   extends AbstractProvider {
   
   private List<WorkspaceInfo> workspaces = new ArrayList<WorkspaceInfo>();
   
-  public ExtendedProvider() {}
+  public DefaultProvider() {}
   
-  public ExtendedProvider(WorkspaceInfo... workspaces) {
+  public DefaultProvider(WorkspaceInfo... workspaces) {
     for (WorkspaceInfo wi : workspaces)
       addWorkspace(wi);
   }

Modified: incubator/abdera/java/branches/server_refactor/src/main/java/org/apache/abdera/protocol/server/provider/basic/BasicServiceContext.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/branches/server_refactor/src/main/java/org/apache/abdera/protocol/server/provider/basic/BasicServiceContext.java?rev=614087&r1=614086&r2=614087&view=diff
==============================================================================
--- incubator/abdera/java/branches/server_refactor/src/main/java/org/apache/abdera/protocol/server/provider/basic/BasicServiceContext.java
(original)
+++ incubator/abdera/java/branches/server_refactor/src/main/java/org/apache/abdera/protocol/server/provider/basic/BasicServiceContext.java
Mon Jan 21 17:43:37 2008
@@ -23,7 +23,7 @@
 import org.apache.abdera.protocol.server.Target;
 import org.apache.abdera.protocol.server.TargetType;
 import org.apache.abdera.protocol.server.context.DefaultServiceContext;
-import org.apache.abdera.protocol.server.impl.ExtendedProvider;
+import org.apache.abdera.protocol.server.impl.DefaultProvider;
 import org.apache.abdera.protocol.server.impl.RegexTargetResolver;
 
 public class BasicServiceContext 
@@ -36,7 +36,7 @@
       RequestContext request) {
         if (provider == null) {
           provider = 
-            new ExtendedProvider(
+            new DefaultProvider(
               new BasicWorkspace());
         }
         return provider;

Modified: incubator/abdera/java/branches/server_refactor/src/test/java/org/apache/abdera/protocol/server/test/ext/TestServiceContext.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/branches/server_refactor/src/test/java/org/apache/abdera/protocol/server/test/ext/TestServiceContext.java?rev=614087&r1=614086&r2=614087&view=diff
==============================================================================
--- incubator/abdera/java/branches/server_refactor/src/test/java/org/apache/abdera/protocol/server/test/ext/TestServiceContext.java
(original)
+++ incubator/abdera/java/branches/server_refactor/src/test/java/org/apache/abdera/protocol/server/test/ext/TestServiceContext.java
Mon Jan 21 17:43:37 2008
@@ -23,7 +23,7 @@
 import org.apache.abdera.protocol.server.Target;
 import org.apache.abdera.protocol.server.TargetType;
 import org.apache.abdera.protocol.server.context.DefaultServiceContext;
-import org.apache.abdera.protocol.server.impl.ExtendedProvider;
+import org.apache.abdera.protocol.server.impl.DefaultProvider;
 import org.apache.abdera.protocol.server.impl.RegexTargetResolver;
 import org.apache.abdera.protocol.server.impl.SimpleCollection;
 import org.apache.abdera.protocol.server.impl.SimpleWorkspace;
@@ -35,7 +35,7 @@
   public synchronized Provider getProvider(
     RequestContext request) {
       if (provider == null) {
-        ExtendedProvider p = new ExtendedProvider();
+        DefaultProvider p = new DefaultProvider();
         SimpleWorkspace workspace = new SimpleWorkspace();
         workspace.setTitle("My Blog");
         workspace.addCollection(

Modified: incubator/abdera/java/branches/server_refactor/src/test/java/org/apache/abdera/protocol/server/test/simple/SimpleAdapter.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/branches/server_refactor/src/test/java/org/apache/abdera/protocol/server/test/simple/SimpleAdapter.java?rev=614087&r1=614086&r2=614087&view=diff
==============================================================================
--- incubator/abdera/java/branches/server_refactor/src/test/java/org/apache/abdera/protocol/server/test/simple/SimpleAdapter.java
(original)
+++ incubator/abdera/java/branches/server_refactor/src/test/java/org/apache/abdera/protocol/server/test/simple/SimpleAdapter.java
Mon Jan 21 17:43:37 2008
@@ -37,6 +37,7 @@
 import org.apache.abdera.protocol.server.context.BaseResponseContext;
 import org.apache.abdera.util.MimeTypeHelper;
 
+@SuppressWarnings("unchecked")
 public class SimpleAdapter  
   implements CollectionAdapter {
     



Mime
View raw message