Skip to content

Commit

Permalink
Align with Rust (#242)
Browse files Browse the repository at this point in the history
  • Loading branch information
Mallets authored Sep 20, 2024
1 parent 8dbb50b commit a9ffc52
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 29 deletions.
52 changes: 26 additions & 26 deletions zenoh-jni/Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion zenoh-jni/src/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ use jni::{
use uhlc::ID;
use zenoh::{
key_expr::KeyExpr,
prelude::Wait,
qos::{CongestionControl, Priority},
query::Query,
time::{Timestamp, NTP64},
Wait,
};

/// Replies with `success` to a Zenoh [Query] via JNI, freeing the query in the process.
Expand Down
2 changes: 1 addition & 1 deletion zenoh-jni/src/scouting.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ use jni::{
sys::jint,
JNIEnv,
};
use zenoh::{config::WhatAmIMatcher, prelude::Wait};
use zenoh::{config::WhatAmIMatcher, Wait};
use zenoh::{scouting::Scout, Config};

use crate::utils::{get_callback_global_ref, get_java_vm};
Expand Down
2 changes: 1 addition & 1 deletion zenoh-jni/src/session.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@ use jni::{
use zenoh::{
config::Config,
key_expr::KeyExpr,
prelude::Wait,
pubsub::{Publisher, Subscriber},
query::{Query, Queryable, ReplyError, Selector},
sample::Sample,
session::{Session, ZenohId},
Wait,
};

use crate::{
Expand Down

0 comments on commit a9ffc52

Please sign in to comment.