Tag: cws_src680_dba24d User: fs Date: 2007-11-21 07:47:29+0000 Modified: dba/dbaccess/qa/complex/dbaccess/CRMDatabase.java dba/dbaccess/qa/complex/dbaccess/PropertyBag.java dba/dbaccess/qa/complex/dbaccess/Query.java dba/dbaccess/qa/complex/dbaccess/RowSet.java dba/dbaccess/qa/complex/dbaccess/SingleSelectQueryComposer.java dba/dbaccess/qa/complex/dbaccess/Storable.java
Log: silence some NetBeans 6 warnings File Changes: Directory: /dba/dbaccess/qa/complex/dbaccess/ ============================================= File [changed]: CRMDatabase.java Url: http://dba.openoffice.org/source/browse/dba/dbaccess/qa/complex/dbaccess/CRMDatabase.java?r1=1.3&r2=1.3.70.1 Delta lines: +3 -5 ------------------- --- CRMDatabase.java 2007-07-06 07:50:58+0000 1.3 +++ CRMDatabase.java 2007-11-21 07:47:26+0000 1.3.70.1 @@ -4,9 +4,9 @@ * * $RCSfile: CRMDatabase.java,v $ * - * $Revision: 1.3 $ + * $Revision: 1.3.70.1 $ * - * last change: $Author: rt $ $Date: 2007/07/06 07:50:58 $ + * last change: $Author: fs $ $Date: 2007/11/21 07:47:26 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -49,8 +49,6 @@ import connectivity.tools.HsqlTableDescriptor; import connectivity.tools.QueryDefinition; -import complexlib.ComplexTestCase.AssureException; - /** implements a small Customer Relationship Management database * * Not finished, by far. Feel free to add features as you need them. File [changed]: PropertyBag.java Url: http://dba.openoffice.org/source/browse/dba/dbaccess/qa/complex/dbaccess/PropertyBag.java?r1=1.3&r2=1.3.156.1 Delta lines: +3 -5 ------------------- --- PropertyBag.java 2006-10-24 15:14:23+0000 1.3 +++ PropertyBag.java 2007-11-21 07:47:26+0000 1.3.156.1 @@ -4,9 +4,9 @@ * * $RCSfile: PropertyBag.java,v $ * - * $Revision: 1.3 $ + * $Revision: 1.3.156.1 $ * - * last change: $Author: hr $ $Date: 2006/10/24 15:14:23 $ + * last change: $Author: fs $ $Date: 2007/11/21 07:47:26 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -38,8 +38,6 @@ import complexlib.ComplexTestCase; import com.sun.star.uno.UnoRuntime; -import com.sun.star.uno.Type; -import com.sun.star.uno.Any; import com.sun.star.uno.XInterface; import com.sun.star.lang.XMultiServiceFactory; import com.sun.star.beans.*; File [changed]: Query.java Url: http://dba.openoffice.org/source/browse/dba/dbaccess/qa/complex/dbaccess/Query.java?r1=1.3&r2=1.3.70.1 Delta lines: +3 -7 ------------------- --- Query.java 2007-07-06 07:51:16+0000 1.3 +++ Query.java 2007-11-21 07:47:26+0000 1.3.70.1 @@ -4,9 +4,9 @@ * * $RCSfile: Query.java,v $ * - * $Revision: 1.3 $ + * $Revision: 1.3.70.1 $ * - * last change: $Author: rt $ $Date: 2007/07/06 07:51:16 $ + * last change: $Author: fs $ $Date: 2007/11/21 07:47:26 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -35,15 +35,11 @@ package complex.dbaccess; import com.sun.star.beans.XPropertySet; -import com.sun.star.container.ElementExistException; import com.sun.star.container.XIndexAccess; import com.sun.star.container.XNameAccess; import com.sun.star.container.XNamed; -import com.sun.star.lang.WrappedTargetException; import com.sun.star.lang.XMultiServiceFactory; import com.sun.star.sdb.XQueriesSupplier; -import com.sun.star.sdb.XSingleSelectQueryComposer; -import com.sun.star.sdbc.SQLException; import com.sun.star.sdbcx.XColumnsSupplier; import com.sun.star.uno.UnoRuntime; import connectivity.tools.*; File [changed]: RowSet.java Url: http://dba.openoffice.org/source/browse/dba/dbaccess/qa/complex/dbaccess/RowSet.java?r1=1.8&r2=1.8.70.1 Delta lines: +5 -5 ------------------- --- RowSet.java 2007-07-06 07:51:31+0000 1.8 +++ RowSet.java 2007-11-21 07:47:26+0000 1.8.70.1 @@ -4,9 +4,9 @@ * * $RCSfile: RowSet.java,v $ * - * $Revision: 1.8 $ + * $Revision: 1.8.70.1 $ * - * last change: $Author: rt $ $Date: 2007/07/06 07:51:31 $ + * last change: $Author: fs $ $Date: 2007/11/21 07:47:26 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -833,11 +833,11 @@ for ( int i=0; i<expected; ++i ) { - XPropertySet param = (XPropertySet)UnoRuntime.queryInterface( XPropertySet.class, + XPropertySet parameter = (XPropertySet)UnoRuntime.queryInterface( XPropertySet.class, params.getByIndex(i) ); String expectedName = _paramNames[i]; - String foundName = (String)param.getPropertyValue( "Name" ); + String foundName = (String)parameter.getPropertyValue( "Name" ); assure( "wrong parameter name (expected: " + expectedName + ", found: " + foundName + ") in" + _context, expectedName.equals( foundName ) ); } File [changed]: SingleSelectQueryComposer.java Url: http://dba.openoffice.org/source/browse/dba/dbaccess/qa/complex/dbaccess/SingleSelectQueryComposer.java?r1=1.5&r2=1.5.212.1 Delta lines: +5 -12 -------------------- --- SingleSelectQueryComposer.java 2006-07-10 14:59:42+0000 1.5 +++ SingleSelectQueryComposer.java 2007-11-21 07:47:26+0000 1.5.212.1 @@ -4,9 +4,9 @@ * * $RCSfile: SingleSelectQueryComposer.java,v $ * - * $Revision: 1.5 $ + * $Revision: 1.5.212.1 $ * - * last change: $Author: obo $ $Date: 2006/07/10 14:59:42 $ + * last change: $Author: fs $ $Date: 2007/11/21 07:47:26 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -34,7 +34,6 @@ ************************************************************************/ package complex.dbaccess; -import com.sun.star.lang.WrappedTargetException; import com.sun.star.uno.UnoRuntime; import com.sun.star.beans.*; import com.sun.star.sdbcx.*; @@ -42,14 +41,8 @@ import com.sun.star.sdb.*; import com.sun.star.container.*; import com.sun.star.lang.XMultiServiceFactory; -import com.sun.star.util.XRefreshable; import complexlib.ComplexTestCase; -import connectivity.tools.DataSource; -import connectivity.tools.HsqlColumnDescriptor; -import connectivity.tools.HsqlDatabase; -import connectivity.tools.HsqlTableDescriptor; -import connectivity.tools.RowSet; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Method; @@ -248,9 +241,9 @@ for ( int i = 0; i < paramCount; ++i ) { - XPropertySet param = (XPropertySet)UnoRuntime.queryInterface( + XPropertySet parameter = (XPropertySet)UnoRuntime.queryInterface( XPropertySet.class, parameters.getByIndex(i) ); - String paramName = (String)param.getPropertyValue( "Name" ); + String paramName = (String)parameter.getPropertyValue( "Name" ); assure( "wrong parameter name at position " + ( i + 1 ) + " (expected: " + expectedParamNames[i] + ", found: " + paramName + ")", paramName.equals( expectedParamNames[i] ) ); File [changed]: Storable.java Url: http://dba.openoffice.org/source/browse/dba/dbaccess/qa/complex/dbaccess/Storable.java?r1=1.2&r2=1.2.28.1 Delta lines: +2 -12 -------------------- --- Storable.java 2007-09-26 14:37:58+0000 1.2 +++ Storable.java 2007-11-21 07:47:26+0000 1.2.28.1 @@ -4,9 +4,9 @@ * * $RCSfile: Storable.java,v $ * - * $Revision: 1.2 $ + * $Revision: 1.2.28.1 $ * - * last change: $Author: hr $ $Date: 2007/09/26 14:37:58 $ + * last change: $Author: fs $ $Date: 2007/11/21 07:47:26 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -34,17 +34,7 @@ ************************************************************************/ package complex.dbaccess; -import com.sun.star.beans.XPropertySet; -import com.sun.star.container.ElementExistException; -import com.sun.star.container.XIndexAccess; -import com.sun.star.container.XNameAccess; -import com.sun.star.container.XNamed; -import com.sun.star.lang.WrappedTargetException; import com.sun.star.lang.XMultiServiceFactory; -import com.sun.star.sdb.XQueriesSupplier; -import com.sun.star.sdb.XSingleSelectQueryComposer; -import com.sun.star.sdbc.SQLException; -import com.sun.star.sdbcx.XColumnsSupplier; import com.sun.star.uno.UnoRuntime; import com.sun.star.frame.XStorable; import com.sun.star.frame.FrameSearchFlag; --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
