Scarab commit: svn commit: r11351 - branches/scarab_11079_legacy_with_ant_maven1/src/java/org/tigris/scarab/om/AttributeOption.java
[email protected] Thu, 8 Jan 2015 17:02:01 -0800 (PST)
| Newsgroups | gmane.comp.java.scarab.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: dabbous
Date: 2015-01-08 17:02:01-0800
New Revision: 11351
Modified:
branches/scarab_11079_legacy_with_ant_maven1/src/java/org/tigris/scarab/om/AttributeOption.java
Log:
Cleaned up comments
Modified: branches/scarab_11079_legacy_with_ant_maven1/src/java/org/tigris/scarab/om/AttributeOption.java
Url: http://scarab.tigris.org/source/browse/scarab/branches/scarab_11079_legacy_with_ant_maven1/src/java/org/tigris/scarab/om/AttributeOption.java?view=diff&pathrev=11351&r1=11350&r2=11351
==============================================================================
--- branches/scarab_11079_legacy_with_ant_maven1/src/java/org/tigris/scarab/om/AttributeOption.java (original)
+++ branches/scarab_11079_legacy_with_ant_maven1/src/java/org/tigris/scarab/om/AttributeOption.java 2015-01-08 17:02:01-0800
@@ -100,21 +100,9 @@
{
public int compare(Object obj1, Object obj2)
{
- //int result = 1;
- //AttributeOption opt1 = (AttributeOption)obj1;
- //AttributeOption opt2 = (AttributeOption)obj2;
String name1 = ((AttributeOption)obj1).getName();
String name2 = ((AttributeOption)obj2).getName();
return name1.compareTo(name2);
- //if (opt1.getName().equals(opt2.getName()))
- //{
- // result = 0;
- //}
- //else
- //{
- // result = -1;
- //}
- //return result;
}
};
------------------------------------------------------
http://scarab.tigris.org/ds/viewMessage.do?dsForumId=3577&dsMessageId=3093910