mirror of
https://github.com/TheOfficialFloW/bd-jb
synced 2024-11-21 16:35:05 -05:00
Make Buffer members private.
This commit is contained in:
parent
c80b753e03
commit
ab11d2d2be
@ -18,9 +18,9 @@ public class Buffer {
|
||||
}
|
||||
}
|
||||
|
||||
protected final long address;
|
||||
private final long address;
|
||||
|
||||
protected final int size;
|
||||
private final int size;
|
||||
|
||||
public Buffer(int size) {
|
||||
this.size = size;
|
||||
|
@ -13,7 +13,7 @@ public class Text extends Buffer {
|
||||
public Text(String text) {
|
||||
super(text.length() + 1);
|
||||
this.text = text;
|
||||
api.strcpy(address, text);
|
||||
api.strcpy(address(), text);
|
||||
}
|
||||
|
||||
public String toString() {
|
||||
|
Loading…
Reference in New Issue
Block a user