Examples of RulesProfile


Examples of org.sonar.api.profiles.RulesProfile

        Reader config = null;

        try {
            config = new InputStreamReader(getClass().getResourceAsStream(
                    DEFAULT_PROFILE));
            final RulesProfile profile = profileImporter.importProfile(config,
                    messages);
            profile.setName(OCLintRuleRepository.REPOSITORY_KEY);
            profile.setLanguage(ObjectiveC.KEY);
            profile.setDefaultProfile(true);

            return profile;
        } finally {
            Closeables.closeQuietly(config);
        }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.