Fixed flatc not writing Java files without namespace.
authorWouter van Oortmerssen <wvo@google.com>
Wed, 21 Jan 2015 22:53:41 +0000 (14:53 -0800)
committerWouter van Oortmerssen <wvo@google.com>
Mon, 26 Jan 2015 21:08:44 +0000 (13:08 -0800)
commitf60276f54bba953f0518c3ae50157d49820dfef9
tree1aab8b325a8c291839af050e161249b2488fa312
parent2b01247b309996f50d2facaa1d83519280911aba
Fixed flatc not writing Java files without namespace.

If the schema didn't contain a namespace, paths would contain a
leading /, causing files not to be written.

Change-Id: I508772cbf6d18d464ef7d9f8842d0dbff14358a3
Tested: on Linux.
Bug: 19067493
src/idl_gen_general.cpp