@Override public void storeAttributes( final StorageItem item, final ContentLocator content ) throws IOException { if ( item instanceof StorageCollectionItem ) { // not storing attributes of directories return; } if ( content != null ) { // resetting some important values if ( item.getRemoteChecked() == 0 ) { item.setRemoteChecked( System.currentTimeMillis() ); } if ( item.getLastRequested() == 0 ) { item.setLastRequested( System.currentTimeMillis() ); } item.setExpired( false ); // resetting the pluggable attributes expandCustomItemAttributes( item, content ); } storeAttributes( item ); }
item.setExpired( false );