"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "hsqldb/src/org/hsqldb/DatabaseURL.java" between
hsqldb-2.7.0.zip and hsqldb-2.7.1.zip

About: HSQLDB (HyperSQL DataBase) is a SQL relational database engine written in Java. It supports nearly full ANSI-92 SQL (BNF format) and full core SQL:2008.

DatabaseURL.java  (hsqldb-2.7.0):DatabaseURL.java  (hsqldb-2.7.1)
/* Copyright (c) 2001-2021, The HSQL Development Group /* Copyright (c) 2001-2022, The HSQL Development Group
* All rights reserved. * All rights reserved.
* *
* Redistribution and use in source and binary forms, with or without * Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met: * modification, are permitted provided that the following conditions are met:
* *
* Redistributions of source code must retain the above copyright notice, this * Redistributions of source code must retain the above copyright notice, this
* list of conditions and the following disclaimer. * list of conditions and the following disclaimer.
* *
* Redistributions in binary form must reproduce the above copyright notice, * Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation * this list of conditions and the following disclaimer in the documentation
skipping to change at line 104 skipping to change at line 104
* <li> database: database name. For memory, networked modes, * <li> database: database name. For memory, networked modes,
* this is returned in lowercase, for file: and res: databases the original case of * this is returned in lowercase, for file: and res: databases the original case of
* characters is preserved. Returns empty string if name is not present in * characters is preserved. Returns empty string if name is not present in
* the url. * the url.
* *
* <li> Additional connection properties specified as key/value pairs. * <li> Additional connection properties specified as key/value pairs.
* </ul> * </ul>
* *
* @return null returned if the part that should represent the port is not * @return null returned if the part that should represent the port is not
* an integer or the part for database name is empty. Empty * an integer or the part for database name is empty. Empty
* HsqlProperties returned if if url does not begin with valid protocol * HsqlProperties returned if url does not begin with valid protocol
* and could refer to another JDBC driver. * and could refer to another JDBC driver.
* @param url String * @param url String
* @param hasPrefix indicates URL prefix is present * @param hasPrefix indicates URL prefix is present
* @param noPath indicates empty path and verbatim use of path elements as * @param noPath indicates empty path and verbatim use of path elements as
* database * database
*/ */
public static HsqlProperties parseURL(String url, boolean hasPrefix, public static HsqlProperties parseURL(String url, boolean hasPrefix,
boolean noPath) { boolean noPath) {
String urlImage = url.toLowerCase(Locale.ENGLISH); String urlImage = url.toLowerCase(Locale.ENGLISH);
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)