5f9eb9b004d220a9d17d1816d88deb1f006e186a
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 6
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Rename Method | 2 | ||
| Rename Method public writeRowToFile(rowMeta RowMetaInterface, r Object[]) : void renamed to public writeRow(rowMeta RowMetaInterface, r Object[]) : void in class org.pentaho.di.trans.steps.textfileoutput.TextFileOutput | From | To | |
| Rename Method public openNewFile(baseFilename String) : void renamed to public initFileStreamWriter(filename String) : void in class org.pentaho.di.trans.steps.textfileoutput.TextFileOutput | From | To | |
| Rename Variable | 1 | ||
| Rename Variable r : Object[] to row : Object[] in method public processRow(smi StepMetaInterface, sdi StepDataInterface) : boolean in class org.pentaho.di.trans.steps.textfileoutput.TextFileOutput | From | To | |
| Parameterize Variable | 1 | ||
| Parameterize Variable r : Object[] to row : Object[] in method private writeRowToServlet(row Object[]) : boolean in class org.pentaho.di.trans.steps.textfileoutput.TextFileOutput | From | To | |
| Extract Variable | 2 | ||
| Extract Variable streams : TextFileOutputData.FileStreamsValue in method public testProcessRule_2() : void from class org.pentaho.di.trans.steps.textfileoutput.TextFileOutputTest | From | To | |
| Extract Variable rowData : Object[] in method public testProcessRule_2() : void from class org.pentaho.di.trans.steps.textfileoutput.TextFileOutputTest | From | To | |
| Change Variable Type | 1 | ||
| Change Variable Type outputStream : OutputStream to outputStream : TextFileOutputData.FileStreamsValue in method public flushOpenFiles(closeAfterFlush boolean) : void in class org.pentaho.di.trans.steps.textfileoutput.TextFileOutput | From | To | |
| Change Attribute Type | 1 | ||
| Change Attribute Type fileWriterMap : Map<String,OutputStream> to fileWriterMap : FileStreamsMap in class org.pentaho.di.trans.steps.textfileoutput.TextFileOutputData | From | To | |
| Extract Method | 4 | ||
| Extract Method private writeRowToServlet(row Object[]) : boolean extracted from public processRow(smi StepMetaInterface, sdi StepDataInterface) : boolean in class org.pentaho.di.trans.steps.textfileoutput.TextFileOutput | From | To | |
| Extract Method private initFieldNumbers(outputRowMeta RowMetaInterface, outputFields TextFileField[]) : void extracted from public processRow(smi StepMetaInterface, sdi StepDataInterface) : boolean in class org.pentaho.di.trans.steps.textfileoutput.TextFileOutput | From | To | |
| Extract Method private writeRowToCommand(row Object[]) : boolean extracted from public processRow(smi StepMetaInterface, sdi StepDataInterface) : boolean in class org.pentaho.di.trans.steps.textfileoutput.TextFileOutput | From | To | |
| Extract Method public flushOpenFiles(closeAfterFlush boolean) : void extracted from public dispose(smi StepMetaInterface, sdi StepDataInterface) : void in class org.pentaho.di.trans.steps.textfileoutput.TextFileOutput | From | To | |
| Rename Parameter | 1 | ||
| Rename Parameter baseFilename : String to filename : String in method public initFileStreamWriter(filename String) : void in class org.pentaho.di.trans.steps.textfileoutput.TextFileOutput | From | To |