File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
schemacrawler-lint/src/main/java/schemacrawler/tools/lint
schemacrawler-text/src/main/java/schemacrawler/tools/text/formatter/schema Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -88,7 +88,7 @@ public String getLintSummary() {
8888 }
8989 }
9090
91- if (buffer .length () > 0 ) {
91+ if (! buffer .isEmpty () ) {
9292 buffer .insert (0 , "Summary of schema lints:\n " );
9393 }
9494
Original file line number Diff line number Diff line change @@ -1157,7 +1157,7 @@ private void printTriggers(final Collection<Trigger> triggers) {
11571157 new ArrayList <>(trigger .getEventManipulationTypes ());
11581158 if (eventManipulationTypes != null
11591159 && eventManipulationTypes .get (0 ) != EventManipulationType .unknown ) {
1160- if (timingBuffer .length () > 0 ) {
1160+ if (! timingBuffer .isEmpty () ) {
11611161 timingBuffer .append (SPACE );
11621162 }
11631163 for (final EventManipulationType eventManipulationType : eventManipulationTypes ) {
You can’t perform that action at this time.
0 commit comments