Source:
<code>public List<Task<? extends Serializable>> handle(Context context) throws SemanticException { AlterPartitionMessage msg = deserializer.getAlterPartitionMessage(context.dmd.getPayload()); String actualDbName = context.isDbNameEmpty() ? msg.getDB() : context.dbName; String actualTblName = context.isTableNameEmpty() ? msg.getTable() : context.tableName; Map<String, String> newPartSpec = new LinkedHashMap<>(); Map<String, String> oldPartSpec = new LinkedHashMap<>(); String tableName = actualDbName + "." + actualTblName; try { Table tblObj = msg.getTableObj(); Iterator<String> beforeIterator = msg.getPtnObjBefore().getValuesIterator(); Iterator<String> afterIterator = msg.getPtnObjAfter().getValuesIterator(); for (FieldSchema fs : tblObj.getPartitionKeys()) { oldPartSpec.put(fs.getName(), beforeIterator.next()); newPartSpec.put(fs.getName(), afterIterator.next()); } } catch (Exception e) { throw (e instanceof SemanticException) ? (SemanticException) e : new SemanticException("Error reading message members", e); } RenamePartitionDesc renamePtnDesc = new RenamePartitionDesc(tableName, oldPartSpec, newPartSpec, eventOnlyReplicationSpec(context)); Task<DDLWork> renamePtnTask = TaskFactory.get( new DDLWork(readEntitySet, writeEntitySet, renamePtnDesc), context.hiveConf); <START> context.log.debug("Added rename ptn task : {}:{}->{}", renamePtnTask.getId(), oldPartSpec, newPartSpec); <END> databasesUpdated.put(actualDbName, context.dmd.getEventTo()); tablesUpdated.put(tableName, context.dmd.getEventTo()); return Collections.singletonList(renamePtnTask); }</code><technical_language>i code width moves 100 characters, want format</technical_language>

Target:
public List<Task<? extends Serializable>> handle(Context context) throws SemanticException { AlterPartitionMessage msg = deserializer.getAlterPartitionMessage(context.dmd.getPayload()); String actualDbName = context.isDbNameEmpty() ? msg.getDB() : context.dbName; String actualTblName = context.isTableNameEmpty() ? msg.getTable() : context.tableName; Map<String, String> newPartSpec = new LinkedHashMap<>(); Map<String, String> oldPartSpec = new LinkedHashMap<>(); String tableName = actualDbName + "." + actualTblName; try { Table tblObj = msg.getTableObj(); Iterator<String> beforeIterator = msg.getPtnObjBefore().getValuesIterator(); Iterator<String> afterIterator = msg.getPtnObjAfter().getValuesIterator(); for (FieldSchema fs : tblObj.getPartitionKeys()) { oldPartSpec.put(fs.getName(), beforeIterator.next()); newPartSpec.put(fs.getName(), afterIterator.next()); } } catch (Exception e) { throw (e instanceof SemanticException) ? (SemanticException) e : new SemanticException("Error reading message members", e); } RenamePartitionDesc renamePtnDesc = new RenamePartitionDesc( tableName, oldPartSpec, newPartSpec, context.eventOnlyReplicationSpec()); Task<DDLWork> renamePtnTask = TaskFactory.get( new DDLWork(readEntitySet, writeEntitySet, renamePtnDesc), context.hiveConf); context.log.debug("Added rename ptn task : {}:{}->{}", renamePtnTask.getId(), oldPartSpec, newPartSpec); databasesUpdated.put(actualDbName, context.dmd.getEventTo()); tablesUpdated.put(tableName, context.dmd.getEventTo()); return Collections.singletonList(renamePtnTask); }