[zanata/zanata] 773bd4: Change implementation of ETag generation.

GitHub noreply at github.com
Mon Feb 18 06:37:23 UTC 2013


  Branch: refs/heads/integration/master
  Home:   https://github.com/zanata/zanata
  Commit: 773bd42496ff46d10ed1168864dc2feba4627f3a
      https://github.com/zanata/zanata/commit/773bd42496ff46d10ed1168864dc2feba4627f3a
  Author: Carlos Munoz <camunoz at redhat.com>
  Date:   2013-02-17 (Sun, 17 Feb 2013)

  Changed paths:
    M zanata-war/src/main/java/org/zanata/dao/DocumentDAO.java
    M zanata-war/src/main/java/org/zanata/rest/service/ETagUtils.java
    M zanata-war/src/main/java/org/zanata/rest/service/TranslatedDocResourceService.java

  Log Message:
  -----------
  Change implementation of ETag generation.

Use HQL queries for generation.
Also fix small bug when calculating the last translator for a document.


  Commit: 0e736d2c8c79a475c156052f9f15955c38b8841d
      https://github.com/zanata/zanata/commit/0e736d2c8c79a475c156052f9f15955c38b8841d
  Author: Carlos Munoz <camunoz at redhat.com>
  Date:   2013-02-17 (Sun, 17 Feb 2013)

  Changed paths:
    M zanata-war/src/main/java/org/zanata/dao/DocumentDAO.java
    M zanata-war/src/main/java/org/zanata/rest/service/ETagUtils.java

  Log Message:
  -----------
  Switch hashable state method to use a StringBuffer instead of List<String>


  Commit: 2b97467e5f91e68696a2248452a8247ce959c968
      https://github.com/zanata/zanata/commit/2b97467e5f91e68696a2248452a8247ce959c968
  Author: Carlos Munoz <camunoz at redhat.com>
  Date:   2013-02-17 (Sun, 17 Feb 2013)

  Changed paths:
    M zanata-war/src/main/java/org/zanata/dao/DocumentDAO.java
    M zanata-war/src/main/java/org/zanata/rest/service/ETagUtils.java
    A zanata-war/src/test/java/org/zanata/dao/DocumentDAOTest.java

  Log Message:
  -----------
  Change translated document hash method implementation to use a single native SQL query.

Add tests for hash method.


Compare: https://github.com/zanata/zanata/compare/c4e6962219de...2b97467e5f91


More information about the zanata-commits mailing list