Revision: 14123
          http://sourceforge.net/p/skim-app/code/14123
Author:   hofman
Date:     2024-03-22 17:03:00 +0000 (Fri, 22 Mar 2024)
Log Message:
-----------
remove unused method

Modified Paths:
--------------
    trunk/SKFileUpdateChecker.m

Modified: trunk/SKFileUpdateChecker.m
===================================================================
--- trunk/SKFileUpdateChecker.m 2024-03-22 16:45:09 UTC (rev 14122)
+++ trunk/SKFileUpdateChecker.m 2024-03-22 17:03:00 UTC (rev 14123)
@@ -100,17 +100,6 @@
     fucFlags.fileWasMoved = NO;
 }
 
-- (void)checkForFileModification:(NSTimer *)timer {
-    NSDate *currentFileModifiedDate = [[[NSFileManager defaultManager] 
attributesOfItemAtPath:[[[document fileURL] URLByResolvingSymlinksInPath] path] 
error:NULL] fileModificationDate];
-    if (nil == lastModifiedDate) {
-        lastModifiedDate = [currentFileModifiedDate copy];
-    } else if ([lastModifiedDate compare:currentFileModifiedDate] == 
NSOrderedAscending) {
-        // Always reset mod date to prevent repeating messages; note that the 
kqueue also notifies only once
-        lastModifiedDate = [currentFileModifiedDate copy];
-        [self noteFileUpdated];
-    }
-}
-
 - (void)checkForFileReplacement {
     if ([[[document fileURL] URLByResolvingSymlinksInPath] 
checkResourceIsReachableAndReturnError:NULL]) {
         // the deleted file was replaced at the old path, restart the file 
updating for the replacement file and note the update

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to