Skip to content

Commit cef377b

Browse files
committed
master->main
Closes gh-580
1 parent e27bd78 commit cef377b

File tree

5 files changed

+13
-13
lines changed

5 files changed

+13
-13
lines changed

CONTRIBUTING.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -37,10 +37,10 @@ If you have not previously done so, please fill out and
3737
submit the [Contributor License Agreement](https://cla.pivotal.io/sign/spring).
3838

3939

40-
## Create your branch from `master`
40+
## Create your branch from `main`
4141

4242
If your pull request addresses a bug or improvement, please create your branch
43-
from Spring LDAP's `master` branch. Rest assured that if your pull
43+
from Spring LDAP's `main` branch. Rest assured that if your pull
4444
request is accepted, these changes will also eventually
4545
be merged into any other branches we feel appropriate.
4646

core/src/itest-openldap/java/conf/ldap.conf

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
# This file should be world readable but not world writable.
77

88
#BASE dc=example, dc=com
9-
#URI ldap://ldap.example.com ldap://ldap-master.example.com:666
9+
#URI ldap://ldap.example.com ldap://ldap-main.example.com:666
1010

1111
#SIZELIMIT 12
1212
#TIMELIMIT 15

core/src/main/java/org/springframework/ldap/core/DirContextAdapter.java

+6-6
Original file line numberDiff line numberDiff line change
@@ -206,13 +206,13 @@ public DirContextAdapter(Attributes attrs, Name dn, Name base,
206206
/**
207207
* Constructor for cloning an existing adapter.
208208
*
209-
* @param master The adapter to be copied.
209+
* @param main The adapter to be copied.
210210
*/
211-
protected DirContextAdapter(DirContextAdapter master) {
212-
this.originalAttrs = (NameAwareAttributes) master.originalAttrs.clone();
213-
this.dn = master.dn;
214-
this.updatedAttrs = (NameAwareAttributes) master.updatedAttrs.clone();
215-
this.updateMode = master.updateMode;
211+
protected DirContextAdapter(DirContextAdapter main) {
212+
this.originalAttrs = (NameAwareAttributes) main.originalAttrs.clone();
213+
this.dn = main.dn;
214+
this.updatedAttrs = (NameAwareAttributes) main.updatedAttrs.clone();
215+
this.updateMode = main.updateMode;
216216
}
217217

218218
/**

readme.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
[![Join the chat at https://gitter.im/spring-projects/spring-ldap](https://badges.gitter.im/spring-projects/spring-ldap.svg)](https://gitter.im/spring-projects/spring-ldap?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
44

5-
[![Build Status](https://travis-ci.org/spring-projects/spring-ldap.svg?branch=master)](https://travis-ci.org/spring-projects/spring-ldap)
5+
[![Build Status](https://travis-ci.org/spring-projects/spring-ldap.svg?branch=main)](https://travis-ci.org/spring-projects/spring-ldap)
66

77
## Code of Conduct
88
This project adheres to the Contributor Covenant [code of conduct](CODE_OF_CONDUCT.adoc).

src/docs/asciidoc/index.adoc

+3-3
Original file line numberDiff line numberDiff line change
@@ -230,8 +230,8 @@ The following list briefly describes the most important changes in Spring LDAP 2
230230
* Fluent LDAP query building support has been added. This makes for a more pleasant programming experience when working with LDAP searches in Spring LDAP.
231231
See <<basic-queries>> and <<query-builder-advanced>> for more information about the LDAP query builder support.
232232
* The old `authenticate` methods in `LdapTemplate` have been deprecated in favor of a couple of new `authenticate` methods that work with `LdapQuery` objects and _throw exceptions_ on authentication failure, making it easier for the user to find out what caused an authentication attempt to fail.
233-
* The https://github.com/spring-projects/spring-ldap/tree/master/samples[samples] have been polished and updated to make use of the features in 2.0.
234-
Quite a bit of effort has been put into providing a useful example of an https://github.com/spring-projects/spring-ldap/tree/master/samples/user-admin[LDAP user management application].
233+
* The https://github.com/spring-projects/spring-ldap/tree/main/samples[samples] have been polished and updated to make use of the features in 2.0.
234+
Quite a bit of effort has been put into providing a useful example of an https://github.com/spring-projects/spring-ldap/tree/main/samples/user-admin[LDAP user management application].
235235

236236
[[spring-ldap-packaging-overview]]
237237
=== Packaging Overview
@@ -255,7 +255,7 @@ In addition to the required dependencies, the following optional dependencies ar
255255
[[spring-ldap-getting-started]]
256256
=== Getting Started
257257

258-
The https://github.com/spring-projects/spring-ldap/tree/master/samples[samples] provide some useful examples of how to use Spring LDAP for common use cases.
258+
The https://github.com/spring-projects/spring-ldap/tree/main/samples[samples] provide some useful examples of how to use Spring LDAP for common use cases.
259259

260260
[[spring-ldap-support]]
261261
=== Support

0 commit comments

Comments
 (0)