Loading Core/core/src/main/java/org/codeling/interprofile/internal/LanguageMatcher.java +1 −1 Original line number Diff line number Diff line Loading @@ -138,7 +138,7 @@ public class LanguageMatcher { public int compare(URI o1, URI o2) { // Shortens from http://abc.de/.../1.0 to http://abc.de/... String shortenedO1 = o1.toString().substring(0, o1.toString().lastIndexOf("/")); String shortenedO2 = o2.toString().substring(0, o1.toString().lastIndexOf("/")); String shortenedO2 = o2.toString().substring(0, o2.toString().lastIndexOf("/")); if(shortenedO1.contains(shortenedO2)) return 1; Loading Loading
Core/core/src/main/java/org/codeling/interprofile/internal/LanguageMatcher.java +1 −1 Original line number Diff line number Diff line Loading @@ -138,7 +138,7 @@ public class LanguageMatcher { public int compare(URI o1, URI o2) { // Shortens from http://abc.de/.../1.0 to http://abc.de/... String shortenedO1 = o1.toString().substring(0, o1.toString().lastIndexOf("/")); String shortenedO2 = o2.toString().substring(0, o1.toString().lastIndexOf("/")); String shortenedO2 = o2.toString().substring(0, o2.toString().lastIndexOf("/")); if(shortenedO1.contains(shortenedO2)) return 1; Loading