| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
|
|
||
| PostgresColumn column = columns.get(i); | ||
|
|
||
| if (Randomly.getBoolean() && sourceHasColumn(column, sourceTable)) { |
There was a problem hiding this comment.
There are a couple of repeated code patterns here. It would be great to factor them out to methods.
Sorry, something went wrong.
There was a problem hiding this comment.
yep!
Sorry, something went wrong.
| } else { | ||
| sb.append(generateUpdateSet(targetTable, sourceTable)); | ||
| } | ||
| } catch (Exception e) { |
There was a problem hiding this comment.
This looks a bit surprising. Why does throwing an exception affect the logic of what we generate here? Can we achieve the intended outcome without relying on exceptions?
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Closes #1254