X-Git-Url: http://git.argeo.org/?a=blobdiff_plain;f=runtime%2Forg.argeo.slc.support.jcr%2Fsrc%2Fmain%2Fjava%2Forg%2Fargeo%2Fslc%2Fjcr%2Fdao%2FTreeTestResultDaoJcr.java;h=154c3c7bc96bf224ffdebe26e933add58eff3e5c;hb=2541d68abde22de8b5e1001d6291a1afb2bbcc09;hp=91e3496d35867d451f9a8ae35910f650f620bc23;hpb=1fdb1b4e7b1d2b0cabb6483238301b857a6392fa;p=gpl%2Fargeo-slc.git diff --git a/runtime/org.argeo.slc.support.jcr/src/main/java/org/argeo/slc/jcr/dao/TreeTestResultDaoJcr.java b/runtime/org.argeo.slc.support.jcr/src/main/java/org/argeo/slc/jcr/dao/TreeTestResultDaoJcr.java index 91e3496d3..154c3c7bc 100644 --- a/runtime/org.argeo.slc.support.jcr/src/main/java/org/argeo/slc/jcr/dao/TreeTestResultDaoJcr.java +++ b/runtime/org.argeo.slc.support.jcr/src/main/java/org/argeo/slc/jcr/dao/TreeTestResultDaoJcr.java @@ -1,5 +1,5 @@ /* - * Copyright (C) 2010 Mathieu Baudier + * Copyright (C) 2007-2012 Mathieu Baudier * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -13,7 +13,6 @@ * See the License for the specific language governing permissions and * limitations under the License. */ - package org.argeo.slc.jcr.dao; import java.util.ArrayList; @@ -22,6 +21,7 @@ import java.util.Date; import java.util.GregorianCalendar; import java.util.List; import java.util.Map; +import java.util.SortedMap; import javax.jcr.Node; import javax.jcr.NodeIterator; @@ -326,7 +326,7 @@ public class TreeTestResultDaoJcr extends AbstractSlcJcrDao implements } public synchronized void updateAttributes(final String testResultId, - final Map attributes) { + final SortedMap attributes) { try { String queryString = "//testresult[@uuid='" + testResultId + "']"; Query query = createQuery(queryString, Query.XPATH);