mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2025-02-23 22:46:56 +01:00
LockTime: make native constructors private
This commit is contained in:
parent
e11fa0686f
commit
06e031a51e
1 changed files with 2 additions and 2 deletions
|
@ -37,7 +37,7 @@ public abstract /* sealed */ class LockTime {
|
|||
* Can also be zero to represent no-lock.
|
||||
*/
|
||||
public static final class HeightLock extends LockTime {
|
||||
public HeightLock(long value) {
|
||||
private HeightLock(long value) {
|
||||
super(value);
|
||||
}
|
||||
|
||||
|
@ -53,7 +53,7 @@ public abstract /* sealed */ class LockTime {
|
|||
* A {@code LockTime} instance that contains a timestamp.
|
||||
*/
|
||||
public static final class TimeLock extends LockTime {
|
||||
public TimeLock(long value) {
|
||||
private TimeLock(long value) {
|
||||
super(value);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue