Index: trunk/BookmarkController.pm
===================================================================
--- trunk/BookmarkController.pm	(revision 66)
+++ trunk/BookmarkController.pm	(revision 67)
@@ -306,9 +306,8 @@
 }
 
-#TODO: better method name
 # returns 1 if there is an If-Modified-Since header and it is newer than the given $mtime
 # returns 0 if there is an If-Modified-Since header but the $mtime is newer
 # returns undef if there is no If-Modified-Since header
-sub _check_modified {
+sub _request_is_newer_than {
     my $self = shift;
     my $mtime = shift;
@@ -330,5 +329,5 @@
     my $bookmark = $self->get_bookmark({ id => $id });
     if ($bookmark) {
-        return [304, [], []] if $self->_check_modified($bookmark->mtime);
+        return [304, [], []] if $self->_request_is_newer_than($bookmark->mtime);
 
         my $last_modified = time2str($bookmark->mtime);
@@ -357,5 +356,5 @@
     my $bookmark = $self->get_bookmark({ id => $id });
     if ($bookmark) {
-        return [304, [], []] if $self->_check_modified($bookmark->mtime);
+        return [304, [], []] if $self->_request_is_newer_than($bookmark->mtime);
 
         # check whether the requested field is part of the bookmark
