remove redundant private modifier from various enum constructors

This commit is contained in:
Andreas Schildbach 2022-02-23 16:00:22 +01:00
parent 011d42c475
commit f411dcd634
4 changed files with 4 additions and 4 deletions

View File

@ -35,7 +35,7 @@ public class InventoryItem {
public final int code;
private Type(int code) {
Type(int code) {
this.code = code;
}

View File

@ -565,7 +565,7 @@ public class Transaction extends ChildMessage {
/**
* @param value
*/
private SigHash(final int value) {
SigHash(final int value) {
this.value = value;
}

View File

@ -64,7 +64,7 @@ public class Script {
public final int id;
private ScriptType(int id) {
ScriptType(int id) {
this.id = id;
}
}

View File

@ -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;
}