java - checkstyle getSQLTypeName -
java - checkstyle getSQLTypeName -
i'm using checkstyle maven plugin project , having problem getsqltypename. method described in interface sqldata. in code implemented method. example:
@override public string getsqltypename() throws sqlexception { homecoming oracle_object_name; } when run checkstyle, have warning:
class="lang-none prettyprint-override">unexpected getter name what can advise ?
this warning generated sevntu checkstyle's simpleaccessornamenotationcheck. seventu checkstyle third-party add-on checkstyle. check ensures getter names correspond names of fields return.
so, getter getsqltypename() should homecoming contents of field called sqltypename. in case, it's constant called oracle_object_name, doesn't match.
the detailed documentation of check here.
java maven warnings checkstyle sevntu-checkstyle
Comments
Post a Comment