@@ -107,13 +107,7 @@ impl RandomAccessFile {
107107 offset : i32 ,
108108 length : i32 ,
109109 ) -> Result < i32 > {
110- tracing:: debug!(
111- "java.io.RandomAccessFile::read_offset_length({:?}, {:?}, {:?}, {:?})" ,
112- & this,
113- & buf,
114- & offset,
115- & length
116- ) ;
110+ tracing:: debug!( "java.io.RandomAccessFile::read({:?}, {:?}, {:?}, {:?})" , & this, & buf, & offset, & length) ;
117111
118112 let fd = jvm. get_field ( & this, "fd" , "Ljava/io/FileDescriptor;" ) . await ?;
119113 let mut rust_file = FileDescriptor :: file ( jvm, fd) . await ?;
@@ -143,13 +137,7 @@ impl RandomAccessFile {
143137 offset : i32 ,
144138 length : i32 ,
145139 ) -> Result < ( ) > {
146- tracing:: debug!(
147- "java.io.RandomAccessFile::write_offset_length({:?}, {:?}, {:?}, {:?})" ,
148- & this,
149- & buf,
150- & offset,
151- & length
152- ) ;
140+ tracing:: debug!( "java.io.RandomAccessFile::write({:?}, {:?}, {:?}, {:?})" , & this, & buf, & offset, & length) ;
153141
154142 let fd = jvm. get_field ( & this, "fd" , "Ljava/io/FileDescriptor;" ) . await ?;
155143 let mut rust_file = FileDescriptor :: file ( jvm, fd) . await ?;
@@ -173,7 +161,7 @@ impl RandomAccessFile {
173161 }
174162
175163 async fn set_length ( jvm : & Jvm , _: & mut RuntimeContext , this : ClassInstanceRef < Self > , new_length : i64 ) -> Result < ( ) > {
176- tracing:: debug!( "java.io.RandomAccessFile::set_length ({:?}, {:?})" , & this, & new_length) ;
164+ tracing:: debug!( "java.io.RandomAccessFile::setLength ({:?}, {:?})" , & this, & new_length) ;
177165
178166 let fd = jvm. get_field ( & this, "fd" , "Ljava/io/FileDescriptor;" ) . await ?;
179167 let mut rust_file = FileDescriptor :: file ( jvm, fd) . await ?;
0 commit comments