Accept Single ChangeSet Using Plain Java API Not updating local sandbox
![](http://jazz.net/_images/myphoto/ea01de329fa78eedc875d5b74572cdda.jpg)
Use case 1: Accept all changesets once.
Use case 2: Accept changeset one after the other.
below code is used in both usecases
repositoryWorkspaceConnection.accept(AcceptFlags.DEFAULT, incomingChangeSets, teamRepository, null);
Use case 1 : Works fine with the above code.
Use case 2 : Change sets are accepted and changes are present in the repository work space but file changes are not reflected in the local sandbox.
Is there any other API ? or do i need to add additional code to update local sandbox ?