- if (node.isNodeType(ArgeoTypes.ARGEO_REMOTE_REPOSITORY)
- && node.hasProperty(ArgeoNames.ARGEO_URI)
- && node.getProperty(ArgeoNames.ARGEO_URI).getString()
- .equals(uri.getText()))
- throw new SlcException(
- "This URI "
- + uri.getText()
- + " is already registered, "
- + "for the time being, only one instance of a single "
- + "repository at a time is implemented.");
+ if (node.isNodeType(ArgeoTypes.ARGEO_REMOTE_REPOSITORY) && node.hasProperty(ArgeoNames.ARGEO_URI)
+ && node.getProperty(ArgeoNames.ARGEO_URI).getString().equals(uri.getText()))
+ throw new SlcException("This URI " + uri.getText() + " is already registered, "
+ + "for the time being, only one instance of a single "
+ + "repository at a time is implemented.");