Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for lastIndexOf (0.05 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbFile.java

        protected boolean pathNamesPossiblyEqual(String path1, String path2) {
            int p1, p2, l1, l2;
    
            // if unsure return this method returns true
    
            p1 = path1.lastIndexOf('/');
            p2 = path2.lastIndexOf('/');
            l1 = path1.length() - p1;
            l2 = path2.length() - p2;
    
            // anything with dots voids comparison
            if (l1 > 1 && path1.charAt(p1 + 1) == '.')
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
Back to top