wrote:
>
> https://stackoverflow.com/q/46804847/499466
>
>
> -Ursprüngliche Nachricht-
> From: Randy Abernethy
> Sent: Wednesday, October 18, 2017 9:18 PM
> To: user@thrift.apache.org
> Subject: Re: Extra boolean set fields in java generated file using thrift
&
https://stackoverflow.com/q/46804847/499466
-Ursprüngliche Nachricht-
From: Randy Abernethy
Sent: Wednesday, October 18, 2017 9:18 PM
To: user@thrift.apache.org
Subject: Re: Extra boolean set fields in java generated file using thrift
Hello,
Maybe you are looking for "req
Hello,
Maybe you are looking for "required"?
user@ubuntu:~/test$ cat point.thrift
struct Point {
1: required double lat,
2: required double lon}
user@ubuntu:~/test$ thrift -gen java point.thrift
user@ubuntu:~/test$ cat gen-java/Point.java | grep public | grep -v '{'
public double lat; // re
I have a thrift file point.thrift that has only two variables as follows:
struct Point {
1: double lat,
2: double lon}
But when I generate the java file using,
thrift --gen java point.thrift
then the generated java code has other boolean variables, setLat and
setLon. So, my Point object loo