Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 491 - 500 of 1,432 for nullif (0.03 seconds)

  1. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java

         * @return {@code true} if this mojo forks either a goal or the lifecycle, {@code false} otherwise.
         */
        public boolean isForking() {
            return (getExecuteGoal() != null && !getExecuteGoal().isEmpty())
                    || (getExecutePhase() != null && !getExecutePhase().isEmpty());
        }
    
        public boolean isV4Api() {
            return v4Api;
        }
    
        /**
         * Creates a shallow copy of this mojo descriptor.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 21.7K bytes
    - Click Count (0)
  2. compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/ToolchainsBuilder.java

        /**
         * Builds the effective toolchains of the specified toolchains files.
         *
         * @param request The toolchains building request that holds the parameters, must not be {@code null}.
         * @return The result of the toolchains building, never {@code null}.
         * @throws ToolchainsBuildingException If the effective toolchains could not be built.
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Mar 05 09:37:42 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/internal/impl/CoreUtils.java

    import java.util.stream.Collectors;
    
    class CoreUtils {
    
        public static <T> T cast(Class<T> clazz, Object o, String name) {
            if (!clazz.isInstance(o)) {
                if (o == null) {
                    throw new IllegalArgumentException(name + " is null");
                }
                throw new IllegalArgumentException(name + " is not an instance of " + clazz.getName());
            }
            return clazz.cast(o);
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Mon Mar 24 22:23:23 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  4. impl/maven-core/src/main/java/org/apache/maven/plugin/internal/AbstractMavenPluginParametersValidator.java

            if (config == null) {
                return false;
            }
    
            // there are sub items ... so configuration is declared
            if (config.getChildCount() > 0) {
                return true;
            }
    
            String strValue = config.getValue();
    
            if (strValue == null || strValue.isEmpty()) {
                return false;
            }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 4.1K bytes
    - Click Count (0)
  5. impl/maven-core/src/main/java/org/apache/maven/plugin/prefix/PluginPrefixResolver.java

         *
         * @param request The request that holds the details about the plugin and the repositories to consult, must not be
         *            {@code null}.
         * @return The result of the prefix resolution, never {@code null}.
         * @throws NoPluginFoundForPrefixException If the plugin prefix could not be resolved.
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.4K bytes
    - Click Count (0)
  6. lib/wasm/wasm_exec.js

    				}
    				return buf.length;
    			},
    			write(fd, buf, offset, length, position, callback) {
    				if (offset !== 0 || length !== buf.length || position !== null) {
    					callback(enosys());
    					return;
    				}
    				const n = this.writeSync(fd, buf);
    				callback(null, n);
    			},
    			chmod(path, mode, callback) { callback(enosys()); },
    			chown(path, uid, gid, callback) { callback(enosys()); },
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Sun Dec 08 15:34:47 GMT 2024
    - 16.6K bytes
    - Click Count (0)
  7. compat/maven-compat/src/main/java/org/apache/maven/artifact/ArtifactScopeEnum.java

        }
    
        int getId() {
            return id;
        }
    
        /**
         * Helper method to simplify null processing
         *
         * @param scope a scope or {@code null}
         * @return the provided scope or DEFAULT_SCOPE
         */
        public static ArtifactScopeEnum checkScope(ArtifactScopeEnum scope) {
            return scope == null ? DEFAULT_SCOPE : scope;
        }
    
        /**
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  8. compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/DefaultModelCache.java

        private final RepositorySystemSession session;
    
        private final RepositoryCache cache;
    
        public static ModelCache newInstance(RepositorySystemSession session) {
            if (session.getCache() == null) {
                return null;
            } else {
                return new DefaultModelCache(session);
            }
        }
    
        private DefaultModelCache(RepositorySystemSession session) {
            this.session = session;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 07:09:12 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  9. impl/maven-core/src/test/java/org/apache/maven/project/harness/Xpp3DomNodePointer.java

    /**
     * A node pointer for JXPath to support <code>Xpp3Dom</code>.
     *
     */
    class Xpp3DomNodePointer extends NodePointer {
    
        private XmlNode node;
    
        Xpp3DomNodePointer(XmlNode node) {
            super(null);
            this.node = node;
        }
    
        Xpp3DomNodePointer(NodePointer parent, XmlNode node) {
            super(parent);
            this.node = node;
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 3.3K bytes
    - Click Count (0)
  10. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/SinceAnnotationRule.java

            if (shouldSkipViolationCheckFor(member)) {
                return null;
            }
    
            SinceTagStatus since = getRepository().getSince(member);
            if (since instanceof SinceTagStatus.Present present) {
                if (present.getVersion().equals(getCurrentVersion())){
                    return null;
                } else {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 3.8K bytes
    - Click Count (0)
Back to Top