mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-18 14:58:47 +00:00
No effective change - Code cleanup, convert unnecessary fields to local vars
This commit is contained in:
1 parent
b9aa76c367
commit
8a3d9edd34
12 files changed
+14
-50
No files matched your search
@@ -36,8 +36,6 @@ public class DdlGenerator implements SpiEbeanPlugin {
|
||||
|
||||
private DatabasePlatform dbPlatform;
|
||||
|
||||
private int summaryLength = 80;
|
||||
|
||||
private boolean generateDdl;
|
||||
private boolean runDdl;
|
||||
|
||||
@@ -340,8 +338,8 @@ public class DdlGenerator implements SpiEbeanPlugin {
|
||||
}
|
||||
|
||||
private String getSummary(String s) {
|
||||
if (s.length() > summaryLength) {
|
||||
return s.substring(0, summaryLength).trim() + "...";
|
||||
if (s.length() > 80) {
|
||||
return s.substring(0, 80).trim() + "...";
|
||||
}
|
||||
return s;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user