LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File jide-oss-name-clash.patch of Package jide-oss (Project home:syntron:MediathekView)

diff -r 94cb46e12d6a jide-oss/src/com/jidesoft/swing/CheckBoxListWithSelectable.java
--- a/jide-oss/src/com/jidesoft/swing/CheckBoxListWithSelectable.java	Wed Feb 22 08:55:33 2012 +0100
+++ b/jide-oss/src/com/jidesoft/swing/CheckBoxListWithSelectable.java	Wed Feb 22 11:20:38 2012 +0100
@@ -441,7 +441,7 @@
     }
 
     @Override
-    public void setListData(Vector<?> listData) {
+    public void setListData(Vector listData) {
         super.setListData(wrap(listData));
     }
 
diff -r 94cb46e12d6a jide-oss/src/com/jidesoft/utils/DateUtils.java
--- a/jide-oss/src/com/jidesoft/utils/DateUtils.java	Wed Feb 22 08:55:33 2012 +0100
+++ b/jide-oss/src/com/jidesoft/utils/DateUtils.java	Wed Feb 22 11:20:38 2012 +0100
@@ -244,13 +244,20 @@
         return calendar;
     }
 
+
+    /*
+     * It looks like both variants of both max and min functions are completely
+     * unused in whole project
+     */
+
+    
     /**
      * Returns the minimum Date in the Date list.
      *
      * @param dates the list of Date to calculate the minimum.
      * @return the minimum date in the Date list.
      */
-    public static Date min(List<Date> dates) {
+    public static Date minX(List<Date> dates) {
         long min = Long.MAX_VALUE;
         Date minDate = null;
         for (Date value : dates) {
@@ -269,7 +276,7 @@
      * @param dates the list of Date to calculate the maximum.
      * @return the maximum date in the Date list.
      */
-    public static Date max(List<Date> dates) {
+    public static Date maxX(List<Date> dates) {
         long max = Long.MIN_VALUE;
         Date maxDate = null;
         for (Date value : dates) {
@@ -288,7 +295,7 @@
      * @param calendars the list of Calendar to calculate the minimum.
      * @return the minimum calendar in the Calendar list.
      */
-    public static Calendar min(List<Calendar> calendars) {
+    public static Calendar minY(List<Calendar> calendars) {
         long min = Long.MAX_VALUE;
         Calendar minCalendar = null;
         for (Calendar value : calendars) {
@@ -307,7 +314,7 @@
      * @param calendars the list of Calendar to calculate the maximum.
      * @return the maximum calendar in the Calendar list.
      */
-    public static Calendar max(List<Calendar> calendars) {
+    public static Calendar maxY(List<Calendar> calendars) {
         long max = Long.MIN_VALUE;
         Calendar maxCalendar = null;
         for (Calendar value : calendars) {