Don't hard-code section names, use ConfigConstants instead
Change-Id: Ie2dde43da491fa27b25a2ad8014866d77d484b24 Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
This commit is contained in:
parent
d16085b3b9
commit
6d293c7b06
|
@ -194,7 +194,8 @@ public PullResult call() throws WrongRepositoryStateException,
|
|||
String remoteUri;
|
||||
FetchResult fetchRes;
|
||||
if (isRemote) {
|
||||
remoteUri = repoConfig.getString("remote", remote,
|
||||
remoteUri = repoConfig.getString(
|
||||
ConfigConstants.CONFIG_REMOTE_SECTION, remote,
|
||||
ConfigConstants.CONFIG_KEY_URL);
|
||||
if (remoteUri == null) {
|
||||
String missingKey = ConfigConstants.CONFIG_REMOTE_SECTION + DOT
|
||||
|
|
Loading…
Reference in New Issue