Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[henshin-dev] Unexpected getAction() behavior

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi!

I stumbled over some unexpected behavior, well at least from my
perspective ;)
Here are the details: I'm iterating over the nodes of the RHS graph
and would like to check whether the node is preserved or created. So I
call the GenericActionHelper.getAction() method which - unfortunately
- - returns null if the node is preserved. Is this behavior intended or
is it a bug?

BTW, the comment in line 97 of GenericActionHelper in method
getAction() should probably read

// If it doesn't have an origin in the LHS, it is a CREATE-action:

instead of

// If it has an origin in the LHS, it is a CREATE-action:

Best regards, Sebastian
- -- 
Sebastian Gabmeyer
Business Informatics Group (BIG)
Vienna University of Technology

http://www.big.tuwien.ac.at/staff/sgabmeyer
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iQEcBAEBAgAGBQJUBa8qAAoJELSN8YoN2kNZ9fsIAIu6b91+4iqMhAh/HSBZlCmd
qH8NfyR5DXY23/NAnwejnT7S80yzYuhFLm/9ACEr72P0l5TUcwEZXE+Wp6zbijZT
vvUH0JRqm7nfM8kdznbQQWbZH/Xqwu4BRgilkg76Jgbe8w3X/fnFG3vR6ek78h3u
b69shIncbc6TwGh1FtgsweZrJXvJxa/pjlAg+0decoGxdhJwUzxmC2CYPPaQwX5J
4VuFtcP3c6Lg1F9SX+wCM+FHRSXvr7mUS+IUwVNnwe3UAQZzqyf3dB7Lsj1k5zpw
XoTuS158rJGeQ+YdAtNXOmW8FicBQOru/Oim6j5JazqFNi6jsFZ5atYEUrROh5g=
=sbYi
-----END PGP SIGNATURE-----


Back to the top