minor debug logging improvement and use Integer.toString instead of i + ""
git-svn-id: https://svn.apache.org/repos/asf/felix/trunk@819308 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/sigil/ivy/resolver/src/org/apache/felix/sigil/ivy/BldRepositoryManager.java b/sigil/ivy/resolver/src/org/apache/felix/sigil/ivy/BldRepositoryManager.java
index de52b52..9f102fc 100644
--- a/sigil/ivy/resolver/src/org/apache/felix/sigil/ivy/BldRepositoryManager.java
+++ b/sigil/ivy/resolver/src/org/apache/felix/sigil/ivy/BldRepositoryManager.java
@@ -93,15 +93,14 @@
}
int level = Integer.parseInt(repo.getProperty(
- IRepositoryConfig.REPOSITORY_LEVEL, IBundleRepository.NORMAL_PRIORITY
- + ""));
+ IRepositoryConfig.REPOSITORY_LEVEL, Integer.toString(IBundleRepository.NORMAL_PRIORITY)));
try
{
IRepositoryProvider instance = (IRepositoryProvider) (Class.forName(provider).newInstance());
IBundleRepository repository = instance.createRepository(name, repo);
addRepository(repository, level);
- Log.verbose("added repository: " + repository);
+ Log.verbose("added repository: " + repository + " : " + level);
}
catch (Exception e)
{