projects
/
yaz4j-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Move async result cursor to AsyncConnection
[yaz4j-moved-to-github.git]
/
src
/
main
/
java
/
org
/
yaz4j
/
Query.java
diff --git
a/src/main/java/org/yaz4j/Query.java
b/src/main/java/org/yaz4j/Query.java
index
03a5f09
..
0f51710
100644
(file)
--- a/
src/main/java/org/yaz4j/Query.java
+++ b/
src/main/java/org/yaz4j/Query.java
@@
-1,5
+1,5
@@
/*
/*
- * Copyright (c) 1995-2013, Index Datassss
+ * Copyright (c) 1995-2013, Index Data
* All rights reserved.
* See the file LICENSE for details.
*/
* All rights reserved.
* See the file LICENSE for details.
*/
@@
-18,7
+18,9
@@
public abstract class Query {
SWIGTYPE_p_ZOOM_query_p query;
private boolean disposed = false;
SWIGTYPE_p_ZOOM_query_p query;
private boolean disposed = false;
- protected Query() {
+ protected Query(String queryString) {
+ if (queryString == null)
+ throw new NullPointerException("query string cannot be null");
query = yaz4jlib.ZOOM_query_create();
}
query = yaz4jlib.ZOOM_query_create();
}