We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5493a48 commit dbb87f6Copy full SHA for dbb87f6
src/main/java/org/scm4j/releaser/conf/Component.java
@@ -12,7 +12,10 @@ public class Component {
12
private VCSRepository repo = null;
13
14
public VCSRepository getVcsRepository() {
15
- return repo == null ? VCSRepositories.getDefault().getByName(coords.getName()) : repo;
+ if (repo == null) {
16
+ repo = VCSRepositories.getDefault().getByName(coords.getName());
17
+ }
18
+ return repo;
19
}
20
21
public Component(String coordsStr) {
0 commit comments