Removed extra space.

Change printMethod to printConstructor to avoid generating extra space.