"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "src/main/java/com/rapidminer/adaption/belt/AtPortConverter.java" between
rapidminer-studio-9.4.1-src.tar.gz and rapidminer-studio-9.5.0-src.tar.gz

About: RapidMiner Studio is a code-free environment for designing advanced analytic processes with machine learning, data mining, text mining, predictive analytics and business analytics. Java source.

AtPortConverter.java  (rapidminer-studio-9.4.1-src):AtPortConverter.java  (rapidminer-studio-9.5.0-src)
skipping to change at line 65 skipping to change at line 65
} }
/** /**
* Converts an {@link ExampleSet} into a {@link IOTable} or vice versa. * Converts an {@link ExampleSet} into a {@link IOTable} or vice versa.
* *
* @param data * @param data
* the data to convert * the data to convert
* @param port * @param port
* the port at which the conversion takes place * the port at which the conversion takes place
* @return the converted object * @return the converted object
* @throws BeltConverter.ConversionException
* if the table cannot be converted because it contains cust
om columns
*/ */
public static IOObject convert(IOObject data, Port port) { public static IOObject convert(IOObject data, Port port) {
ConcurrencyContext context = Resources.getConcurrencyContext(port .getPorts().getOwner().getOperator()); ConcurrencyContext context = Resources.getConcurrencyContext(port .getPorts().getOwner().getOperator());
if (data instanceof ExampleSet) { if (data instanceof ExampleSet) {
return BeltConverter.convert((ExampleSet) data, context); return BeltConverter.convert((ExampleSet) data, context);
} else if (data instanceof IOTable) { } else if (data instanceof IOTable) {
return BeltConverter.convert((IOTable) data, context); return BeltConverter.convert((IOTable) data, context);
} else { } else {
throw new UnsupportedOperationException("Conversion not s upported"); throw new UnsupportedOperationException("Conversion not s upported");
} }
 End of changes. 1 change blocks. 
0 lines changed or deleted 3 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)