Import-Package: org.eclipse.jgit.api;version="[6.10.1,6.11.0)",
org.eclipse.jgit.attributes;version="[6.10.1,6.11.0)",
org.eclipse.jgit.internal.storage.dfs;version="[6.10.1,6.11.0)",
+ org.eclipse.jgit.internal.storage.file;version="[6.10.1,6.11.0)",
org.eclipse.jgit.junit;version="[6.10.1,6.11.0)",
org.eclipse.jgit.lfs;version="[6.10.1,6.11.0)",
org.eclipse.jgit.lfs.errors;version="[6.10.1,6.11.0)",
public void lfsUrlFromLocalConfig() throws Exception {
addRemoteUrl("https://localhost/repo");
- StoredConfig cfg = ((Repository) db).getConfig();
+ @SuppressWarnings("restriction")
+ StoredConfig cfg = db.getConfig();
cfg.setString(ConfigConstants.CONFIG_SECTION_LFS,
null,
ConfigConstants.CONFIG_KEY_URL,
public void lfsUrlFromOriginConfig() throws Exception {
addRemoteUrl("https://localhost/repo");
- StoredConfig cfg = ((Repository) db).getConfig();
+ @SuppressWarnings("restriction")
+ StoredConfig cfg = db.getConfig();
cfg.setString(ConfigConstants.CONFIG_SECTION_LFS,
org.eclipse.jgit.lib.Constants.DEFAULT_REMOTE_NAME,
ConfigConstants.CONFIG_KEY_URL,