Skip to content
Snippets Groups Projects
Commit 2fc61624 authored by Vincent Aravantinos's avatar Vincent Aravantinos
Browse files

small refactoring

parent b9f60ed1
No related branches found
No related tags found
No related merge requests found
......@@ -31,7 +31,7 @@ import org.fortiss.tooling.kernel.service.ITransformationService;
* @author hoelzl
* @author $Author$
* @version $Rev$
* @ConQAT.Rating GREEN Hash: B1BF2DA0C5BCB57425D5BC1B848CA694
* @ConQAT.Rating GREEN Hash: D5FFA34D4F541675F1EF17EE4A5C59CA
*/
public final class TransformationUtils {
......@@ -110,8 +110,7 @@ public final class TransformationUtils {
public static <T extends Object> T createTransformedObjectWithoutExceptionFor(
EObject sourceElement, Class<T> targetClass, ITransformationContext context) {
try {
T result = createTransformedObjectFor(sourceElement, targetClass, context);
return result;
return createTransformedObjectFor(sourceElement, targetClass, context);
} catch(ChainTransformationFailedException ctfe) {
return null;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment