Make the Java generator use non-hardcoded namespaces.
authorDavid Reiss <dreiss@apache.org>
Wed, 27 Feb 2008 01:55:25 +0000 (01:55 +0000)
committerDavid Reiss <dreiss@apache.org>
Wed, 27 Feb 2008 01:55:25 +0000 (01:55 +0000)
commit771f8c797b1920919aadcb63d9e1dab3cd1905f6
tree11945ee5d4ae72ac951021b83b4007c2ef45edf8
parent9a08dc6184cd0c3fd3d774fcf3f0a4233e28975f
Make the Java generator use non-hardcoded namespaces.

- Make the Java generator use program->get_namespace("java")
  instead of program->get_java_namespace()
- Eliminate the explicit "java_namespace" in t_program.
- Deprecate the java_namespace token.
- Update example .thrift files and syntax files.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665514 13f79535-47bb-0310-9956-ffa450edef68
compiler/cpp/src/generate/t_java_generator.cc
compiler/cpp/src/parse/t_program.h
compiler/cpp/src/thrifty.yy
test/DocTest.thrift
test/ThriftTest.thrift
thrift.el
thrift.vim
tutorial/shared.thrift
tutorial/tutorial.thrift