adds a commit to the list of all commits concode_field_sep TreeMap<Integer,CommitBody> eachCommit concode_elem_sep HashMap<Integer,ArrayList<File>> filesByCommit concode_elem_sep int commitIDCounter concode_elem_sep long serialVersionUID concode_elem_sep HashSet<String> addFiles concode_elem_sep HashSet<String> removeFiles concode_elem_sep String currBranch concode_elem_sep HashSet<String> allBranches concode_elem_sep HashMap<String,Integer> latestVersions concode_elem_sep HashMap<String,ArrayList<CommitBody>> allCommits concode_elem_sep HashMap<String,CommitBody> branches concode_field_sep HashMap<String,ArrayList<CommitBody>> getAllCommits concode_elem_sep CommitBody getBody concode_elem_sep void addBranch concode_elem_sep TreeMap<Integer,CommitBody> getEachCommit concode_elem_sep HashSet<String> getAddFiles concode_elem_sep void setDefBranch concode_elem_sep void setBranchToCommit concode_elem_sep int getID concode_elem_sep HashSet<String> getRemoveFiles concode_elem_sep String makeApprDirs concode_elem_sep void stageFile concode_elem_sep void serialize concode_elem_sep int getLatestCommitID concode_elem_sep HashSet<String> getAllBranches concode_elem_sep void removeFile concode_elem_sep void remBranch concode_elem_sep void initializeAddRemove concode_elem_sep void updateCommitFiles concode_elem_sep String getDefBranch concode_elem_sep int getLatestVersion concode_elem_sep Commit deserialize
void function ( String arg0 , CommitBody arg1 ) { if ( ! allCommits . containsKey ( arg0 ) ) { ArrayList < CommitBody > loc0 = new ArrayList < CommitBody > ( ) ; allCommits . put ( arg0 , loc0 ) ; } allCommits . get ( arg0 ) . add ( arg1 ) ; eachCommit . put ( arg1 . getCommitID ( ) , arg1 ) ; }