Buggy code:
private static final String specialChars = "[+-//*(){}%.<seq2seq4repair_space>]" ; private static Pattern notAllowed = Pattern . compile ( Container . specialChars , Pattern . CASE_INSENSITIVE ) ; private String name ; private String caption ; private String dbTableName ; private String primaryKey = "IDENTIFIER" ; private int sequenceNo ; private long ctrlId ; private Map < String , Control > controlsMap = new LinkedHashMap < String , Control > ( ) ; private Set < String > userDefCtrlNames = new HashSet < String > ( ) ; private List < SkipRule > skipRules = new ArrayList < SkipRule > ( ) ; private transient boolean isDto ; private transient List < Control > addLog = new ArrayList < Control > ( ) ; private transient List < Control > editLog = new ArrayList < Control > ( ) ; private transient List < Control > delLog = new ArrayList < Control > ( ) ; private transient Long createdBy ; private transient Long lastUpdatedBy ; private transient Date creationTime ; private transient Date lastUpdatedTime ; public void useAsDto ( ) { } @ Override public Long getId ( ) { } @ Override public void setId ( Long id ) { } public String getName ( ) { } public void setName ( String name ) { } public String getCaption ( ) { } public void setCaption ( String caption ) { } public String getDbTableName ( ) { } public void setDbTableName ( String dbTableName ) { } public String getPrimaryKey ( ) { } public void setPrimaryKey ( String primaryKey ) { } public int getSequenceNo ( ) { } public void setSequenceNo ( int sequenceNo ) { } public Collection < Control > getControls ( ) { } public Map < String , Control > getControlsMap ( ) { } public void setControlsMap ( Map < String , Control > controlsMap ) { } public Long getCreatedBy ( ) { } public void setCreatedBy ( Long createdBy ) { } public Long getLastUpdatedBy ( ) { } public void setLastUpdatedBy ( Long lastUpdatedBy ) { } public Date getCreationTime ( ) { } public void setCreationTime ( Date creationTime ) { } public Date getLastUpdatedTime ( ) { } public void setLastUpdatedTime ( Date lastUpdatedTime ) { } public void setControls ( Set < Control > controls ) { } public List < SkipRule > getSkipRules ( ) { } public SkipRuleBuilder newSkipRule ( ) { } public void addSkipRule ( SkipRule rule ) { } public void removeSkipRule ( int i ) { } public Set < String > getUserDefCtrlNames ( ) { } public void setUserDefCtrlNames ( Set < String > userDefCtrlNames ) { } public boolean isSurveyForm ( ) { } public String getUdnFormula ( String shortCodeFormula ) { } public String getShortCodeFormula ( String udnFormula ) { } private void orderByLength ( List < String > symbols ) { } @ Override public int hashCode ( ) { } @ Override public boolean equals ( Object obj ) { } private Object readResolve ( ) { } public List < Container > getSubContainers ( ) { } public List < Container > getAllSubContainers ( ) { } public List < Control > getAllControls ( ) { } public Container getReplica ( ) { } public void nullifyContainerIds ( ) { } public void addControl ( Control control ) { } private void validateNameAndUdn ( Control control ) { } public void editControl ( String name , Control control ) { } public void editControl ( String name , Control control , boolean bulkEdit ) { } public void deleteControl ( String name ) { } public Control getControl ( String name ) { } public Control getControlByUdn ( String userDefName ) { } public Long save ( UserContext userCtxt ) { } public Long save ( UserContext userCtxt , boolean createTables ) { } public Long save ( UserContext userCtxt , JdbcDao jdbcDao ) { } public Long save ( UserContext userCtxt , JdbcDao jdbcDao , boolean createTables ) { } public static Container getContainer ( Long id ) { } public static Container getContainer ( JdbcDao jdbcDao , Long id ) { } public static Container getContainer ( String name ) { } public static Container getContainer ( JdbcDao jdbcDao , String name ) { } public static List < ContainerInfo > getContainerInfoByCreator ( Long creatorId ) { } public static Long createContainer ( String formXml , String pvDir ) throws Exception { } public static Long createContainer ( String formXml , String pvDir , boolean createTables ) throws Exception { <START_BUG> return Container . createContainer ( formXml , pvDir , true , null ) ; <END_BUG> } public static Long createContainer ( String formXml , String pvDir , boolean createTables , UserContext userData ) throws Exception { } public void editContainer ( Container newContainer ) { } protected void deleteRemovedControls ( Container newContainer ) { } protected void executeDDLWithoutTxn ( JdbcDao jdbcDao ) throws Exception { } protected void executeDDL ( JdbcDao jdbcDao , String parentTableName ) { } private void setSkipControlFlags ( ) { } private void createTable ( JdbcDao jdbcDao , String tableName , List < ColumnDef > columnDefs , boolean crtIdColumn ) { } private void addTableColumns ( JdbcDao jdbcDao , String tableName , List < ColumnDef > columnDefs ) { } private void add ( List < Control > list , Control ctrl ) { } private boolean remove ( List < Control > list , Control ctrl ) { } private void throwExceptionIfDto ( ) { } protected void clearLogs ( ) { } public String toXml ( ) { } public static Container fromXml ( String xml ) { } private static Container fromDto ( Container dtoContainer ) { } private static void setUpAliases ( XStream xstream ) { } private String getUniqueTableName ( ) { } private Long getUniqueId ( ) { } private void getAllControls ( Container container , List < Control > controls ) { } public static void main ( String [ ] args ) { } public String render ( ) { }

Fix:
return Container . createContainer ( formXml , pvDir , createTables , null ) ;