(* libguestfs
- * Copyright (C) 2009-2010 Red Hat Inc.
+ * Copyright (C) 2009-2011 Red Hat Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
package com.redhat.et.libguestfs;
import java.util.HashMap;
+import java.util.Map;
import com.redhat.et.libguestfs.LibGuestFSException;
import com.redhat.et.libguestfs.PV;
import com.redhat.et.libguestfs.VG;
pr " * %s\n" doc;
pr " * @throws LibGuestFSException\n";
pr " */\n";
- pr " ";
);
+ pr " ";
generate_java_prototype ~public:true ~semicolon:false name style;
pr "\n";
pr " {\n";
| RStructList (_, typ) ->
let name = java_name_of_struct typ in
pr "%s[] " name;
- | RHashtable _ -> pr "HashMap<String,String> ";
+ | RHashtable _ -> pr "Map<String,String> ";
);
if native then pr "_%s " name else pr "%s " name;