-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1159 from tomtit/issue1155
Fixed #1155: Names inspection has been fixed.
- Loading branch information
Showing
3 changed files
with
57 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
package models; | ||
|
||
public class Model1155 { | ||
private boolean valid; | ||
private String value; | ||
public boolean is; | ||
public String get; | ||
public boolean isA; | ||
public String getA; | ||
|
||
public boolean isValid() { | ||
return valid; | ||
} | ||
|
||
public void setValid(boolean valid) { | ||
this.valid = valid; | ||
} | ||
|
||
public String getValue() { | ||
return value; | ||
} | ||
|
||
public void setValue(String value) { | ||
this.value = value; | ||
} | ||
|
||
// jackson treats this as getter | ||
public boolean is_persistent() { | ||
return true; | ||
} | ||
|
||
// jackson treats this as getter | ||
public String gettersAndHaters() { | ||
return null; | ||
} | ||
|
||
// jackson doesn't treat this as getter | ||
boolean isometric() { | ||
return true; | ||
} | ||
} |