Buggy code:
public class SQLManager implements AbstractDB { public final String SET_OWNER ; public final String GET_ALL_PLOTS ; public final String CREATE_PLOTS ; public final String CREATE_SETTINGS ; public final String CREATE_HELPERS ; public final String CREATE_PLOT ; public final String CREATE_CLUSTER ; private final String prefix ; private Connection connection ; public SQLManager ( final Connection c , final String p ) { } @ Override public void setOwner ( final Plot plot , final UUID uuid ) { } @ Override public void createAllSettingsAndHelpers ( final ArrayList < Plot > mylist ) { } @ Override public void createPlots ( final ArrayList < Plot > mylist ) { } @ Override public void createPlot ( final Plot plot ) { } @ Override public void createPlotAndSettings ( final Plot plot ) { } @ Override public void createTables ( final String database , final boolean add_constraint ) throws SQLException { } @ Override public void delete ( final String world , final Plot plot ) { } @ Override public void createPlotSettings ( final int id , final Plot plot ) { } @ Override public int getId ( final String world , final PlotId id2 ) { } @ Override public LinkedHashMap < String , HashMap < PlotId , Plot > > getPlots ( ) { } @ Override public void setMerged ( final String world , final Plot plot , final boolean [ ] merged ) { } @ Override public void swapPlots ( final Plot p1 , final Plot p2 ) { } @ Override <START_BUG> public void movePlot ( Plot original , final Plot newPlot ) { <END_BUG> TaskManager . runTaskAsync ( new Runnable ( ) { @ Override public void run ( ) { try { final int id = getId ( original . world , original . id ) ; final PreparedStatement stmt = SQLManager . this . connection . prepareStatement ( ( ( "UPDATE<seq2seq4repair_space>`" + ( SQLManager . this . prefix ) ) + "plot`<seq2seq4repair_space>SET<seq2seq4repair_space>`plot_id_x`<seq2seq4repair_space>=<seq2seq4repair_space>?,<seq2seq4repair_space>`plot_id_z`<seq2seq4repair_space>=<seq2seq4repair_space>?<seq2seq4repair_space>WHERE<seq2seq4repair_space>`id`<seq2seq4repair_space>=<seq2seq4repair_space>?" ) ) ; stmt . setInt ( 1 , newPlot . id . x ) ; stmt . setInt ( 2 , newPlot . id . y ) ; stmt . setInt ( 3 , id ) ; stmt . executeUpdate ( ) ; stmt . close ( ) ; } catch ( final Exception e ) { e . printStackTrace ( ) ; } } } ) ; } @ Override public void setFlags ( final String world , final Plot plot , final Set < Flag > flags ) { } public void setFlags ( final int id , final Flag [ ] flags ) { } @ Override public void setAlias ( final String world , final Plot plot , final String alias ) { } @ Override public void purgeIds ( final String world , final Set < Integer > uniqueIds ) { } @ Override public void purge ( final String world , final Set < PlotId > plots ) { } @ Override public void setPosition ( final String world , final Plot plot , final String position ) { } @ Override public HashMap < String , Object > getSettings ( final int id ) { } @ Override public void removeComment ( final String world , final Plot plot , final PlotComment comment ) { } @ Override public ArrayList < PlotComment > getComments ( final String world , final Plot plot , final int tier , final boolean below ) { } @ Override public void setComment ( final String world , final Plot plot , final PlotComment comment ) { } @ Override public void removeHelper ( final String world , final Plot plot , final UUID uuid ) { } @ Override public void removeTrusted ( final String world , final Plot plot , final UUID uuid ) { } @ Override public void setHelper ( final String world , final Plot plot , final UUID uuid ) { } public void setHelper ( final int id , final UUID uuid ) { } @ Override public void setTrusted ( final String world , final Plot plot , final UUID uuid ) { } @ Override public void removeDenied ( final String world , final Plot plot , final UUID uuid ) { } @ Override public void setDenied ( final String world , final Plot plot , final UUID uuid ) { } @ Override public double getRatings ( final Plot plot ) { } @ Override public void delete ( final PlotCluster cluster ) { } @ Override public int getClusterId ( final String world , final PlotClusterId id ) { } @ Override public HashMap < String , HashSet < PlotCluster > > getClusters ( ) { } @ Override public void setFlags ( final PlotCluster cluster , final Set < Flag > flags ) { } @ Override public void setClusterName ( final PlotCluster cluster , final String name ) { } @ Override public void removeHelper ( final PlotCluster cluster , final UUID uuid ) { } @ Override public void setHelper ( final PlotCluster cluster , final UUID uuid ) { } @ Override public void createCluster ( final PlotCluster cluster ) { } @ Override public void resizeCluster ( final PlotCluster current , final PlotClusterId resize ) { } @ Override public void setPosition ( final PlotCluster cluster , final String position ) { } @ Override public HashMap < String , Object > getClusterSettings ( final int id ) { } @ Override public void removeInvited ( final PlotCluster cluster , final UUID uuid ) { } @ Override public void setInvited ( final String world , final PlotCluster cluster , final UUID uuid ) { } }

Fix:
public void movePlot ( final Plot original , final Plot newPlot ) {