Transaction: reduce visibility of two methodsn

This is a minor breaking change to anything relying on the methods that
now have package visibility, but that should be very rare.
This commit is contained in:
Sean Gilligan 2023-08-25 18:19:29 -07:00 committed by Andreas Schildbach
parent 5ff114b7b8
commit 0033918f82

View File

@ -1584,14 +1584,14 @@ public class Transaction extends BaseMessage {
* Returns the confidence object for this transaction from the {@link TxConfidenceTable}
* referenced by the given {@link Context}.
*/
public TransactionConfidence getConfidence(Context context) {
TransactionConfidence getConfidence(Context context) {
return getConfidence(context.getConfidenceTable());
}
/**
* Returns the confidence object for this transaction from the {@link TxConfidenceTable}
*/
public TransactionConfidence getConfidence(TxConfidenceTable table) {
TransactionConfidence getConfidence(TxConfidenceTable table) {
if (confidence == null)
confidence = table.getOrCreate(getTxId()) ;
return confidence;