You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@river.apache.org by pe...@apache.org on 2010/07/12 06:49:50 UTC

svn commit: r963187 - in /incubator/river/jtsk/trunk/src/net/jini: core/lookup/StreamServiceRegistrar.java lookup/StreamServiceRegistrarFacade.java

Author: peter_firmstone
Date: Mon Jul 12 04:49:50 2010
New Revision: 963187

URL: http://svn.apache.org/viewvc?rev=963187&view=rev
Log:
Generic's in Interfaces must be specific between code compilled separately, to avoid ClassCastException's

Modified:
    incubator/river/jtsk/trunk/src/net/jini/core/lookup/StreamServiceRegistrar.java
    incubator/river/jtsk/trunk/src/net/jini/lookup/StreamServiceRegistrarFacade.java

Modified: incubator/river/jtsk/trunk/src/net/jini/core/lookup/StreamServiceRegistrar.java
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/src/net/jini/core/lookup/StreamServiceRegistrar.java?rev=963187&r1=963186&r2=963187&view=diff
==============================================================================
--- incubator/river/jtsk/trunk/src/net/jini/core/lookup/StreamServiceRegistrar.java (original)
+++ incubator/river/jtsk/trunk/src/net/jini/core/lookup/StreamServiceRegistrar.java Mon Jul 12 04:49:50 2010
@@ -122,7 +122,7 @@ public interface StreamServiceRegistrar 
      * @since 2.2.0
      */
     ResultStream<ServiceItem> lookup(ServiceTemplate tmpl, 
-        Class<? extends Entry>[] unmarshalledEntries, int maxBatchSize) throws IOException;
+        Class[] unmarshalledEntries, int maxBatchSize) throws IOException;
     
     /**
      * Looks at all service items that match the specified template, finds

Modified: incubator/river/jtsk/trunk/src/net/jini/lookup/StreamServiceRegistrarFacade.java
URL: http://svn.apache.org/viewvc/incubator/river/jtsk/trunk/src/net/jini/lookup/StreamServiceRegistrarFacade.java?rev=963187&r1=963186&r2=963187&view=diff
==============================================================================
--- incubator/river/jtsk/trunk/src/net/jini/lookup/StreamServiceRegistrarFacade.java (original)
+++ incubator/river/jtsk/trunk/src/net/jini/lookup/StreamServiceRegistrarFacade.java Mon Jul 12 04:49:50 2010
@@ -126,7 +126,7 @@ public class StreamServiceRegistrarFacad
     }
 
     public ResultStream<ServiceItem> lookup(ServiceTemplate tmpl, 
-            Class<? extends Entry>[] unmarshalledEntries, int maxBatchSize) 
+            Class[] unmarshalledEntries, int maxBatchSize) 
             throws IOException {
         if ( psr instanceof StreamServiceRegistrar ){
             StreamServiceRegistrar ssr = (StreamServiceRegistrar) psr;