-/*\r
- * Copyright (C) 2016 Roland Haeder\r
- *\r
- * This program is free software: you can redistribute it and/or modify\r
- * it under the terms of the GNU General Public License as published by\r
- * the Free Software Foundation, either version 3 of the License, or\r
- * (at your option) any later version.\r
- *\r
- * This program is distributed in the hope that it will be useful,\r
- * but WITHOUT ANY WARRANTY; without even the implied warranty of\r
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the\r
- * GNU General Public License for more details.\r
- *\r
- * You should have received a copy of the GNU General Public License\r
- * along with this program. If not, see <http://www.gnu.org/licenses/>.\r
- */\r
-package org.mxchange.jusercore.model.user.activity.comparator;\r
-\r
-import java.util.Comparator;\r
-import org.mxchange.jusercore.model.user.activity.LogableUserActivity;\r
-\r
-/**\r
- * A comparator for comparing timestamps in user activity log\r
- * <p>\r
- * @author Roland Haeder<roland@mxchange.org>\r
- */\r
-public class UserActivityLogTimestampComparator implements Comparator<LogableUserActivity> {\r
-\r
- @Override\r
- public int compare (final LogableUserActivity userActivity1, final LogableUserActivity userActivity2) {\r
- return (userActivity1.getActivityTimestamp().getTime().getTime() < userActivity2.getActivityTimestamp().getTime().getTime() ? -1 : userActivity1.getActivityTimestamp().getTime().getTime() == userActivity2.getActivityTimestamp().getTime().getTime() ? 0 : 1);\r
- }\r
-\r
-}\r
+/*
+ * Copyright (C) 2016 Roland Häder
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ */
+package org.mxchange.jusercore.model.user.activity.comparator;
+
+import java.util.Comparator;
+import org.mxchange.jusercore.model.user.activity.LogableUserActivity;
+
+/**
+ * A comparator for comparing timestamps in user activity log
+ * <p>
+ * @author Roland Häder<roland@mxchange.org>
+ */
+public class UserActivityLogTimestampComparator implements Comparator<LogableUserActivity> {
+
+ @Override
+ public int compare (final LogableUserActivity userActivity1, final LogableUserActivity userActivity2) {
+ return (userActivity1.getActivityTimestamp().getTime().getTime() < userActivity2.getActivityTimestamp().getTime().getTime() ? -1 : userActivity1.getActivityTimestamp().getTime().getTime() == userActivity2.getActivityTimestamp().getTime().getTime() ? 0 : 1);
+ }
+
+}