diff options
Diffstat (limited to 'odk/examples/DevelopersGuide/Database/RowSet.java')
-rw-r--r-- | odk/examples/DevelopersGuide/Database/RowSet.java | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/odk/examples/DevelopersGuide/Database/RowSet.java b/odk/examples/DevelopersGuide/Database/RowSet.java index bffcca51b663..9907b1659c18 100644 --- a/odk/examples/DevelopersGuide/Database/RowSet.java +++ b/odk/examples/DevelopersGuide/Database/RowSet.java @@ -2,7 +2,7 @@ * * The Contents of this file are made available subject to the terms of * the BSD license. - * + * * Copyright 2000, 2010 Oracle and/or its affiliates. * All rights reserved. * @@ -29,7 +29,7 @@ * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR * TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE * USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. - * + * *************************************************************************/ import java.io.*; @@ -48,7 +48,7 @@ import com.sun.star.sdbc.*; import com.sun.star.sdbcx.Privilege; import com.sun.star.sdb.CommandType; import com.sun.star.sdb.XRowSetApproveBroadcaster; - + public class RowSet { private static XComponentContext xContext = null; @@ -209,8 +209,8 @@ public class RowSet // do some movements to check if we got all notifications XResultSet xRes = (XResultSet)UnoRuntime.queryInterface(XResultSet.class,xRowRes); System.out.println("beforeFirst"); - xRes.beforeFirst(); - // this should lead to no notifications because + xRes.beforeFirst(); + // this should lead to no notifications because // we should stand before the first row at the beginning System.out.println("We stand before the first row: " + xRes.isBeforeFirst()); |