<commit_before>package com.splicemachine.si.impl;

/**
 * Represents an SI transaction identifier. Exposes it as either a long or a string.
 */
public class TransactionId {
    private static final String IRO = ".IRO";

    private final long id;
    public final boolean independentReadOnly;

    TransactionId(long id) {
        this.id = id;
        this.independentReadOnly = false;
    }

    TransactionId(long id, boolean independentReadOnly) {
        this.id = id;
        this.independentReadOnly = independentReadOnly;
    }

    TransactionId(String transactionId) {
        if (transactionId.endsWith(IRO)) {
            this.id = Long.parseLong(transactionId.substring(0, transactionId.length() - IRO.length()));
            this.independentReadOnly = true;
        } else {
            this.id = Long.parseLong(transactionId);
            this.independentReadOnly = false;
        }
    }

    public long getId() {
        return id;
    }<commit_msg>Method signature change<commit_after>package com.splicemachine.si.impl;

/**
 * Represents an SI transaction identifier. Exposes it as either a long or a string.
 */
public class TransactionId {
    private static final String IRO = ".IRO";

    private final long id;
    public final boolean independentReadOnly;

    TransactionId(long id) {
        this.id = id;
        this.independentReadOnly = false;
    }

    TransactionId(long id, boolean independentReadOnly) {
        this.id = id;
        this.independentReadOnly = independentReadOnly;
    }

    public TransactionId(String transactionId) {
        if (transactionId.endsWith(IRO)) {
            this.id = Long.parseLong(transactionId.substring(0, transactionId.length() - IRO.length()));
            this.independentReadOnly = true;
        } else {
            this.id = Long.parseLong(transactionId);
            this.independentReadOnly = false;
        }
    }

    public long getId() {
        return id;
    }
{'fraction_non_alphanumeric': 0.09328549461814455, 'fraction_numerical': 0.0010251153254741158, 'mean_word_length': 2.473309608540925, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7661981', 'n_tokens_mistral': 530, 'n_tokens_neox': 524, 'n_words': 137}