From: Sweidan Omar Date: Fri, 10 Dec 2021 10:10:52 +0000 (+0000) Subject: git-tfs-id: [http://tfs.userrendszerhaz.hu:8080/tfs/DefaultCollection]$/MediaCube... X-Git-Url: http://git.useribm.hu/?a=commitdiff_plain;h=24c9297d9feb4e71d4ba49f77b7c95746b7d11c8;p=mediacube.git git-tfs-id: [tfs.userrendszerhaz.hu:8080/tfs/DefaultCollection]$/MediaCube;C32541 --- diff --git a/server/user.jobengine.osgi.commons/src/user/commons/Job.java b/server/user.jobengine.osgi.commons/src/user/commons/Job.java index 49200ffe..8e4c3885 100644 --- a/server/user.jobengine.osgi.commons/src/user/commons/Job.java +++ b/server/user.jobengine.osgi.commons/src/user/commons/Job.java @@ -29,16 +29,11 @@ public class Job extends Syncable implements IJob, Comparable { } /* - @Override - public int compareTo(IJob other) { - int res = 0; - // if (other.getPriority2() != priority2) - // res = (priority2 < other.getPriority2() ? 1 : -1); - // else - // res = (priority1 < other.getPriority1() ? -1 : 1); - return res; - } - */ + * @Override public int compareTo(IJob other) { int res = 0; // if + * (other.getPriority2() != priority2) // res = (priority2 < + * other.getPriority2() ? 1 : -1); // else // res = (priority1 < + * other.getPriority1() ? -1 : 1); return res; } + */ /** * 1. szempont prioritas 2. szempont azonos prioritasnal a rogzites datuma */