Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 339 for if (0.13 sec)

  1. maven-compat/src/main/java/org/apache/maven/project/path/DefaultPathTranslator.java

            if (s != null) {
                String basedirExpr = null;
                for (String expression : BASEDIR_EXPRESSIONS) {
                    if (s.startsWith(expression)) {
                        basedirExpr = expression;
                        break;
                    }
                }
    
                if (basedirExpr != null) {
                    if (s.length() > basedirExpr.length()) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Wed Feb 28 07:40:37 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/convert/ShortConversionUtil.java

            if (o == null) {
                return null;
            } else if (o instanceof Short) {
                return (Short) o;
            } else if (o instanceof Number) {
                return ((Number) o).shortValue();
            } else if (o instanceof String) {
                return toShort((String) o);
            } else if (o instanceof java.util.Date) {
                if (pattern != null) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  3. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/JdkVersionProfileActivator.java

                if (token.startsWith("[")) {
                    ranges.add(new RangeValue(token.replace("[", ""), true));
                } else if (token.startsWith("(")) {
                    ranges.add(new RangeValue(token.replace("(", ""), false));
                } else if (token.endsWith("]")) {
                    ranges.add(new RangeValue(token.replace("]", ""), true));
                } else if (token.endsWith(")")) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/core/text/Tokenizer.java

         */
        public int nextToken() {
            initVal();
            if (processEOF()) {
                return ttype;
            }
            if (processWhitespace()) {
                return ttype;
            }
            if (processWord()) {
                return ttype;
            }
            if (processQuote()) {
                return ttype;
            }
            if (processOrdinary()) {
                return ttype;
            }
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 8.6K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/convert/FloatConversionUtil.java

            if (o == null) {
                return null;
            } else if (o instanceof Float) {
                return (Float) o;
            } else if (o instanceof Number) {
                return new Float(((Number) o).floatValue());
            } else if (o instanceof String) {
                return toFloat((String) o);
            } else if (o instanceof java.util.Date) {
                if (pattern != null) {
    Java
    - Registered: Fri May 03 20:58:11 GMT 2024
    - Last Modified: Thu Mar 07 01:59:08 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/OperatingSystemProfileActivator.java

            if (active && os.getFamily() != null) {
                active = determineFamilyMatch(os.getFamily(), actualOsName);
            }
            if (active && os.getName() != null) {
                active = determineNameMatch(os.getName(), actualOsName);
            }
            if (active && os.getArch() != null) {
                active = determineArchMatch(os.getArch(), actualOsArch);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultModelVersionParser.java

            public int compareTo(Version o) {
                if (o instanceof DefaultVersion) {
                    return delegate.compareTo(((DefaultVersion) o).delegate);
                } else {
                    return compareTo(new DefaultVersion(versionScheme, o.asString()));
                }
            }
    
            @Override
            public boolean equals(Object o) {
                if (this == o) {
                    return true;
                }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.4K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/DefaultModelXmlFactory.java

                xml.setAddDefaultEntities(request.isAddDefaultEntities());
                if (inputStream != null) {
                    return xml.read(inputStream, request.isStrict(), source);
                } else if (reader != null) {
                    return xml.read(reader, request.isStrict(), source);
                } else if (path != null) {
                    try (InputStream is = Files.newInputStream(path)) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/PropertyProfileActivator.java

            Activation activation = profile.getActivation();
    
            if (activation == null) {
                return false;
            }
    
            ActivationProperty property = activation.getProperty();
    
            if (property == null) {
                return false;
            }
    
            String name = property.getName();
            boolean reverseName = false;
    
            if (name != null && name.startsWith("!")) {
                reverseName = true;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/xml/Location.java

         * is pointing to. If the input source is a file or a byte stream then
         * this is the byte offset into that stream, but if the input source is
         * a character media then the offset is the character offset.
         * Returns -1 if there is no offset available.
         * @return the current offset
         */
        int getCharacterOffset();
    
        /**
         * Returns the public ID of the XML
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 1.9K bytes
    - Viewed (0)
Back to top