Section was from the Uniform Code of Military Justice, act May 5, 1950, ch. 169, § 9, 64 Stat. 146, which was based on Article 117, Articles of War, act June 4, 1920, ch. 227, subch. II, § 1, 41 Stat. 811, as amended June 24, 1948, ch. 625, title II, § 242, 62 Stat. 642.