[ntcore] Various fixes (#4469)

* Fix C++ Publisher and Subscriber move assignment 
* Fix Publisher comment typo.
* Publish: check that properties is an object.
Print a warning, but still publish, just with empty properties.
Add error print for unassigned type publish.
* Return boolean from SetProperties
* Document exception-throw in Java for invalid JSON.
This commit is contained in:
Peter Johnson
2022-10-14 20:50:55 -07:00
committed by GitHub
parent d9d6c425e7
commit 574cb41c18
10 changed files with 48 additions and 17 deletions

View File

@@ -136,6 +136,7 @@ public final class {{ TypeName }}Topic extends Topic {
* @param properties JSON properties
* @param options publish options
* @return publisher
* @throws IllegalArgumentException if properties is not a JSON object
*/
public {{ TypeName }}Publisher publishEx(
String typeString,