db-ojb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From b..@apache.org
Subject cvs commit: db-ojb/src/java/org/apache/ojb/broker/util ProxyHelper.java
Date Mon, 26 May 2003 18:36:19 GMT
brj         2003/05/26 11:36:19

  Modified:    src/java/org/apache/ojb/broker/util ProxyHelper.java
  Log:
  fixed problem with SetProxy
  
  Revision  Changes    Path
  1.11      +7 -13     db-ojb/src/java/org/apache/ojb/broker/util/ProxyHelper.java
  
  Index: ProxyHelper.java
  ===================================================================
  RCS file: /home/cvs/db-ojb/src/java/org/apache/ojb/broker/util/ProxyHelper.java,v
  retrieving revision 1.10
  retrieving revision 1.11
  diff -u -r1.10 -r1.11
  --- ProxyHelper.java	25 May 2003 00:00:20 -0000	1.10
  +++ ProxyHelper.java	26 May 2003 18:36:19 -0000	1.11
  @@ -55,13 +55,8 @@
    */
   
   //#ifdef JDK13
  -import java.lang.reflect.Proxy;
  -//#else
  -/*
  -import com.develop.java.lang.reflect.Proxy;
  -*/
  -//#endif
   import java.lang.reflect.Constructor;
  +import java.lang.reflect.Proxy;
   import java.util.List;
   import java.util.Set;
   
  @@ -73,13 +68,12 @@
   import org.apache.ojb.broker.accesslayer.IndirectionHandler;
   import org.apache.ojb.broker.accesslayer.ListProxy;
   import org.apache.ojb.broker.accesslayer.SetProxy;
  -import org.apache.ojb.broker.query.Query;
  -import org.apache.ojb.broker.core.PersistenceBrokerImpl;
   import org.apache.ojb.broker.core.PersistenceBrokerConfiguration;
  +import org.apache.ojb.broker.core.PersistenceBrokerImpl;
  +import org.apache.ojb.broker.query.Query;
  +import org.apache.ojb.broker.util.configuration.impl.OjbConfigurator;
   import org.apache.ojb.broker.util.logging.Logger;
   import org.apache.ojb.broker.util.logging.LoggerFactory;
  -import org.apache.ojb.broker.util.configuration.impl.OjbConfigurator;
  -import org.apache.ojb.broker.util.configuration.ConfigurationException;
   
   
   /**
  @@ -97,13 +91,13 @@
   	private static final Constructor collectionProxyConstructor;
   	private static Constructor collectionProxyConstructorUserDefined;
   
  -	static
  +    static
   	{
           Class paramType[] = {PBKey.class, Class.class, Query.class};
           try
   		{
   			listProxyConstructor = ListProxy.class.getConstructor(paramType);
  -			setProxyConstructor = ListProxy.class.getConstructor(paramType);
  +			setProxyConstructor = SetProxy.class.getConstructor(paramType);
   			collectionProxyConstructor = CollectionProxy.class.getConstructor(paramType);
   		}
   		catch (Throwable t)
  
  
  

Mime
View raw message