Warnings about POJOs

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Warnings about POJOs

Stephan Ewen
Hi!

I am seeing quite a few warnings when compiling the code that say "POJO has
immutable field". What is that about?

Stephan
Reply | Threaded
Open this post in threaded view
|

Re: Warnings about POJOs

Aljoscha Krettek-2
This is telling the user that a certain type could not be analysed as
a pojo type. I assumed that we would always like to analyse things as
a pojo so this tells the user why something is not a pojo.

We could also disable the warning or demote it to INFO.

On Thu, Oct 9, 2014 at 11:03 AM, Stephan Ewen <[hidden email]> wrote:
> Hi!
>
> I am seeing quite a few warnings when compiling the code that say "POJO has
> immutable field". What is that about?
>
> Stephan