@@ -953,10 +953,10 @@ public final void testGetTopicNamesAndTypes() throws Exception {
953953 rcljava .msg .UInt32 .class , "test_get_topic_names_and_types_one" );
954954 Publisher <rcljava .msg .UInt32 > publisher2 = node .<rcljava .msg .UInt32 >createPublisher (
955955 rcljava .msg .UInt32 .class , "test_get_topic_names_and_types_two" );
956- Subscription <rcljava .msg .Empty > subscription = node .<rcljava .msg .Empty >createSubscription (
957- rcljava .msg .Empty .class , "test_get_topic_names_and_types_one" ,
958- new Consumer <rcljava .msg .Empty >() {
959- public void accept (final rcljava .msg .Empty msg ) {}
956+ Subscription <rcljava .msg .UInt32 > subscription = node .<rcljava .msg .UInt32 >createSubscription (
957+ rcljava .msg .UInt32 .class , "test_get_topic_names_and_types_one" ,
958+ new Consumer <rcljava .msg .UInt32 >() {
959+ public void accept (final rcljava .msg .UInt32 msg ) {}
960960 });
961961 Subscription <rcljava .msg .Empty > subscription2 = node .<rcljava .msg .Empty >createSubscription (
962962 rcljava .msg .Empty .class , "test_get_topic_names_and_types_three" ,
@@ -974,7 +974,7 @@ public void accept(final Collection<NameAndTypes> namesAndTypes) {
974974 namesAndTypes .contains (
975975 new NameAndTypes (
976976 "/test_get_topic_names_and_types_one" ,
977- new ArrayList (Arrays .asList ("rcljava/msg/Empty" , "rcljava/msg/ UInt32" )))));
977+ new ArrayList (Arrays .asList ("rcljava/msg/UInt32" )))));
978978 assertTrue (
979979 "topic 'test_get_topic_names_and_types_two' was not discovered" ,
980980 namesAndTypes .contains (
0 commit comments