mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-22 01:11:42 +00:00
[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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user