Exemplo n.º 1
0
 @Override
 protected String computeKey() {
   Fingerprint f = new Fingerprint();
   f.addString(GUID);
   f.addInt(filesetTree ? 1 : 0);
   return f.hexDigestAndReset();
 }
 @Override
 protected String computeKey() {
   Fingerprint f = new Fingerprint();
   f.addString(GUID);
   f.addString(String.valueOf(makeExecutable));
   f.addString(template.getKey());
   f.addInt(substitutions.size());
   for (Substitution entry : substitutions) {
     f.addString(entry.getKey());
     f.addString(entry.getValue());
   }
   return f.hexDigestAndReset();
 }