Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-2426

Optimize logic in Postgres connector Filters.java

XMLWordPrintable

      In Postgres connector's Filters.java there's this snippet

       

      String tableBlacklist = config.tableBlacklist();
            
      if (tableBlacklist != null) { 
            tableBlacklist = tableBlacklist + "," + TEMP_TABLE_BLACKLIST;     
      }
      else {
            tableBlacklist = TEMP_TABLE_BLACKLIST;   
      }

      which logic to set the value looks a bit weird  and can be optimized.

       

            rk3rn3r René Kerner
            rk3rn3r René Kerner
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: