Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for getMajorVersion (0.21 sec)

  1. compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/DefaultArtifactVersionTest.java

            String parsed = "'" + version + "' parsed as ('" + artifactVersion.getMajorVersion() + "', '"
                    + artifactVersion.getMinorVersion() + "', '" + artifactVersion.getIncrementalVersion() + "', '"
                    + artifactVersion.getBuildNumber() + "', '" + artifactVersion.getQualifier() + "'), ";
            assertEquals(major, artifactVersion.getMajorVersion(), parsed + "check major version");
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  2. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ArtifactVersion.java

    /**
     * Describes an artifact version in terms of its components, converts it to/from a string and
     * compares two versions.
     *
     */
    public interface ArtifactVersion extends Comparable<ArtifactVersion> {
        int getMajorVersion();
    
        int getMinorVersion();
    
        int getIncrementalVersion();
    
        int getBuildNumber();
    
        String getQualifier();
    
        void parseVersion(String version);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  3. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/DefaultArtifactVersion.java

            } else {
                return compareTo(new DefaultArtifactVersion(otherVersion.toString()));
            }
        }
    
        public int getMajorVersion() {
            return majorVersion != null ? majorVersion : 0;
        }
    
        public int getMinorVersion() {
            return minorVersion != null ? minorVersion : 0;
        }
    
        public int getIncrementalVersion() {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/fess/helper/SystemHelperTest.java

            systemHelper.waitForNoWaitingThreads();
        }
    
        public void test_getVersion() {
            assertEquals("98.76.5", systemHelper.getVersion());
            assertEquals(98, systemHelper.getMajorVersion());
            assertEquals(76, systemHelper.getMinorVersion());
            assertEquals("98.76", systemHelper.getProductVersion());
        }
    
        public void test_getEnvMap() {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/helper/SystemHelper.java

        }
    
        protected Map<String, String> getEnvMap() {
            return System.getenv();
        }
    
        public String getVersion() {
            return version;
        }
    
        public int getMajorVersion() {
            return majorVersion;
        }
    
        public int getMinorVersion() {
            return minorVersion;
        }
    
        public String getProductVersion() {
            return productVersion;
        }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 17 12:10:08 UTC 2024
    - 27.2K bytes
    - Viewed (0)
Back to top