orientechnologies/orientdb — pull request #1659 by Volune (2013-09-06 15:55:19+00:00)
Title: Fix NullPointerException with setShortName(null)

OrientDB 1.5.1
Removing (setting to null) the shortname of a class throws a NullPointerException.

Here is a test and fix.
I don't know what should happen when setting "null" string or "" empty string as a shortname so I left these cases commented in the test.