[TxMt] Fixing the Java class snippet