mirror of
https://github.com/openjdk/jdk.git
synced 2025-08-26 22:34:27 +02:00
8210279: (bf) Remove unused package private method java.nio.Buffer.truncate()
Reviewed-by: alanb
This commit is contained in:
parent
e8b551eac9
commit
ba1d068078
1 changed files with 0 additions and 7 deletions
|
@ -693,13 +693,6 @@ public abstract class Buffer {
|
|||
return mark;
|
||||
}
|
||||
|
||||
final void truncate() { // package-private
|
||||
mark = -1;
|
||||
position = 0;
|
||||
limit = 0;
|
||||
capacity = 0;
|
||||
}
|
||||
|
||||
final void discardMark() { // package-private
|
||||
mark = -1;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue