mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-18 14:58:47 +00:00
No effective change - simplify if
This commit is contained in:
1 parent
95ab97df73
commit
49fe97bbe4
1 file changed
+1
-3
@@ -83,9 +83,7 @@ public class CacheOptions {
|
||||
* Set the natural key property.
|
||||
*/
|
||||
public void setNaturalKey(String naturalKey) {
|
||||
if (naturalKey == null || naturalKey.length() == 0) {
|
||||
naturalKey = null;
|
||||
} else {
|
||||
if (naturalKey != null && naturalKey.length() != 0) {
|
||||
this.naturalKey = naturalKey.trim();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user