Soheil, How are these classes serialized? There are different ways to solve this like annotations with the serialized name or a gson policy.
Cheers, Hugo Sent from my iPhone > On 18 mrt. 2014, at 03:33, Soheil Eizadi <seiz...@infoblox.com> wrote: > > Looks like in the new trunk we have turned on checks to enforce coding > conventions in Eclipse? I have errors with some classes that I need to turn > off: > "Name 'is_default' must match pattern '^_?[a-zA-Z0-9]*$'." > > For example a declaration: > > private boolean is_default; > > These classes are part of the interface for REST communication so the strings > must match the corresponding JSON objects. What is the best practice to turn > this off in the project for a particular Class? > -Soheil