You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by ot...@apache.org on 2003/01/15 16:41:52 UTC
cvs commit: jakarta-lucene/src/java/org/apache/lucene/search Query.java
otis 2003/01/15 07:41:52
Modified: src/java/org/apache/lucene/search Query.java
Log:
- Fix to support pre-1.4 JDKs.
Revision Changes Path
1.11 +1 -1 jakarta-lucene/src/java/org/apache/lucene/search/Query.java
Index: Query.java
===================================================================
RCS file: /home/cvs/jakarta-lucene/src/java/org/apache/lucene/search/Query.java,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- Query.java 14 Jan 2003 21:57:30 -0000 1.10
+++ Query.java 15 Jan 2003 15:41:52 -0000 1.11
@@ -172,7 +172,7 @@
try {
return (Query)super.clone();
} catch (CloneNotSupportedException e) {
- throw new RuntimeException(e);
+ throw new RuntimeException("Clone not supported: " + e.getMessage());
}
}
}
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>