mirror of
https://github.com/bitcoinj/bitcoinj.git
synced 2024-11-20 10:12:19 +01:00
remove redundant private modifier from various enum constructors
This commit is contained in:
parent
011d42c475
commit
f411dcd634
@ -35,7 +35,7 @@ public class InventoryItem {
|
||||
|
||||
public final int code;
|
||||
|
||||
private Type(int code) {
|
||||
Type(int code) {
|
||||
this.code = code;
|
||||
}
|
||||
|
||||
|
@ -565,7 +565,7 @@ public class Transaction extends ChildMessage {
|
||||
/**
|
||||
* @param value
|
||||
*/
|
||||
private SigHash(final int value) {
|
||||
SigHash(final int value) {
|
||||
this.value = value;
|
||||
}
|
||||
|
||||
|
@ -64,7 +64,7 @@ public class Script {
|
||||
|
||||
public final int id;
|
||||
|
||||
private ScriptType(int id) {
|
||||
ScriptType(int id) {
|
||||
this.id = id;
|
||||
}
|
||||
}
|
||||
|
@ -82,7 +82,7 @@ public enum ScriptError {
|
||||
private final String mnemonic;
|
||||
private static final Map<String, ScriptError> mnemonicToScriptErrorMap;
|
||||
|
||||
private ScriptError(String name) {
|
||||
ScriptError(String name) {
|
||||
this.mnemonic = name;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user