src/share/classes/javax/sql/rowset/serial/SerialDatalink.java

Print this page

        

*** 1,7 **** /* ! * Copyright (c) 2003, 2012, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this --- 1,7 ---- /* ! * Copyright (c) 2003, 2013, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License version 2 only, as * published by the Free Software Foundation. Oracle designates this
*** 41,51 **** * to manipulate the external data. * <pre> * java.net.URL url = rowset.getURL(1); * </pre> * ! * <h4> Thread safety </h4> * * A SerialDatalink is not safe for use by multiple concurrent threads. If a * SerialDatalink is to be used by more than one thread then access to the * SerialDatalink should be controlled by appropriate synchronization. */ --- 41,51 ---- * to manipulate the external data. * <pre> * java.net.URL url = rowset.getURL(1); * </pre> * ! * <h3> Thread safety </h3> * * A SerialDatalink is not safe for use by multiple concurrent threads. If a * SerialDatalink is to be used by more than one thread then access to the * SerialDatalink should be controlled by appropriate synchronization. */
*** 75,84 **** --- 75,85 ---- /** * Constructs a new <code>SerialDatalink</code> object from the given * <code>java.net.URL</code> object. * <P> + * @param url the {@code URL} to create the {@code SerialDataLink} from * @throws SerialException if url parameter is a null */ public SerialDatalink(URL url) throws SerialException { if (url == null) { throw new SerialException("Cannot serialize empty URL instance");