You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@activemq.apache.org by "Lionel Cons (JIRA)" <ji...@apache.org> on 2014/01/07 15:51:53 UTC
[jira] [Updated] (AMQ-4963) Typo in journal-data.proto
[ https://issues.apache.org/jira/browse/AMQ-4963?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lionel Cons updated AMQ-4963:
-----------------------------
Description:
There seems to be a typo in activemq-kahadb-store/src/main/proto/journal-data.proto. This file contains:
{code}
message KahaLocalTransactionId {
required string connection_id=1;
required int64 transaction_id=1;
}
{code}
The second field should be 2.
I wonder why the protobuf compiler does not complain about this. Maybe it should be fixed to detect and complain about duplicate fields?
was:
There seems to be a typo in activemq-kahadb-store/src/main/proto/journal-data.proto. This file contains:
message KahaLocalTransactionId {
required string connection_id=1;
required int64 transaction_id=1;
}
The second field should be 2.
I wonder why the protobuf compiler does not complain about this. Maybe it should be fixed to detect and complain about duplicate fields?
> Typo in journal-data.proto
> --------------------------
>
> Key: AMQ-4963
> URL: https://issues.apache.org/jira/browse/AMQ-4963
> Project: ActiveMQ
> Issue Type: Bug
> Reporter: Lionel Cons
>
> There seems to be a typo in activemq-kahadb-store/src/main/proto/journal-data.proto. This file contains:
> {code}
> message KahaLocalTransactionId {
> required string connection_id=1;
> required int64 transaction_id=1;
> }
> {code}
> The second field should be 2.
> I wonder why the protobuf compiler does not complain about this. Maybe it should be fixed to detect and complain about duplicate fields?
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)