Package com.moesol.geoserver.sync.json

Examples of com.moesol.geoserver.sync.json.Sha1SyncPositionHash.summary()


        continue;
      }
     
      // prefix is same on both do hashes match?
      String position = localHashPos.position();
      if (localHashPos.summary().equals(remoteHashPos.summary())) {
        matchAtPosition(position);
      } else {
        differentAtPosition(position, localHashPos, remoteHashPos);
      }
 
View Full Code Here


    Sha1SyncPositionHash remoteGroup = remoteSha1Sync.hashes().get(idx);
    if (!prefixSha1.toString().startsWith(remoteGroup.position())) {
      return LITERAL_FALSE; // Missing position means remote side thinks position is synchronized.
    }
    Sha1Value sha1OfSha1 = m_featureSha1Evaluator.sha1OfSha1(valueSha1);
    if (sha1OfSha1.toString().equals(remoteGroup.summary())) {
      return LITERAL_FALSE; // Exact match, filter
    }
    return LITERAL_TRUE;
  }
 
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.