Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRyan D. Brooks2014-01-03 18:08:45 -0500
committerRyan D. Brooks2014-01-03 18:08:45 -0500
commitcbd7e7c031f43d3492c1bac94bdda4ac41eee460 (patch)
treed2e9ae82783c432486321271409590804580d1bb /plugins/org.eclipse.osee.framework.jdk.core
parent7d6c70ad8e0e30d6b0b9245ecd0492e45153898f (diff)
downloadorg.eclipse.osee-cbd7e7c031f43d3492c1bac94bdda4ac41eee460.tar.gz
org.eclipse.osee-cbd7e7c031f43d3492c1bac94bdda4ac41eee460.tar.xz
org.eclipse.osee-cbd7e7c031f43d3492c1bac94bdda4ac41eee460.zip
feature[ats_D1JRC]: Create SRS traceability report
Change-Id: I391b9025c0d58f80e509b205df283f139ff7e5d0 Conflicts: plugins/org.eclipse.osee.define.report/src/org/eclipse/osee/define/report/OseeDefineResourceTokens.java
Diffstat (limited to 'plugins/org.eclipse.osee.framework.jdk.core')
-rw-r--r--plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/type/CaseInsensitiveString.java7
1 files changed, 6 insertions, 1 deletions
diff --git a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/type/CaseInsensitiveString.java b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/type/CaseInsensitiveString.java
index b63c62979a..400da4e76c 100644
--- a/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/type/CaseInsensitiveString.java
+++ b/plugins/org.eclipse.osee.framework.jdk.core/src/org/eclipse/osee/framework/jdk/core/type/CaseInsensitiveString.java
@@ -13,7 +13,7 @@ package org.eclipse.osee.framework.jdk.core.type;
/**
* @author Ryan D. Brooks
*/
-public class CaseInsensitiveString implements CharSequence {
+public class CaseInsensitiveString implements CharSequence, Comparable<CaseInsensitiveString> {
private final String originalString;
private final String upperCaseString;
@@ -61,4 +61,9 @@ public class CaseInsensitiveString implements CharSequence {
public CharSequence subSequence(int beginIndex, int endIndex) {
return originalString.subSequence(beginIndex, endIndex);
}
+
+ @Override
+ public int compareTo(CaseInsensitiveString other) {
+ return this.originalString.compareTo(other.originalString);
+ }
} \ No newline at end of file

Back to the top