8210279: (bf) Remove unused package private method java.nio.Buffer.truncate()
Reviewed-by: alanb
This commit is contained in:
parent
e8b551eac9
commit
ba1d068078
@ -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…
x
Reference in New Issue
Block a user