Skip to content

Commit 725faa2

Browse files
committed
HHH-14509 : Git master -> main branch renaming
1 parent b4bf581 commit 725faa2

File tree

47 files changed

+403
-454
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+403
-454
lines changed

.github/workflows/contributor-build.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ name: Hibernate ORM build
99
on:
1010
push:
1111
branches:
12-
- 'master'
12+
- 'main'
1313
- 'wip/6.0'
1414
pull_request:
1515
branches:
16-
- 'master'
16+
- 'main'
1717
- 'wip/6.0'
1818
jobs:
1919
build:

CONTRIBUTING.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,8 +62,8 @@ although this is more of a mnemonic strategy than a hard-and-fast rule - but doi
6262

6363
_If there is not already a JIRA issue covering the work you want to do, create one._
6464

65-
Assuming you will be working from the master branch and working
66-
on the JIRA HHH-123 : `git checkout -b HHH-123 master`
65+
Assuming you will be working from the `main` branch and working
66+
on the JIRA HHH-123 : `git checkout -b HHH-123 main`
6767

6868

6969
## Code

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ It also provides an implementation of the JPA specification, which is the standa
88

99
This is the repository of its source code: see [Hibernate.org](http://hibernate.org/orm/) for additional information.
1010

11-
[![Build Status](http://ci.hibernate.org/job/hibernate-orm-master-h2-main/badge/icon)](http://ci.hibernate.org/job/hibernate-orm-master-h2-main/)
11+
[![Build Status](http://ci.hibernate.org/job/hibernate-orm-main-h2-main/badge/icon)](http://ci.hibernate.org/job/hibernate-orm-main-h2-main/)
1212
[![Language grade: Java](https://img.shields.io/lgtm/grade/java/g/hibernate/hibernate-orm.svg?logo=lgtm&logoWidth=18)](https://lgtm.com/projects/g/hibernate/hibernate-orm/context:java)
1313

1414
Building from sources

etc/hibernate.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -190,7 +190,7 @@ hibernate.connection.url jdbc:hsqldb:./build/db/hsqldb/hibernate
190190

191191
#hibernate.dialect org.hibernate.dialect.InterbaseDialect
192192
#hibernate.connection.username sysdba
193-
#hibernate.connection.password masterkey
193+
#hibernate.connection.password thekey
194194

195195
## DO NOT specify hibernate.connection.sqlDialect
196196

etc/hibernate.properties.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -169,7 +169,7 @@ hibernate.connection.url @DB_URL@
169169

170170
#hibernate.dialect org.hibernate.dialect.InterbaseDialect
171171
#hibernate.connection.username sysdba
172-
#hibernate.connection.password masterkey
172+
#hibernate.connection.password thepass
173173

174174
## DO NOT specify hibernate.connection.sqlDialect
175175

hibernate-core/src/main/java/org/hibernate/internal/CoreMessageLogger.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1669,7 +1669,7 @@ void cannotResolveNonNullableTransientDependencies(
16691669
)
16701670
void applyingExplicitDiscriminatorColumnForJoined(String className, String overrideSetting);
16711671

1672-
// 458-466 reserved for use by master (ORM 5.0.0)
1672+
// 458-466 reserved for use by main branch (ORM 5.0.0)
16731673

16741674
@LogMessage(level = DEBUG)
16751675
@Message(value = "Creating pooled optimizer (lo) with [incrementSize=%s; returnClass=%s]", id = 467)

hibernate-core/src/test/java/org/hibernate/test/annotations/entity/FormalLastName.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public class FormalLastName {
2626
@Embedded
2727
private LastName lastName;
2828

29-
private String designation; /* Mr/Mrs/Master */
29+
private String designation; /* Mr/Mrs */
3030

3131
public Integer getId() {
3232
return id;

hibernate-core/src/test/java/org/hibernate/test/fileimport/Dog.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
*/
1313
public class Dog {
1414
private Integer id;
15-
private Human master;
15+
private Human owner;
1616

1717
public Integer getId() {
1818
return id;
@@ -22,11 +22,11 @@ public void setId(Integer id) {
2222
this.id = id;
2323
}
2424

25-
public Human getMaster() {
26-
return master;
25+
public Human getOwner() {
26+
return owner;
2727
}
2828

29-
public void setMaster(Human master) {
30-
this.master = master;
29+
public void setOwner(Human owner) {
30+
this.owner = owner;
3131
}
3232
}

hibernate-core/src/test/java/org/hibernate/test/formulajoin/AnnotatedFormWithBeanValidationNotNullTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public class AnnotatedFormWithBeanValidationNotNullTest extends BaseUnitTestCase
2121
@TestForIssue( jiraKey = "HHH-8167" )
2222
public void testAnnotatedFormWithBeanValidationNotNull() {
2323
Configuration cfg = new Configuration();
24-
cfg.addAnnotatedClass( AnnotatedMaster.class ).addAnnotatedClass( AnnotatedDetail.class );
24+
cfg.addAnnotatedClass( AnnotatedRoot.class ).addAnnotatedClass( AnnotatedDetail.class );
2525
cfg.buildSessionFactory().close();
2626
}
2727
}

hibernate-core/src/test/java/org/hibernate/test/formulajoin/AnnotatedMaster.java renamed to hibernate-core/src/test/java/org/hibernate/test/formulajoin/AnnotatedRoot.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
* @author Steve Ebersole
2323
*/
2424
@Entity
25-
public class AnnotatedMaster {
25+
public class AnnotatedRoot {
2626
@Id
2727
private Integer id;
2828
private String name;

0 commit comments

Comments
 (0)