Exemple #1
0
 @Override
 public boolean equals(Object obj) {
   if (obj instanceof InputSummary) {
     InputSummary other = (InputSummary) obj;
     return bindingProperties.equals(other.bindingProperties)
         && moduleLastModified == other.moduleLastModified
         && resourcesLastModified == other.resourcesLastModified
         && filenameHash == other.filenameHash;
   }
   return false;
 }
Exemple #2
0
 InputSummary(Map<String, String> bindingProperties, ModuleDef module) {
   this.bindingProperties = ImmutableMap.copyOf(bindingProperties);
   this.moduleLastModified = module.lastModified();
   this.resourcesLastModified = module.getResourceLastModified();
   this.filenameHash = module.getInputFilenameHash();
 }