out.writeLong(generation.getLastModified());
out.writeLong(generation.getLastModified());
out.writeLong(generation.getLastModified());
out.writeLong(generation.getLastModified());
out.writeLong(generation.getLastModified());
out.writeLong(generation.getLastModified());
private boolean needsDiscarding(Generation generation) { for (StorageHook<?, ?> hook : generation.getStorageHooks()) { try { hook.validate(); } catch (IllegalStateException e) { // TODO Logging? return true; } } File content = generation.getContent(); if (getConfiguration().inCheckConfigurationMode()) { if (generation.isDirectory()) { content = new File(content, "META-INF/MANIFEST.MF"); //$NON-NLS-1$ } return generation.getLastModified() != secureAction.lastModified(content); } if (!content.exists()) { // the content got deleted since last time! return true; } return false; }
private boolean needsDiscarding(Generation generation) { for (StorageHook<?, ?> hook : generation.getStorageHooks()) { try { hook.validate(); } catch (IllegalStateException e) { // TODO Logging? return true; } } File content = generation.getContent(); if (getConfiguration().inCheckConfigurationMode()) { if (generation.isDirectory()) { content = new File(content, "META-INF/MANIFEST.MF"); //$NON-NLS-1$ } return generation.getLastModified() != secureAction.lastModified(content); } if (!content.exists()) { // the content got deleted since last time! return true; } return false; }
private boolean needsDiscarding(Generation generation) { for (StorageHook<?, ?> hook : generation.getStorageHooks()) { try { hook.validate(); } catch (IllegalStateException e) { // TODO Logging? return true; } } File content = generation.getContent(); if (getConfiguration().inCheckConfigurationMode()) { if (generation.isDirectory()) { content = new File(content, "META-INF/MANIFEST.MF"); //$NON-NLS-1$ } return generation.getLastModified() != secureAction.lastModified(content); } if (!content.exists()) { // the content got deleted since last time! return true; } return false; }
private boolean needsDiscarding(Generation generation) { for (StorageHook<?, ?> hook : generation.getStorageHooks()) { try { hook.validate(); } catch (IllegalStateException e) { // TODO Logging? return true; } } File content = generation.getContent(); if (getConfiguration().inCheckConfigurationMode()) { if (generation.isDirectory()) { content = new File(content, "META-INF/MANIFEST.MF"); //$NON-NLS-1$ } return generation.getLastModified() != secureAction.lastModified(content); } if (!content.exists()) { // the content got deleted since last time! return true; } return false; }
private boolean needsDiscarding(Generation generation) { for (StorageHook<?, ?> hook : generation.getStorageHooks()) { try { hook.validate(); } catch (IllegalStateException e) { // TODO Logging? return true; } } File content = generation.getContent(); if (!content.exists()) { // the content got deleted since last time! return true; } if (getConfiguration().inCheckConfigurationMode()) { if (generation.isDirectory()) content = new File(content, "META-INF/MANIFEST.MF"); //$NON-NLS-1$ return generation.getLastModified() != secureAction.lastModified(content); } return false; }
private boolean needsDiscarding(Generation generation) { for (StorageHook<?, ?> hook : generation.getStorageHooks()) { try { hook.validate(); } catch (IllegalStateException e) { // TODO Logging? return true; } } File content = generation.getContent(); if (!content.exists()) { // the content got deleted since last time! return true; } if (getConfiguration().inCheckConfigurationMode()) { if (generation.isDirectory()) content = new File(content, "META-INF/MANIFEST.MF"); //$NON-NLS-1$ return generation.getLastModified() != secureAction.lastModified(content); } return false; }