LDAP-258: Some minor restructuring to avoid (irrelevant, but ugly and build failing) package tangles in test cases.

This commit is contained in:
Mattias Hellborg Arthursson
2013-09-09 10:08:10 +02:00
parent e93ee9cf6a
commit d6f8f6e488
37 changed files with 144 additions and 127 deletions

View File

@@ -212,7 +212,7 @@ public abstract class AbstractContextSource implements BaseLdapPathContextSource
* @param ldapUrls all individual url Strings.
* @return the full url String
*/
protected String assembleProviderUrlString(String[] ldapUrls) {
public String assembleProviderUrlString(String[] ldapUrls) {
StringBuilder providerUrlBuffer = new StringBuilder(1024);
for (String ldapUrl : ldapUrls) {
providerUrlBuffer.append(ldapUrl);

View File

@@ -13,13 +13,14 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.springframework.transaction.compensating.support;
package org.springframework.ldap.transaction.compensating.manager;
import org.junit.Before;
import org.junit.Test;
import org.springframework.ldap.core.ContextSource;
import org.springframework.ldap.transaction.compensating.manager.DirContextHolder;
import org.springframework.transaction.compensating.CompensatingTransactionOperationManager;
import org.springframework.transaction.compensating.support.CompensatingTransactionHolderSupport;
import org.springframework.transaction.compensating.support.CompensatingTransactionUtils;
import org.springframework.transaction.support.TransactionSynchronizationManager;
import javax.naming.directory.DirContext;