Author: tdraier
Date: Fri Sep 21 11:32:44 2007
New Revision: 18607
URL: https://svndev.jahia.net/websvn/listing.php?sc=3D1&rev=3D18607&repname=
=3Djahia
Log:
fixed issue with patches that share the same name ( port 18523 18524 )
Modified:
trunk/core/src/java/org/jahia/version/Patch.java
Modified: trunk/core/src/java/org/jahia/version/Patch.java
URL: https://svndev.jahia.net/websvn/diff.php?path=3D/trunk/core/src/java/o=
rg/jahia/version/Patch.java&rev=3D18607&repname=3Djahia
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- trunk/core/src/java/org/jahia/version/Patch.java (original)
+++ trunk/core/src/java/org/jahia/version/Patch.java Fri Sep 21 11:32:44 20=
07
@@ -49,7 +49,7 @@
Patch other =3D (Patch)o;
int diff =3D getNumber() - other.getNumber();
if (diff =3D=3D 0) {
- diff =3D getName().compareTo(other.getName());
+ diff =3D file.compareTo(other.getFile());
}
return diff;
}
_______________________________________________
cvs_list mailing list
[email protected]
http://lists.jahia.org/cgi-bin/mailman/listinfo/cvs_list