Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for scopeEquals (0.14 sec)

  1. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/idea/model/ModuleDependency.java

            if (!getClass().equals(o.getClass())) {
                return false;
            }
            ModuleDependency that = (ModuleDependency) o;
            return Objects.equal(name, that.name) && scopeEquals(scope, that.scope);
        }
    
        private static boolean scopeEquals(String lhs, String rhs) {
            if ("COMPILE".equals(lhs)) {
                return Strings.isNullOrEmpty(rhs) || "COMPILE".equals(rhs);
            } else if ("COMPILE".equals(rhs)) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 13:57:30 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  2. platforms/ide/ide/src/main/java/org/gradle/plugins/ide/idea/model/ModuleLibrary.java

                && Objects.equal(jarDirectories, that.jarDirectories)
                && Objects.equal(javadoc, that.javadoc)
                && scopeEquals(scope, that.scope)
                && Objects.equal(sources, that.sources);
        }
    
        private static boolean scopeEquals(String lhs, String rhs) {
            if ("COMPILE".equals(lhs)) {
                return isNullOrEmpty(rhs) || "COMPILE".equals(rhs);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 13:57:30 UTC 2024
    - 6.7K bytes
    - Viewed (0)
Back to top