}
}
- private SMInputFactory initStax() {
+ private static SMInputFactory initStax() {
XMLInputFactory xmlFactory = XMLInputFactory.newInstance();
xmlFactory.setProperty(XMLInputFactory.IS_COALESCING, Boolean.TRUE);
xmlFactory.setProperty(XMLInputFactory.IS_NAMESPACE_AWARE, Boolean.FALSE);
}
}
- void addProject(String profileKey, String projectUuid, UserSession userSession, DbSession session) {
+ private void addProject(String profileKey, String projectUuid, UserSession userSession, DbSession session) {
ComponentDto project = db.componentDao().selectOrFailByUuid(session, projectUuid);
checkPermission(userSession, project.key());
QualityProfileDto qualityProfile = findNotNull(profileKey, session);
}
}
- public void removeProject(String language, long projectId, UserSession userSession) {
+ void removeProject(String language, long projectId, UserSession userSession) {
DbSession session = db.openSession(false);
try {
ComponentDto project = db.componentDao().selectOrFailById(session, projectId);
}
}
- public void removeAllProjects(String profileKey, UserSession userSession) {
+ void removeAllProjects(String profileKey, UserSession userSession) {
checkPermission(userSession);
DbSession session = db.openSession(false);
try {