Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 60 for violations (0.08 sec)

  1. CODE_OF_CONDUCT.md

    the consequences for any action they deem in violation of this Code of Conduct:
    
    ### 1. Correction
    
    **Community Impact**: Use of inappropriate language or other behavior deemed
    unprofessional or unwelcome in the community.
    
    **Consequence**: A private, written warning from community leaders, providing
    clarity around the nature of the violation and an explanation of why the
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Oct 17 06:18:13 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/cache/LocalCache.java

     *
     * @author Charles Fry
     * @author Bob Lee ({@code com.google.common.collect.MapMaker})
     * @author Doug Lea ({@code ConcurrentHashMap})
     */
    @SuppressWarnings({
      "GoodTime", // lots of violations (nanosecond math)
      "nullness", // too much trouble for the payoff
    })
    @GwtCompatible(emulated = true)
    // TODO(cpovirk): Annotate for nullness.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 149.2K bytes
    - Viewed (0)
  3. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractGradleViolationRule.groovy

            return repository.isOverride(method)
        }
    
        Violation acceptOrReject(JApiCompatibility member, Violation rejection) {
            List<String> changes = member.compatibilityChanges.collect { Violation.describe(it) }
            return acceptOrReject(member, changes, rejection)
        }
    
        Violation acceptOrReject(JApiCompatibility member, List<String> changes, Violation rejection) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Aug 19 15:30:48 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRuleTest.groovy

            apiClass.oldClass >> Optional.of(classes['OldBase'])
            apiClass.newClass >> Optional.of(classes['NewBase'])
    
            when:
            Violation violation = rule.maybeViolation(apiClass)
    
            then:
            violation.humanExplanation.contains('SuperInternal.publicMethod()')
            !violation.humanExplanation.contains('SuperInternal.privateMethod()')
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 2.9K bytes
    - Viewed (0)
  5. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/IncubatingMissingRule.java

    import japicmp.model.JApiMethod;
    import me.champeau.gradle.japicmp.report.Violation;
    
    import java.util.Map;
    
    public class IncubatingMissingRule extends AbstractGradleViolationRule {
    
        public IncubatingMissingRule(Map<String, Object> params) {
            super(params);
        }
    
        @Override
        public Violation maybeViolation(final JApiCompatibility member) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 1.7K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/BinaryBreakingChangesRule.java

                if (member instanceof JApiHasAnnotations) {
                    if (isIncubating((JApiHasAnnotations) member)) {
                        return Violation.warning(member, "Changed public API (@Incubating)");
                    }
                }
                return acceptOrReject(member, Violation.notBinaryCompatible(member));
            }
            return null;
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 3.1K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NewIncubatingAPIRule.java

    import japicmp.model.JApiMethod;
    import me.champeau.gradle.japicmp.report.Violation;
    
    import java.util.Map;
    
    public class NewIncubatingAPIRule extends AbstractGradleViolationRule {
    
        public NewIncubatingAPIRule(Map<String, Object> params) {
            super(params);
        }
    
        @Override
        public Violation maybeViolation(final JApiCompatibility member) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  8. build-logic/binary-compatibility/src/test/groovy/gradlebuild/binarycompatibility/rules/IncubatingInternalInterfaceAddedRuleTest.groovy

        }
    
        def 'adding an #type interface can be reported'() {
            given:
            newBase.addInterface(interfaces[type])
    
            when:
            Violation violation = rule.maybeViolation(apiClass)
    
            then:
            violation.humanExplanation.contains(result)
    
            where:
            type         | result
            'internal'   | "\"${replaceAsInternal(InternalInterface.name)}\""
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 4K bytes
    - Viewed (0)
  9. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/BinaryBreakingSuperclassChangeRule.groovy

        }
    
        @Override
        protected Violation checkSuperClassChanges(JApiClass apiClass, CtClass oldClass, CtClass newClass) {
            return acceptOrReject(apiClass.superclass, Violation.notBinaryCompatible(apiClass.superclass))
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  10. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/AbstractSuperClassChangesRule.groovy

    package gradlebuild.binarycompatibility.rules
    
    import japicmp.model.JApiClass
    import japicmp.model.JApiCompatibility
    import japicmp.util.Optional
    import javassist.CtClass
    import me.champeau.gradle.japicmp.report.Violation
    
    import java.util.regex.Pattern
    
    abstract class AbstractSuperClassChangesRule extends AbstractGradleViolationRule {
    
        private final List<Pattern> publicApiPatterns
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Oct 06 19:15:15 UTC 2022
    - 2.2K bytes
    - Viewed (0)
Back to top