2 parents 67f8da3 + e640859 commit c3efa1bCopy full SHA for c3efa1b
1 file changed
src/main/java/com/github/jinahya/database/metadata/bind/MetadataTypeWrapper.java
@@ -39,7 +39,8 @@
39
* {@value #ROOT_ELEMENT_NAME} root element. The type variable {@code T} is erased at runtime, which is harmless here
40
* since element naming is delegated to the children:
41
* {@snippet lang = "java":
42
- * var wrapper = MetadataTypeWrapper.of(context.getSchemas(null, null));
+ * var wrapper = new MetadataTypeWrapper<Schema>();
43
+ * wrapper.getElements().addAll(context.getSchemas(null, null));
44
* // marshals to: <metadataTypes><schema>...</schema>...</metadataTypes>
45
*}
46
* <p>
0 commit comments