Do not cache results, fixes: 3122
[yaz4j-moved-to-github.git] / src / main / java / org / yaz4j / ConnectionExtended.java
index 629e51e..a617f0d 100644 (file)
@@ -10,8 +10,8 @@ public class ConnectionExtended extends Connection {
         super(host, port);
     }
 
-    public Package Package(String type) {
-        EnsureConnected();
+    public Package getPackage(String type) {
+        ensureConnected();
         Package pack = null;
 
         SWIGTYPE_p_ZOOM_options_p options = yaz4jlib.ZOOM_options_create();