Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for setFileTimes (0.07 sec)

  1. src/test/java/jcifs/SmbResourceTest.java

                long lastAccess = currentTime;
    
                // When/Then
                assertDoesNotThrow(() -> mockResource.setFileTimes(createTime, lastModified, lastAccess),
                        "Setting file times should not throw exception");
                verify(mockResource).setFileTimes(createTime, lastModified, lastAccess);
            }
    
            @Test
            @DisplayName("individual time setters should work correctly")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 35K bytes
    - Viewed (0)
  2. pom.xml

    							<method>java.lang.String getGuestPassword()</method>
    						</difference>
    						<difference>
    							<className>jcifs/SmbResource</className>
    							<differenceType>7012</differenceType>
    							<method>void setFileTimes(long, long, long)</method>
    						</difference>
    					</ignored>
    				</configuration>
    			</plugin>
    			<plugin>
    				<groupId>org.apache.maven.plugins</groupId>
    				<artifactId>maven-surefire-plugin</artifactId>
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Mon Aug 25 14:34:10 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SmbResource.java

         * @throws CIFSException if an error occurs modifying the resource
         * @throws jcifs.smb.SmbUnsupportedOperationException
         *             if CAP_NT_SMBS is unavailable
         */
        void setFileTimes(long createTime, long lastModified, long lastAccess) throws CIFSException;
    
        /**
         * Set the last access time of the file. The time is specified as milliseconds
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 28K bytes
    - Viewed (1)
  4. src/main/java/jcifs/smb/SmbFile.java

                            new SmbComSetInformationResponse(th.getConfig()));
                }
    
                this.attrExpiration = 0;
            }
        }
    
        @Override
        public void setFileTimes(final long createTime, final long lastLastModified, final long lastLastAccess) throws SmbException {
            if (this.fileLocator.isRootOrShare()) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
Back to top