Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 25 for setLastModified (0.09 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. build-logic/src/main/kotlin/BndBuildAction.kt

              builder.getWarnings().forEach { task.logger.warn("Warning: $it") }
              throw GradleException("Bundle $archiveFileName has errors")
            }
    
            builtJar.write(archiveFile)
            archiveFile.setLastModified(System.currentTimeMillis())
          }
        } catch (e: Exception) {
          throw GradleException("Bnd build failed", e)
        }
      }
    
      private fun isZip(file: File): Boolean =
        try {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Feb 05 09:17:33 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  2. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/AbstractRepositoryMetadata.java

                    MetadataStaxWriter mappingWriter = new MetadataStaxWriter();
                    mappingWriter.write(output, metadata.getDelegate());
                }
            } else {
                metadataFile.setLastModified(System.currentTimeMillis());
            }
        }
    
        @Override
        public String toString() {
            return "repository metadata for: '" + getKey() + "'";
        }
    
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  3. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java

                        target.setStatus(getFieldValue(fields.get("status"), Integer.class));
                        target.setCreateTime(getFieldValue(fields.get("createTime"), Long.class));
                        target.setLastModified(getFieldValue(fields.get("lastModified"), Long.class));
    
                        setId(target, searchHit.getId());
                        targetList.add(target);
                    }
                } catch (final Exception e) {
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Mon Nov 24 03:59:47 GMT 2025
    - 11.1K bytes
    - Click Count (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/gcs/GcsClient.java

                checkMaxContentLength(responseData);
    
                responseData.setHttpStatusCode(Constants.OK_STATUS_CODE);
                responseData.setCharSet(getCharset());
                responseData.setLastModified(
                        blob.getUpdateTimeOffsetDateTime() == null ? null : Date.from(blob.getUpdateTimeOffsetDateTime().toInstant()));
                responseData.setMimeType(blob.getContentType());
    
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Thu Dec 11 08:38:29 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

                    // TODO should this be inside the above check?
                    // touch file so that this is not checked again until interval has passed
                    if (file.exists()) {
                        file.setLastModified(System.currentTimeMillis());
                    }
                }
            }
    
            try {
                mergeMetadata(metadata, remoteRepositories, localRepo);
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 18.9K bytes
    - Click Count (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/DefaultWagonManager.java

                                if (!downloaded) {
                                    // prevent additional checks of this artifact until it expires again
                                    destination.setLastModified(System.currentTimeMillis());
                                }
                            } catch (UnsupportedOperationException e) {
                                // older wagons throw this. Just get() instead
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sat Apr 05 11:52:05 GMT 2025
    - 29.9K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb1/smb1/SmbFile.java

         *
         * @param time the last modified time as milliseconds since Jan 1, 1970
         * @throws SmbException if an error occurs while setting the last modified time
         */
        public void setLastModified(final long time) throws SmbException {
            if (getUncPath0().length() == 1) {
                throw new SmbException("Invalid operation for workgroups, servers, or shares");
            }
    
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 112.2K bytes
    - Click Count (0)
  8. src/main/java/org/codelibs/fess/crawler/FessCrawlerThread.java

                    if (lastModified == null) {
                        return true;
                    }
                    urlQueue.setLastModified(lastModified.getTime());
                    log(logHelper, LogType.CHECK_LAST_MODIFIED, crawlerContext, urlQueue);
    
                    if (responseData == null) {
                        // head method
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Dec 11 09:47:03 GMT 2025
    - 19.5K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb/SmbFile.java

            try {
                setPathInformation(0, time, 0L, 0L);
            } catch (final CIFSException e) {
                throw SmbException.wrap(e);
            }
        }
    
        @Override
        public void setLastModified(final long time) throws SmbException {
            if (this.fileLocator.isRootOrShare()) {
                throw new SmbException("Invalid operation for workgroups, servers, or shares");
            }
    
            try {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 103.2K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/io/Files.java

       */
      @SuppressWarnings("GoodTime") // reading system time without TimeSource
      public static void touch(File file) throws IOException {
        checkNotNull(file);
        if (!file.createNewFile() && !file.setLastModified(System.currentTimeMillis())) {
          throw new IOException("Unable to update modification time of " + file);
        }
      }
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Jan 05 22:13:21 GMT 2026
    - 32.8K bytes
    - Click Count (0)
Back to Top